WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] customize xen kernel with rpmbuild

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] customize xen kernel with rpmbuild
From: "lestat thor" <lestathor@xxxxxxxxxxxxx>
Date: Wed, 18 Apr 2007 17:07:38 +0100
Delivery-date: Wed, 18 Apr 2007 09:06:30 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] customize xen kernel with rpmbuild, lestat thor <=