summaryrefslogtreecommitdiff
path: root/distrib/hp300
AgeCommit message (Collapse)Author
2002-04-01KNF sh ends up saving space; krw okTheo de Raadt
2002-03-31bit of shrinkage, krw okTheo de Raadt
2002-03-03Cleanup/Improve trap handling.Kenneth R Westerback
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@
2002-02-09use "ramdisk" MAKEDEV target alwaysTheo de Raadt
2001-12-23Remove extra blank line displayed before the paragraph 'As withKenneth R Westerback
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().
2001-12-17Use actual files for short versions of /etc/protocols andKenneth R Westerback
/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@.
2001-12-13Remove /etc/protocols and /etc/services from install mediaKenneth R Westerback
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.
2001-12-05remove garbage; miod okTheo de Raadt
2001-10-20missing /bin/hostnameTodd C. Miller
2001-10-08arch -ksTheo de Raadt
2001-10-02because usr.bin/grep now exists, crunch goes wrong, and we need to put ↵Theo de Raadt
gnu/usr.bin before usr.bin, until our grep replaces gnu grep
2001-09-17more missing dmesgTheo de Raadt
2001-09-17zap kernfsTheo de Raadt
2001-08-29Apply recent changes in the i386 comment eradication code to allKenneth R Westerback
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.
2001-06-23argh. stop using kernfs, using dmesg using sysctl. encode ARCH intoTheo de Raadt
install.md at build time. remove some crud. and the icing on the cake: skip testing all this until next week
2001-01-25egrep -a to permit working with binary data in dmesgTheo de Raadt
2000-10-31Make space by removing hostname (just use /kern), slip, and ppp.Todd C. Miller
2000-10-25In stty line enable ^T (status) as well.Todd C. Miller
2000-06-12fix ch* linksTheo de Raadt
2000-06-09chown/chgrp changesMichael Shalayeff
2000-05-07Kill rd.group, rd.master.passwd, rd.disktab; use DESTDIR ones instead.Todd C. Miller
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
2000-05-07Add distrib/special to srcdirs for dhclientTodd C. Miller
2000-05-03Add: dhclientTodd C. Miller
Remove: kill pwd shutdown strings test We need dhclient for dhcp support and the others are either ksh builtins or simply unused.
2000-01-30add dmesg alias to all install mediaTheo de Raadt
1999-09-27Update files, fix pwd_mkdb call.Jason Downs
1999-09-03md_questions() interface allows asking questions before setsTheo de Raadt
1999-08-16bsd.rd is uncompressed, bsd.rd.gz is compressed.Jason Downs
1999-08-15Kill md_copy_kernel()Todd C. Miller
1999-06-22smaller ramdiskTheo de Raadt
1999-04-02Don't delete bsd when we make bsd.rd. Kernel compiles on hp300 takeTodd C. Miller
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.
1999-04-01Remove awk and cut due to space limitations, use cutword function insteadTodd C. Miller
1999-04-01Write a /tmp/fstab.DISK file with mountpoint info if the user enters it. ↵Todd C. Miller
Other ports should do the same.
1999-04-01strip comments, hp300 ramdisk is getting fullTodd C. Miller
1998-11-09md_labeldisk is not used any moreTodd C. Miller
1998-11-03seperating -> separatingAaron Campbell
1998-10-28call check_kernel instead of having the same code in all the .md filesTodd C. Miller
1998-09-11kill md_get_ifdevs, miniroot/install.sub uses mi version nowTodd C. Miller
1998-08-23s/alpha/hp300/kstailey
1998-08-14Don't need to explicately link in with -ltermlib now that curses and termlib ↵Todd C. Miller
are merged
1998-06-27s/23/${OSrev}/Todd T. Fries
1998-04-28copy the upgrade program to the ramdisk. Damn this should have been in 2.3Todd C. Miller
1998-04-14add symlink to resolv.conf so DNS can workTodd C. Miller
1998-04-14Add install/upgrade/shell promptTodd C. Miller
1998-03-29Support $MODE in welcome message.Todd C. Miller
1998-03-28make erase ^H as that is more convenient on an hp300 hil keyboard.Todd C. Miller
1998-03-28Use miniroot install.{sh,sub}.Todd C. Miller
1998-03-27Make more like other install.md'sTodd C. Miller
1998-03-27now that we have fictious disklabels, this becomes more like theTodd C. Miller
other ports.
1998-03-27Sync from miniroot version. Should really go away at some point andTodd C. Miller
we can just use the miniroot one.
1998-03-27Sync with miniroot version (currently there are no differences).Todd C. Miller