summaryrefslogtreecommitdiffstats
path: root/scripts/mk-images.x86
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/mk-images.x86')
-rw-r--r--scripts/mk-images.x8614
1 files changed, 14 insertions, 0 deletions
diff --git a/scripts/mk-images.x86 b/scripts/mk-images.x86
index 6c2935fe2..03484509e 100644
--- a/scripts/mk-images.x86
+++ b/scripts/mk-images.x86
@@ -128,6 +128,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
+diskboot.img = images/diskboot.img
+
+__EOT__
else # set up the boot stuff for the xen guest kernel
echo "Building $KERNELARCH guest initrd.img"
mkdir -p $TOPDESTPATH/images/xen
@@ -137,5 +145,11 @@ EOF
--modules "$INITRDMODS"
[ $? = 0 ] || exit 1
cp $KERNELROOT/boot/vmlinuz-*xen* $TOPDESTPATH/images/xen/vmlinuz
+ cat << __EOT__ >> $TOPDESTPATH/.treeinfo
+[images-xen]
+kernel = images/xen/vmlinuz
+initrd = images/xen/initrd.img
+
+__EOT__
fi
}