summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2006-02-13 20:21:00 +0000
committerJeremy Katz <katzj@redhat.com>2006-02-13 20:21:00 +0000
commit46c6987bc2fecfe80efd157a41636d70ab5900fa (patch)
tree9c1dbbda55ffbbe7f589080c282e70f0ab740e02 /scripts
parent424de2251c40f6f16a58ecd860529ed0b19858da (diff)
downloadanaconda-46c6987bc2fecfe80efd157a41636d70ab5900fa.tar.gz
anaconda-46c6987bc2fecfe80efd157a41636d70ab5900fa.tar.xz
anaconda-46c6987bc2fecfe80efd157a41636d70ab5900fa.zip
2006-02-13 Jeremy Katz <katzj@redhat.com>
* anaconda.spec: Bump version. * scripts/mk-images.x86_64 (SYSLINUX): More x86_64 xen kernel fixes
Diffstat (limited to 'scripts')
-rw-r--r--scripts/mk-images.x86_6413
1 files changed, 12 insertions, 1 deletions
diff --git a/scripts/mk-images.x86_64 b/scripts/mk-images.x86_64
index 194244925..fa69476ff 100644
--- a/scripts/mk-images.x86_64
+++ b/scripts/mk-images.x86_64
@@ -55,7 +55,8 @@ be written to the device using dd.
EOF
makeBootImages() {
- echo "Building initrd-everything.img"
+ if [ "$kerneltag" != "guest" ]; then
+ echo "Building initrd.img"
makeinitrd --initrdto $TOPDESTPATH/images/pxeboot/initrd.img \
--initrdsize 8192 \
--loaderbin loader \
@@ -112,4 +113,14 @@ vmlinuz - the kernel used for the installer
initrd.img - an initrd with support for all install methods and
drivers supported for installation of $PRODUCT
EOF
+ else # set up the boot stuff for the xen guest kernel
+ echo "Building $KERNELARCH guest initrd.img"
+ mkdir -p $TOPDESTPATH/images/xen
+ makeinitrd --initrdto $TOPDESTPATH/images/xen/initrd.img \
+ --initrdsize 8192 \
+ --loaderbin loader \
+ --modules "$INITRDMODS"
+ [ $? = 0 ] || exit 1
+ cp $KERNELROOT/boot/vmlinuz-* $TOPDESTPATH/images/xen/vmlinuz
+ fi
}