Age | Commit message (Collapse) | Author |
|
calling md_set_term() from set_term() to do machine dependent stuff.
Currently only i386 does anything - keyboard mappings.
Add MDTERM variable to allow install.md to set proper default terminal
type. Default to vt220.
Eliminate md_get_partition_range() as useless since every architecture
returned '[a-p]'.
Make default term for all mvme* architectures vt100 as requested by miod@.
ok deraadt@ millert@ miod@
|
|
use later, plus a few rcsid vicinity cleanups; millert@ ok
|
|
makeconf.awk, order matters here. With the previous order only the
fsck wrapper was included and fsck_ffs was linked to it.
This resulted in fsck fork bombing until the proc table was full.
|
|
|
|
|
|
|
|
smaller again
|
|
|
|
|
|
ask() takes 2 parameters. The first one is the question to
ask the user, and the 2nd is the default answer.
Shrinks and makes the code clearer.
From espie@ with some tweaking, ok deraadt@.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
the last possible dmesg block in the buffer; clubbed together by espie
|
|
last minute tweaks to it by me, but you can trust me, right?
|
|
|
|
|
|
|
|
|
|
can include wicontrol and ancontrol.
o Rename instbin.conf to crunch.conf
o Remove the custom list and crunch files from ramdiskC (no longer needed).
|
|
user supplied value for LISTFLOPPY.
Suggestion by peter.galbavy@knowtion.net.
ok deraadt@.
|
|
a) Add /var/run to the filesystem created when the installation media
boots. This allows the creation and use of the dhclient.pid file.
Synchronize all mtree.conf files in architectures using miniroot.
b) Rework the traps used in upgrade.sh and install.sh so that HUP,
INT, QUIT, TERM and EXIT all invoke a cleanup function that kills an
active dhclient, unmounts all filesystems and fsck's -p all devices
in /etc/fstab, or just /mnt if /etc/fstab is not present.
c) Make sure the actions of the cleanup function are visible, thus
eliminating the long delay with no feedback at the end of the
upgrade/install script, after the congratulatory message.
d) Reduce manual parsing of fstab files by using umount -a to
unmount all mounted filesystems.
e) Since the new cleanup function tries to unmount all filesystems,
use the presence of /etc/fstab, rather than a difference between
`df /` and `df /mnt`, to determine if an install is being restarted
in a state where disk initialization can be skipped.
f) Change munge_fs, check_fs, mount_fs, remount_fs so that they
all 'know' about /etc/fstab rather than passing the same
parameter in all the time.
g) Use input redirection on munge_fs to read correct file, rather
than passing a file name as a parameter.
h) Indent code for various smaller functions.
i) Eliminate some subshell usage to simplify code further.
j) Display pretty messages during fsck -p to clearly indicate success
or failure of fsck, rather than just dumping fsck output.
k) Always run mount_fs in install.sh, even if disk initialization is
being skipped, because the trap should have unmounted all filesystems
when the last run terminated.
ok weingart@ millert@
|
|
|
|
time, 2) we should not encourage tree divergence, and 3) it was only on
i386
|
|
anything ...' during install and/or upgrade on some archs.
On sparc, sparc64, sun3 and vax fix a typo ('echo Welcome' ->
'Welcome') in here-document displayed in md_welcome_banner().
|
|
/etc/services used during installations.
This way it is not necessary to run the install script before
using commands requiring these files.
Requested by deraadt@.
|
|
that use the miniroot install scripts.
During an install, donetconfig() in miniroot/install.sub now
creates a minimal /etc/protocols and /etc/services.
During an upgrade, enable_network() now copies the existing
protocols and services files into /etc.
Saves approximately 13K on floppy/cd images.
|
|
|
|
|
|
gnu/usr.bin before usr.bin, until our grep replaces gnu grep
|
|
|
|
|
|
|
|
statements. Use as base for other architectures to improve comment
eradication/space reclamation in scripts on boot floppies.
|
|
find and delete more comments from scripts put on floppy images.
Now, leading whitespace and no trailing characters are both detected
and either cause the comment line to be deleted.
Fix list2sh.awk so that the tabs in the sed statements are not lost
during script creation. Previously the remainder of the SPECIAL line,
i.e. the shell statement to write, was recreated from the fields, but
awk treated the <blank><tab> in the sed expression as a field
separator and discarded the blank and tab. The blank was then added
back in the recreation process, but the tab was lost.
These changes cause the scripts to shrink by a total of 6596
characters.
This handles the i386 cases, other architectures can probably be fixed
the same way.
|
|
With kernfs gone, dmesg must be compiled into the image. Also
add hostname as in ../common/*.
Encountered by George Shaffer. ok deraadt@.
|
|
install.md at build time. remove some crud. and the icing on the cake:
skip testing all this until next week
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for some reason, i forget why; gwes@oat.com
|
|
|