summaryrefslogtreecommitdiff
path: root/distrib/alpha/common
AgeCommit message (Collapse)Author
2002-11-07Treat 'bsd' like just another filename in THESETS, no more 'kernel'Kenneth R Westerback
logic. As result, MDSETS gone from everything but mac68k. MDSETS now treated as a list of complete file names to add to THESETS, allowing more MD flexibility, i.e. may or may not be .tgz files. All traces of tar.gz removed. Not used for sets since 2.7 or so. As a result of code simplification from not having to consider tar.gz, the functions get_sets(), make_lastset(), and set_not_done() are eliminated, along with the global SETS. Build THESETS and DEFAULTSETS to contain full file names. Always install sets in the order they appear in THESETS, keeping siteXX last but without needing special logic. More predictable for user if a lot of set additions and removals done before being satisfied, as the sets are now installed in the same order they appear in the selection list. Remove ability to look for non-set .tgz/.tar.gz files. The job of the install scripts is to install the standard sets in a simple and rational way. Not to install general tar balls. The user can do that post-install or simply '!' out to do it during install. On their head be it. If no sets are found in a specified source, list the filenames in THESETS to show what is being looked for.
2002-08-27Move general partitioning advice from machine dependant per diskKenneth R Westerback
routine to install.sh so it is displayed only once. Strongly advise /, /tmp, /var, /usr and /home have their own disk partitions as requested by deraadt@. Rather than rely on users not re-selecting an already initialized disk, just allow them to choose from un-initialized disks. Move get_root invocation into install.sub as both install.sh and upgrade.sh did it first thing. Remove the 'workaround' to a 'vnode aliasing bug' that came in with the initial import of upgrade.sh from NetBSD. ok millert@. Rework verbiage in a few places. Clean up logic around looping through disk units by handling root disk better.
2002-08-25Add 'MDXAPERTURE=1' as requested by Matthieu.Kenneth R Westerback
2002-07-15The default value for MDTERM is vt220, so you don't need to explicitly setKenneth R Westerback
it so.
2002-07-15Suggest vt220 as terminal type, not sun, since we are running wscons onMiod Vallat
alpha...
2002-06-09knfTodd T. Fries
2002-05-20Eliminate md_questions(). It was used only to control the setting ofKenneth R Westerback
machdep.allowaperture. Remove the setting of machdep.allowaperture from md_installboot(). Add MDXAPERTURE variable to relevant architectures. Add a new function set_machdep_allowaperture(). It is called *after* install_sets() (which changes when the X Window question is asked), and if MDXAPERTURE is present modifies sysctl.conf. Shrinks overall size for i386, macppc, sparc64 (which used md_questions for machdep.allowaperture) but increases size a bit for other architectures since set_machep_allowaperture is in install.sub.
2002-05-18Eliminate md_get_diskdevs() and md_get_cddevs() byKenneth R Westerback
1) Saving one boot's worth of dmesg in /tmp/dmesg.boot 2) Using sed to scan for devices and pull out names in new get_diskdevs() and get_cddevs() in install.sub 3) Saving any md disk/cd sed patterns in MDDISKDEVS and MDCDDEVS variables.
2002-05-14Eliminate md_native_fstype() and md_native_fsopts(). Both functionsKenneth R Westerback
simply echo'd a single word if present at all. Replace with variables MDFSTYPE and MDFSOPTS if required. Rework logic in install.sub's mount_a_disk() to always include 'ro' as an option to the mount command. This allows even those arch's with MDFSTYPE to usually get by without MDFSOPTS. ok deraadt@
2002-05-09Elminate md_welcome_banner() and md_not_going_to_install() as theKenneth R Westerback
output of both was essentially identical on all architectures. Replace with welcome_banner() and not_going_to_install() in install.sub. Abstract common verbiage from md_congrats() into congrats() which calls md_congrats() for any architecture specific additional verbiage. Reword things so ${MODE} can be plausibly used in more places. Remove extraneous #!/bin/sh in hp300 install.md. ok deraadt@ espie@
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-05-01We only need fsck_ffs, not the fsck front end.Todd C. Miller
Make all fsck list file entries simply be: LINK instbin sbin/fsck_ffs sbin/fsck
2002-04-30use makeconf.awk, and also simplify list managementTheo de Raadt
2002-04-30use SCRIPT commandTheo 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-25no longer neededTheo de Raadt
2002-04-22use one common dot.profile for allTheo de Raadt
2002-04-21strip more carefully; guess what -- upgrade fits nowTheo de Raadt
2002-04-21remove MD terminal crud; done elsewhere nowTheo 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-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
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-05remove garbage; miod okTheo de Raadt
2001-10-20oops, bsd.rd needs mount_cd9660Theo 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-26Add hostname to the alpha ramdisk.Dale Rahn
2001-09-18remove elfrdsetroot from here and use the one in distrib/commonJason Wright
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-03-03default to vt220Theo de Raadt
2001-02-08Squeeze a bit more to make it fit.Artur Grabowski
o Reduce the number of inodes on the ramdisk image. o Use dd instead of cp ro copy the kernel onto the floppy.
2001-02-04find ramdisk.conf in the right placeTheo de Raadt
2001-01-29three floppies, and a bsd.rd for the CDTheo de Raadt