From c7b7cf3392bab5eb32a515bc7d05c46a06667e62 Mon Sep 17 00:00:00 2001 From: Chris Lumens Date: Tue, 20 Feb 2007 23:07:20 +0000 Subject: Generate .treeinfo files in the mk-images* scripts. --- scripts/mk-images.ia64 | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'scripts/mk-images.ia64') 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 } -- cgit