summaryrefslogtreecommitdiff
path: root/distrib/macppc
AgeCommit message (Collapse)Author
2004-07-18spacesTheo de Raadt
2004-05-24Normalise to "Open Firmware".Tom Cosgrove
ok drahn@
2004-03-11change copyrights on iso images, spotted by miodTheo de Raadt
2004-01-04put INET6, rtsol, and ping6 onto media where it fits. install.sub changesTheo de Raadt
which begin to enable use of this will follow at a later time.
2003-12-04shorten a teeny bit moreTheo de Raadt
2003-10-10Basically a rewrite to eliminate confusing logic and excess verbiage.Kenneth R Westerback
Testing by nick@, 'just put it in' drahn@.
2003-09-22Introduce a function ask_yn() to use when asking 'yes or no'Kenneth R Westerback
questions. ask_yn() always returns a 'y' or 'n' in $resp, vastly simplifying the logic used to check the user response. ask_yn() insists on the user responding with a 'y', 'n', 'yes', or 'no'. Case is ignored. Previously almost any input was accepted as either a yes or a no depending on the question. ask_yn() reduces the chance of user error, e.g. by answering the next question (default route) instead of the posed one (Use DNS server now?). All 'yes or no' questions now use ask_yn(). All questions show the full default answer, i.e. 'yes' or 'no' rather than 'y' or 'n'. Some minor logic cleanups of the usual sort, but no changes to logic flow or questions bar minor verbiage adjustment. Inspired by a Bob Beck install nit.
2003-09-21Fix extraneous display of grep output when searching disklabel output forKenneth R Westerback
error information. Previously things like: disklabel: no disk label WARNING: Disk wd0 has no disk label. You will be creating a new one. would be printed. Now the 'disklabel: no disk label' message is correctly sent to /dev/null. Take the opportunity to clean up a bit of code and formatting, making all the md_checkfordisklabel() functions as identical as possible.
2003-09-19Sync with 'modernization' changes to macppc. Also fix a couple of whitespaceKenneth R Westerback
typos in macppc. Cosmetic changes only, no semantic change. macppc and mvmeppc install.md now identical (again?).
2003-03-24Enable 'snag' boot on macppc boot iso. ok miod@ deraadt@Dale Rahn
2003-03-05document why no extra /bsd or /bsd.rd on the iso, only 3.3/macppc/bsd.rd...Theo de Raadt
2003-03-04better mkhybrid -V messageTheo de Raadt
2003-03-04call it cd${Rev}.isoTheo de Raadt
2003-03-02Fix msdos partition handling during install - sometimes those 'i'sKenneth R Westerback
aren't stray attempts at vi insertions after all. Problem spotted by drahn@. ok drahn@.
2003-02-16Bring macppc install.md into the modern world.Kenneth R Westerback
deraadt@ drahn@ ok, miod@ ok a while ago. A few spelling tweeks, '{}' elimination, syntax error corrections after ok. Tested with HFS install and HFS upgrade. More testing, especially of MBR installs, would be good.
2003-01-03Save a few more bytes on install media by stripping comments fromKenneth R Westerback
dhclient-script and disktab files in architectures where this wasn't already being done. OK deraadt@.
2002-12-04Typos; Tor HougtonMiod Vallat
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-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-19Do not use `' pairs inside here documents. Errors will occurKenneth R Westerback
if the ` is not individually escaped and the here document as a whole is not escaped. (i.e. cat << \__EOT).
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-08(Oops. Missed this one first time around)Kenneth R Westerback
Abstract out common md_set_term() code into set_term() in install.sub, 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-30Parital sync to i386 common/Makefile.inc, enough to build ramdisk at least.Dale Rahn
2002-04-30use makeconf.awk throughout, delete instbin in MakefileTheo de Raadt
2002-04-30use SCRIPT commandTheo 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-25- fix a few textsMiod Vallat
- remove dead hp300 stuff ok millert@, espie@
2002-04-22use one common dot.profile for allTheo de Raadt
2002-04-21strip scripts when putting them on the mediaTheo de Raadt
2002-04-21scsi command not neededTheo de Raadt
2002-04-19remove crudTheo 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-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-23be aware that macppc has aperture tooTheo de Raadt
2002-02-14mg? ridiculous. for now, anywaysTheo de Raadt
2002-02-14typoTheo 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