diff options
author | jhb <jhb@FreeBSD.org> | 2003-01-15 21:49:50 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2003-01-15 21:49:50 +0000 |
commit | cfb62615c5a5a33cb15fb627afa33b3242b777f0 (patch) | |
tree | 3def22cc56c199ca309e164f72992d831143d370 /release/Makefile | |
parent | 8234b5cd64bc8b2cec7f828910659662657049ea (diff) | |
download | FreeBSD-src-cfb62615c5a5a33cb15fb627afa33b3242b777f0.zip FreeBSD-src-cfb62615c5a5a33cb15fb627afa33b3242b777f0.tar.gz |
If there is a driver floppy for this arch, then add a line to the loader.rc
on the boot floppies to set the 'driver_floppy' variable in the loader so
that it ends up in the kernel environment and sysinstall will prompt for the
diskette. Booting from CD-ROM does not use this loader.rc file, so folks
booting from CD to do an install will not be prompted.
X-MFC after: as soon as I finish committing to current
Approved by: re (blanket)
Diffstat (limited to 'release/Makefile')
-rw-r--r-- | release/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/release/Makefile b/release/Makefile index 2785b79..f136d81 100644 --- a/release/Makefile +++ b/release/Makefile @@ -1095,6 +1095,8 @@ doMFSKERN: .if ${TARGET_ARCH} != "ia64" @echo "set hint.acpi.0.disabled=1" >> ${RD}/image.${FSIMAGE}/boot/loader.rc .endif + @[ -r ${RD}/floppies/drivers.flp ] && \ + echo "set driver_floppy=YES" >> ${RD}/image.${FSIMAGE}/boot/loader.rc @echo "set module_path=\"/modules;/dist\"" >> ${RD}/image.${FSIMAGE}/boot/loader.rc @echo "echo \\007\\007" >> ${RD}/image.${FSIMAGE}/boot/loader.rc @echo "autoboot 10" >> ${RD}/image.${FSIMAGE}/boot/loader.rc |