summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/mk-images.ia6417
-rw-r--r--scripts/mk-images.x86_6410
2 files changed, 27 insertions, 0 deletions
diff --git a/scripts/mk-images.ia64 b/scripts/mk-images.ia64
index f84948860..319c3c888 100644
--- a/scripts/mk-images.ia64
+++ b/scripts/mk-images.ia64
@@ -51,7 +51,24 @@ makeBootImages() {
cp -l $TOPDESTPATH/images/boot.img $TOPDESTPATH/images/isopath
mkisofs -quiet -o $TOPDESTPATH/images/boot.iso -b boot.img -no-emul-boot -R -J -V "$PRODUCT" -T $TOPDESTPATH/images/isopath
rm -rf $TOPDESTPATH/images/isopath
+
+ # now make a pxe dir with kernel + initrd
+ mkdir -p $TOPDESTPATH/images/pxeboot
+ ln $TOPDESTPATH/images/ramdisk.img $TOPDESTPATH/images/pxeboot/initrd.img
+ ln $TOPDESTPATH/kernels/vmlinuz $TOPDESTPATH/images/pxeboot/vmlinuz
+ cat > $TOPDESTPATH/images/pxeboot/README <<EOF
+The files in this directory are useful for booting a machine via PXE.
+
+The following files are available:
+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
+ fi
+
+ # clean up
rm -f $TOPDESTPATH/images/ramdisk.img
+ rm -rf $TOPDESTPATH/kernels
}
makeSecondStage() {
diff --git a/scripts/mk-images.x86_64 b/scripts/mk-images.x86_64
index 61316c061..a92869a70 100644
--- a/scripts/mk-images.x86_64
+++ b/scripts/mk-images.x86_64
@@ -141,6 +141,16 @@ makeBootImages() {
mv $TOPDESTPATH/images/fobpath/isolinux.cfg $TOPDESTPATH/images/fobpath/syslinux.cfg
umount -f $TOPDESTPATH/images/fobpath
rmdir $TOPDESTPATH/images/fobpath
+
+ cat > $TOPDESTPATH/images/pxeboot/README <<EOF
+The files in this directory are useful for booting a machine via PXE.
+
+The following files are available:
+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
+ fi
}
makeSecondStage() {