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

[Xen-users] customize xen kernel with rpmbuild


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-
+ install -d 
+ cp dist/install/boot/config- 
+ cp dist/install/boot/System.map- 
+ cp dist/install/boot/vmlinux-syms- 
+ cp dist/install/boot/vmlinuz- 
+ cp -a dist/install/lib/modules/ 
+ ln -s vmlinuz- 
+ rm 
+ ln -s /usr/src/linux- 
+ mkdir -p 
+ chmod -R a+r buildconfigs config Config.mk COPYING dist docs extras 
install.sh linux- linux-2.6-xen-sparse Makefile 
patches pristine-linux- README ref-linux- tools 
unmodified_drivers xen
+ /usr/bin/make linux-2.6-
/usr/bin/make -f buildconfigs/mk.linux-2.6- clean
make[1]: Entering directory 
make[1]: buildconfigs/mk.linux-2.6- Aucun fichier 
ou répertoire de ce type
make[1]: *** Pas de règle pour fabriquer la cible « 
buildconfigs/mk.linux-2.6- ». Arrêt.
make[1]: Leaving directory 
make: *** [linux-2.6-] 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?



Powered by Outblaze

Xen-users mailing list



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