On Mon, Jun 01, 2009 at 02:45:12PM +0800, tyan wrote:
Hi,
Anybody ever setup cimtest on RHEL5Server ia64 system? I met with make
issue. Think the file cimtest/suites/libvirt-cim/images/Makefile should
be updated for ia64 system.
# cd path_to_cimtest/suites/libvirt-cim/images/
# make
if uname -r | grep -q xen; then \
cp /boot/vmlinuz-`uname -r` /tmp/default-xen-kernel; \
fi
cp: cannot stat `/boot/vmlinuz-2.6.18-92.1.26.el5xen': No such file or
directory
make: *** [/tmp/default-xen-kernel] Error 1
$ rpm -qilp kernel-xen-2.6.18-92.1.26.el5.ia64.rpm | grep vmlinuz-2.6.18-92.1.26.el5xen
/boot/efi/EFI/redhat/vmlinuz-2.6.18-92.1.26.el5xen
On itanium the kernel seems to be installed in a subdir, the simplest
might be to copy it by hand.
Maybe the Makefile could be fixed along the lines of
find /boot -name vmlinuz-`uname -r` -exec cp {} /tmp/default-xen-kernel \;
also in general the test suite makes an excessive use of /tmp in my
opinion, using /var/tmp/cimtest or something similar would be ay nicer
it would also avoid the regular cleanup of /tmp from wiping out the
data installed for the previous runs.
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit
http://xmlsoft.org/
daniel(a)veillard.com | Rpmfind RPM search engine
http://rpmfind.net/
http://veillard.com/ | virtualization library
http://libvirt.org/