[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] customize xen kernel with rpmbuild



Hello

I try to customize the name of my kernel.
I use the rpm source on the download page for the RHEL4.4 and I would like to 
differenciate the domO and the domU.
cd /usr/src/redhat
rpmbuild -ba SPEC/myspec.spec

In the spec file I tested to change '%define kernelvariant   xen' to '%define 
kernelvariant   xenHAHAHA'
or other variables with no success

At the end of compilation, I have this error :

+ install -d /var/tmp/xen-3.0.4.1-3.0.4.1-0603ab5b0ede.bb101e77d4a3-root/boot
+ install -d 
/var/tmp/xen-3.0.4.1-3.0.4.1-0603ab5b0ede.bb101e77d4a3-root/lib/modules
+ cp dist/install/boot/config-2.6.16.33-xenHAHAHA_3.0.4.1 
/var/tmp/xen-3.0.4.1-3.0.4.1-0603ab5b0ede.bb101e77d4a3-root/boot/
+ cp dist/install/boot/System.map-2.6.16.33-xenHAHAHA_3.0.4.1 
/var/tmp/xen-3.0.4.1-3.0.4.1-0603ab5b0ede.bb101e77d4a3-root/boot/
+ cp dist/install/boot/vmlinux-syms-2.6.16.33-xenHAHAHA_3.0.4.1 
/var/tmp/xen-3.0.4.1-3.0.4.1-0603ab5b0ede.bb101e77d4a3-root/boot/
+ cp dist/install/boot/vmlinuz-2.6.16.33-xenHAHAHA_3.0.4.1 
/var/tmp/xen-3.0.4.1-3.0.4.1-0603ab5b0ede.bb101e77d4a3-root/boot/
+ cp -a dist/install/lib/modules/2.6.16.33-xenHAHAHA_3.0.4.1 
/var/tmp/xen-3.0.4.1-3.0.4.1-0603ab5b0ede.bb101e77d4a3-root/lib/modules/
+ ln -s vmlinuz-2.6.16.33-xenHAHAHA_3.0.4.1 
/var/tmp/xen-3.0.4.1-3.0.4.1-0603ab5b0ede.bb101e77d4a3-root/boot/vmlinuz-2.6-xenHAHAHA
+ rm 
/var/tmp/xen-3.0.4.1-3.0.4.1-0603ab5b0ede.bb101e77d4a3-root/lib/modules/2.6.16.33-xenHAHAHA_3.0.4.1/build
 
/var/tmp/xen-3.0.4.1-3.0.4.1-0603ab5b0ede.bb101e77d4a3-root/lib/modules/2.6.16.33-xenHAHAHA_3.0.4.1/source
+ ln -s /usr/src/linux-2.6.16.33-xenHAHAHA_3.0.4.1 
/var/tmp/xen-3.0.4.1-3.0.4.1-0603ab5b0ede.bb101e77d4a3-root/lib/modules/2.6.16.33-xenHAHAHA_3.0.4.1/source
+ mkdir -p 
/var/tmp/xen-3.0.4.1-3.0.4.1-0603ab5b0ede.bb101e77d4a3-root/usr/src/linux-2.6.16.33-xenHAHAHA_3.0.4.1
+ chmod -R a+r buildconfigs config Config.mk COPYING dist docs extras 
install.sh linux-2.6.16.33-xenHAHAHA_3.0.4.1 linux-2.6-xen-sparse Makefile 
patches pristine-linux-2.6.16.33 README ref-linux-2.6.16.33 tools 
unmodified_drivers xen
+ /usr/bin/make linux-2.6-2.6.16.33-xenHAHAHA_3.0.4.1-clean
/usr/bin/make -f buildconfigs/mk.linux-2.6-2.6.16.33-xenHAHAHA_3.0.4.1 clean
make[1]: Entering directory 
`/usr/src/redhat/BUILD/xen-3.0.4-testing-0603ab5b0ede.bb101e77d4a3'
make[1]: buildconfigs/mk.linux-2.6-2.6.16.33-xenHAHAHA_3.0.4.1: Aucun fichier 
ou répertoire de ce type
make[1]: *** Pas de règle pour fabriquer la cible « 
buildconfigs/mk.linux-2.6-2.6.16.33-xenHAHAHA_3.0.4.1 ». Arrêt.
make[1]: Leaving directory 
`/usr/src/redhat/BUILD/xen-3.0.4-testing-0603ab5b0ede.bb101e77d4a3'
make: *** [linux-2.6-2.6.16.33-xenHAHAHA_3.0.4.1-clean] Erreur 2
erreur: Mauvais status de sortie pour /var/tmp/rpm-tmp.60226 (%install)

could you help me to select a name for my kernel domO and domU?

Thanks




=


-- 
Powered by Outblaze

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.