summaryrefslogtreecommitdiff
path: root/distrib/i386
AgeCommit message (Collapse)Author
2002-05-08Abstract out common md_set_term() code into set_term() in install.sub,Kenneth R Westerback
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@
2002-05-01when filtering termcap selecet vt220, not vt200, since that's what we gonna ↵Michael Shalayeff
use later, plus a few rcsid vicinity cleanups; millert@ ok
2002-04-30Swap sbin/fsck and sbin/fsck_ffs in the LINK line. Now that we useTodd C. Miller
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.
2002-04-30make use of makeconf.awkTheo de Raadt
2002-04-30use SCRIPT commandTheo de Raadt
2002-04-30do not delete the filesystem on "make unconfig"Theo de Raadt
2002-04-29generate termcap file using a list2sh.awk directrive; distrib becomes a lot ↵Theo de Raadt
smaller again
2002-04-28remove confusion about disktabTheo de Raadt
2002-04-28use single shared mtree.confTheo de Raadt
2002-04-28Change getresp() into ask().Kenneth R Westerback
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@.
2002-04-25runlist.sh & list2sh.awk unificationTheo de Raadt
2002-04-22move things back a directoryTheo de Raadt
2002-04-21use arch -ks instead of arch -s (on them all)Theo de Raadt
2002-04-21simplifyTheo de Raadt
2002-04-19prune i386Theo de Raadt
2002-04-13last rev forgot to handle the "swap on" types; drahnTheo de Raadt
2002-04-13Use a grizzly sed script to ensure that the rootdev is determined out ofTheo de Raadt
the last possible dmesg block in the buffer; clubbed together by espie
2002-04-12kbd setting code for the installer. smat@acm.org, miod, and krw. MinimalTheo de Raadt
last minute tweaks to it by me, but you can trust me, right?
2002-04-10MAKEDEV can remain on the install media (it is now sed stripped)Theo de Raadt
2002-04-09miniroots may have suprising rootdevs. Cope.Theo de Raadt
2002-04-01KNF sh ends up saving space; krw okTheo de Raadt
2002-03-31bit of shrinkage, krw okTheo de Raadt
2002-03-30o Add support for local list and crunch files so ramdiskC and ramdisk_cdTodd C. Miller
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).
2002-03-30Make customizing floppy contents easier by accepting aKenneth R Westerback
user supplied value for LISTFLOPPY. Suggestion by peter.galbavy@knowtion.net. ok deraadt@.
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-14typoTheo de Raadt
2002-02-10remove the no-kerberos stuff. i mean, 1) it has not worked for quite someTheo de Raadt
time, 2) we should not encourage tree divergence, and 3) it was only on i386
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-11-09use RAMDISK_CD not RAMDISK for bsd.rd; ok deraadt@ (now that I tested)Todd T. Fries
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-17mount -u, not mount_ffs -uTodd C. Miller
2001-09-16Shave a few byte; "mount -u" not "mount -o update"; Theo OK'dTodd C. Miller
2001-08-26Final tweak to i386 list2sh.awk SPECIAL handling - consolidate printKenneth R Westerback
statements. Use as base for other architectures to improve comment eradication/space reclamation in scripts on boot floppies.
2001-08-23Expand regular expressions used in sed invocations in SPECIAL lines toKenneth R Westerback
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.
2001-08-17Make floppyC29.fs installable again.Kenneth R Westerback
With kernfs gone, dmesg must be compiled into the image. Also add hostname as in ../common/*. Encountered by George Shaffer. ok deraadt@.
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-05-11unify a.out rdsetrootTheo de Raadt
2001-05-11-1 -> MAP_FAILEDArtur Grabowski
2001-04-19strip comments, as on the alpha; millert okTheo de Raadt
2001-04-09only put wicontrol (and ancontrol now too) on floppyCTheo de Raadt
2001-03-13at install time, if X is chosen, set machdep.aperature to 2 instead of 1.Theo de Raadt
2001-03-03vt220 termcapTheo de Raadt
2001-03-03oops, put newfs backTheo de Raadt
2001-03-02mount_mfs is not used, no link needed; nateTheo de Raadt
2001-01-29make depend again; i noticed this yesterday too, it used to but was disabled ↵Theo de Raadt
for some reason, i forget why; gwes@oat.com
2001-01-27put wicontrol on the floppyTheo de Raadt