aboutsummaryrefslogtreecommitdiff
path: root/release/sysinstall/Makefile
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1996-10-05 10:44:07 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1996-10-05 10:44:07 +0000
commitd50a30076cf1c4957363e9eb2ba5b93d406868b1 (patch)
treede7e4e803c641c7c615731e96f5087efaa04949e /release/sysinstall/Makefile
parent4f2d3b038d5b93bb3dd48ce76b19e95de08d59f9 (diff)
downloadsrc-d50a30076cf1c4957363e9eb2ba5b93d406868b1.tar.gz
src-d50a30076cf1c4957363e9eb2ba5b93d406868b1.zip
Multiple changes stacked as one commit since they all depend on one another.
First, change sysinstall and the Makefile rules to not build the kernel nlist directly into sysinstall now. Instead, spit it out as an ascii file in /stand and parse it from sysinstall later. This solves the chicken-n- egg problem of building sysinstall into the fsimage before BOOTMFS is built and can have its symbols extracted. Now we generate the symbol file in release.8. Second, add Poul-Henning's USERCONFIG_BOOT changes. These have two effects: 1. Userconfig is always entered, rather than only after a -c (don't scream yet, it's not as bad as it sounds). 2. Userconfig reads a message string which can optionally be written just past the boot blocks. This string "preloads" the userconfig input buffer and is parsed as user input. If the first command is not "USERCONFIG", userconfig will treat this as an implied "quit" (which is why you don't need to scream - you never even know you went through userconfig and back out again if you don't specifically ask for it), otherwise it will read and execute the following commands until a "quit" is seen or the end is reached, in which case the normal userconfig command prompt will then be presented. How to create your own startup sequences, using any boot.flp image from the next snap forward (not yet, but soon): % dd of=/dev/rfd0 seek=1 bs=512 count=1 conv=sync <<WAKKA_WAKKA_DOO USERCONFIG irq ed0 10 iomem ed0 0xcc000 disable ed1 quit WAKKA_WAKKA_DOO Third, add an intro screen to UserConfig so that users aren't just thrown into this strange screen if userconfig is auto-launched. The default boot.flp startup sequence is now, in fact, this: USERCONFIG intro visual (Since visual never returns, we don't need a following "quit"). Submitted-By: phk & jkh
Notes
Notes: svn path=/head/; revision=18702
Diffstat (limited to 'release/sysinstall/Makefile')
-rw-r--r--release/sysinstall/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/release/sysinstall/Makefile b/release/sysinstall/Makefile
index 3ec6943f4fba..7105795b22a5 100644
--- a/release/sysinstall/Makefile
+++ b/release/sysinstall/Makefile
@@ -1,6 +1,6 @@
PROG= sysinstall
NOMAN= yes
-CLEANFILES+= makedevs.c rtermcap dumpnlist kern-nlist.h
+CLEANFILES+= makedevs.c rtermcap dumpnlist
.PATH: ${.CURDIR}/../disklabel ${.CURDIR}/../../usr.bin/cksum
@@ -22,7 +22,7 @@ DPADD= ${LIBDIALOG} ${LIBNCURSES} ${LIBMYTINFO} ${LIBUTIL} ${LIBDISK}
LDADD= -ldialog -lncurses -lmytinfo -lutil -ldisk
-makedevs.c: Makefile rtermcap dumpnlist
+makedevs.c: Makefile rtermcap
rm -f makedevs.tmp
echo '#include <sys/types.h>' > makedevs.tmp
./rtermcap cons25 | \
@@ -47,11 +47,6 @@ makedevs.c: Makefile rtermcap dumpnlist
file2c 'const char termcap_vt100[] = {' ',0};' \
>> makedevs.tmp
mv makedevs.tmp makedevs.c
-.if defined(KERNEL_NAME)
- dumpnlist ${KERNEL_NAME} > kern-nlist.h
-.else
- dumpnlist /kernel > kern-nlist.h
-.endif
rtermcap: ${.CURDIR}/rtermcap.c
${CC} -o rtermcap ${.CURDIR}/rtermcap.c -ltermcap