summaryrefslogtreecommitdiff
path: root/distrib/macppc
AgeCommit message (Collapse)Author
2007-10-18enter iso dir for clean/cleandir, too, to delete dribblesTheo de Raadt
2007-08-15go slightly back to the older behaviour by writing out a default disk labelTheo de Raadt
only if 'i' is not found; by krw who is not around, looked at by drahn and otto and miod
2007-08-14make obj dirs in iso; talked with miod about itTheo de Raadt
2007-08-10add missing xserv, and use ${MACHINE} throughout (still needs testing)Theo de Raadt
2007-08-10use more variables, because variables are goodTheo de Raadt
2007-08-10oops, missed xbaseTheo de Raadt
2007-08-10a somewhat crude way to generate installXX.iso files based onTheo de Raadt
intermediate snapshot components. uses some knowledge from our internal build scheme to link together base and X sets.
2007-06-17Stop using disklabel -r. The disklabel code does not know all the semanticsTheo de Raadt
for pushing disklabels onto the disk (and besides that, it is buggy and unreadable crap); thanks for help from krw
2007-05-24Close some (probably not all) holes in the creation of the requiredKenneth R Westerback
'i' partition. Keep asking for an MBR until it has both a DOS and an OpenBSD partition. Forcibly write a default disklabel, which will have the correct 'i' defined, before letting the user work on the disklabel. Use newfs(8) to format the 'i' partition instead of plopping a pre-formatted 1MB FAT in it. Remove a bunch of excess verbiage, which will reappear in an updated INSTALL.macppc. Feedback from otto@, drahn@ and deraadt@.
2007-04-13Update install media generation to the new semantics of the -c flag.Todd C. Miller
Also replace "newfs -O" with "newfs -O 0" now that -O takes an option.
2007-04-09Add -n to gzip flags. Save a few bytes since we no longer saveTodd C. Miller
the uncompressed filename in the gzip header.
2007-02-14put the disknames command on all install media (hope i did not miss any) ok krw@Theo de Raadt
2007-02-11Nuke MDFSTYPE and MDFSOPTS, 'mount -t ...' and giving the user theKenneth R Westerback
option to choose a filesystem type when mounting a disk. Rely on the filesystem information provided by the disklabel. When there is only one usable partition on the selected disk, just mount it without bothering the user with a question. Ensure that msdos filesystems are mounted with '-s' so that the names of the install sets will be in lower case and thus visible to the script. msdos problems noted by Rodolfo Gouveia, who did a lot of testing and debugging. 'mount -t ...' silliness pointed out by deraadt@.
2006-06-26wicontrol went awayTheo de Raadt
2005-04-06no more tigon firmware hereTheo de Raadt
2005-04-02Scrounge a few more characters of whitespace, mostly to be consistant.Kenneth R Westerback
2005-03-30these will contain mount_udfTheo de Raadt
2005-03-27Use new skeleton kbd(8) '-l' to generalize kbd(8) use. EliminateKenneth R Westerback
fixed list of available maps and machine dependant md_set_term() functions. Any ramdisk with /sbin/kbd present (amd64, cats, i386 at the moment) will now present list of available keyboard encodings. ok deraadt@
2005-03-26Start some delayed cleanup and shrinkage. Today: ': ;' -> ':;' inKenneth R Westerback
while statements.
2005-03-11never worry about the copyright date on the CD layout again, problemTheo de Raadt
noticed by drahn
2005-01-12remove some differencesTheo de Raadt
2005-01-11put a seperate and real fsck on the mediaTheo de Raadt
2004-12-29nothing uses a SRCDIR of gnu anymore, proposed by mickey, tested by meTheo de Raadt
2004-11-23need kue firmware tooTheo de Raadt
2004-11-22both tigon firmwares, it is cheapTheo de Raadt
2004-10-02Don't put /bin/test or /bin/[ on install media since they are builtinsKenneth R Westerback
for ksh. ok millert@
2004-10-02Last use of sleep(1) in install scripts was eliminated by recentKenneth R Westerback
re-write of install_cd() so remove sleep(1) from install media. "sure!" deraadt@
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@