Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
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@
|
|
|
|
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
|
|
|
|
|
|
architectures using a list2sh.awk and related 'list' files (alpha,
hp300, mac68k, mvme68k, mvme88k, mvmeppc, powerpc and vax).
list2sh.awk is modified so that in handling SPECIAL lines the tabs in
regular expressions are not lost to awk field parsing.
Any 'list' file trying to eliminate comments, using SPECIAL lines and
sed, now eliminates lines that
a) have '#' as the first non-blank, non-tab character, with at least
one blank or tab following the '#'.
b) have '#' as the first non-blank, non-tab character, with a newline
immediately following the '#'.
Previous b) was not being done, and only leading/following blanks were
being looked for due to the loss of tab characters in list2sh.awk.
|
|
install.md at build time. remove some crud. and the icing on the cake:
skip testing all this until next week
|
|
|
|
|
|
|
|
|
|
|
|
Also copy in protocols and services
Remove links to kill, pwd, test, and [ to match raminst.conf
Add link for dhclient as it was added to raminst.conf
|
|
|
|
Remove: kill pwd shutdown strings test
We need dhclient for dhcp support and the others are either ksh builtins
or simply unused.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
a llllooonnnngggg time so we really don't want to do one when we don't
have to do we? I didn't think so.
|
|
|
|
Other ports should do the same.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
are merged
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
other ports.
|
|
we can just use the miniroot one.
|
|
|