[xen-tools] setup-kernel-initrd

From: Giuseppe Iuculano <giuseppe_at_iuculano.it>
Date: Wed, 25 Jul 2007 12:30:28 +0200
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

there is a little problem to setup-kernel-initrd scripts.

line 22:

kernel=` ls -1 /boot | grep ^vm  |grep -v syms| grep xen | head -n 1`


In my debian 4.0 box this command give me the old kernel:

elektra:~# ls -1 /boot | grep ^vm  |grep -v syms| grep xen | head -n 1
vmlinuz-2.6.18-3-xen-686


A workaround is:

# ls -1 /boot | grep ^vm  |grep -v syms| grep xen |sort -r | head -n 1
vmlinuz-2.6.18-4-xen-686


Same problem with initrd, I fixed it with:

elektra:/usr/share/doc/xen-tools/examples# ls -1 /boot | grep ^init |
grep xen | sort -r | head -n 1
initrd.img-2.6.18-4-xen-686.bak




Giuseppe.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD4DBQFGpyZENxpp46476aoRArFnAJ9LxkjT6iLbsF0V+AWSEavfnjbiggCY3XSC
5REX3WvV7HCJY8L3GhOCDQ==
=mPnJ
-----END PGP SIGNATURE-----
Received on Wed Jul 25 2007 - 11:33:49 BST

Mailing list overview.