Hi all
the patch is trying to solve the problem:
when there is .vmlinuz-*.hmac under /boot,
cimtest/suites/libvirt-cim/images/xmt-makefv.sh won't work.
[root@dhcp-66-70-159 ~]# ls -a /boot/ | grep vmlinuz
vmlinuz-2.6.18-183.el5
.vmlinuz-2.6.18-183.el5.hmac
vmlinuz-2.6.18-183.el5xen
.vmlinuz-2.6.18-183.el5xen.hmac
[root@dhcp-66-70-159 images]# make
mkdir -p xm-test
(cd xm-test && wget
http://xm-test.xensource.com/ramdisks/initrd-1.1-i386.img)
--2010-01-14 08:33:15--
http://xm-test.xensource.com/ramdisks/initrd-1.1-i386.img
Resolving xm-test.xensource.com... 70.42.241.107
Connecting to xm-test.xensource.com|70.42.241.107|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3645440 (3.5M) [text/plain]
Saving to: `initrd-1.1-i386.img'
100%[=====================================>] 3,645,440 7.76K/s in 7m
22s
2010-01-14 08:40:39 (8.05 KB/s) - `initrd-1.1-i386.img' saved
[3645440/3645440]
chmod +x xmt-convert.sh
(cd xm-test && sh ../xmt-convert.sh `basename xm-test/initrd-1.1-i386.img`)
1856 blocks
if uname -r | grep -q xen; then \
cp /boot/vmlinuz-`uname -r`
/var/lib/libvirt/images/default-xen-kernel; \
fi
chmod +x xmt-makefv.sh
./xmt-makefv.sh xm-test/xm-test.gz xm-test/xmt_disk.img
FAILED:
make: *** [xm-test/xmt_disk.img] Error 1
hope it helps. :-)
Thanks and Regards
osier