summaryrefslogtreecommitdiffstats
path: root/scripts/mk-images.i386
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/mk-images.i386')
-rw-r--r--scripts/mk-images.i38617
1 files changed, 17 insertions, 0 deletions
diff --git a/scripts/mk-images.i386 b/scripts/mk-images.i386
index 5e66a4de3..c1229ddeb 100644
--- a/scripts/mk-images.i386
+++ b/scripts/mk-images.i386
@@ -180,8 +180,25 @@ makebootdisk --kernelto $TOPDESTPATH/dosutils/autoboot/vmlinuz \
--imagename ../dosutils/autoboot/cdboot.img \
--initrd $TOPDESTPATH/dosutils/autoboot/initrd.img
+makeinitrd --initrdto $TOPDESTPATH/images/pxeboot/initrd-everything.img \
+ --pcmcia \
+ --initrdsize 4000 \
+ --loaderbin loader-pcmcia \
+ --modules "$LOCALMODULES $NETWORKMODULES $PCMCIAMAINMODULES $PCMCIAMODULES =scsi =net"
+
makemainmodules "=scsi =net $SECSTAGE"
makeinstimage "netstg" "=scsi $SECSTAGE"
makeinstimage "hdstg" "=net $SECSTAGE"
makemainimage "stage2" "cramfs"
+
+
+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 BOOT kernel used for the installer
+initrd.img - the regular network initrd used by the bootnet images
+initrd-everything.img - an initrd with support for all install methods and
+ drivers supported for installation of Red Hat Linux
+EOF