diff options
| author | Jeremy Katz <katzj@redhat.com> | 2004-09-21 21:11:16 +0000 |
|---|---|---|
| committer | Jeremy Katz <katzj@redhat.com> | 2004-09-21 21:11:16 +0000 |
| commit | fa9a1fb3ff22ff56faa042837582433162fe9cd5 (patch) | |
| tree | 61f9f741ee9cfe81c915132ec8f741cafd38dc7a /scripts | |
| parent | fbaa751ad5948032a1e62f2b0fa87fbde47a9f8f (diff) | |
2004-09-21 Jeremy Katz <katzj@redhat.com>
* scripts/mk-images.x86_64: Add a README in the images/pxeboot dir.
* scripts/mk-images.ia64: Create an images/pxeboot directory with
the kernel + initrd used in the boot.img.
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/mk-images.ia64 | 17 | ||||
| -rw-r--r-- | scripts/mk-images.x86_64 | 10 |
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() { |
