summaryrefslogtreecommitdiffstats
path: root/scripts/mk-images.ia64
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2007-02-20 23:07:20 +0000
committerChris Lumens <clumens@redhat.com>2007-02-20 23:07:20 +0000
commitc7b7cf3392bab5eb32a515bc7d05c46a06667e62 (patch)
tree780332aee82db1d888ab3ed43f417f49ff3a39b2 /scripts/mk-images.ia64
parent6b6d7150f84cd17f21f949275fd3f1398eae34c6 (diff)
downloadanaconda-c7b7cf3392bab5eb32a515bc7d05c46a06667e62.tar.gz
anaconda-c7b7cf3392bab5eb32a515bc7d05c46a06667e62.tar.xz
anaconda-c7b7cf3392bab5eb32a515bc7d05c46a06667e62.zip
Generate .treeinfo files in the mk-images* scripts.
Diffstat (limited to 'scripts/mk-images.ia64')
-rw-r--r--scripts/mk-images.ia6414
1 files changed, 14 insertions, 0 deletions
diff --git a/scripts/mk-images.ia64 b/scripts/mk-images.ia64
index 0705e3f6b..d8d877361 100644
--- a/scripts/mk-images.ia64
+++ b/scripts/mk-images.ia64
@@ -142,6 +142,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
+ cat << __EOT__ >> $TOPDESTPATH/.treeinfo
+[images-$KERNELARCH]
+kernel = images/pxeboot/vmlinuz
+initrd = images/pxeboot/initrd.img
+boot.iso = images/boot.iso
+boot.img = images/boot.img
+
+__EOT__
else # set up the boot stuff for the xen guest kernel
echo "Building $KERNELARCH guest initrd.img"
@@ -152,5 +160,11 @@ EOF
--modules "$INITRDMODS"
[ $? = 0 ] || exit 1
cp $KERNELROOT/boot/efi/EFI/redhat/vmlinuz-*xen* $TOPDESTPATH/images/xen/vmlinuz
+ cat << __EOT__ >> $TOPDESTPATH/.treeinfo
+[images-$KERNELARCH]
+kernel = images/xen/vmlinuz
+initrd = images/xen/initrd.img
+
+__EOT__
fi
}