summaryrefslogtreecommitdiff
path: root/distrib/i386/common
AgeCommit message (Collapse)Author
2009-05-11Remind people that mountpoints must now be entered using the disklabelTheo de Raadt
command; the script does not ask afterwards. Note I am not adjusting the macppc or sgi install.md scripts. I ask their maintainers to clean them before I will maintain them further. Please
2009-05-09remove some chatty disklabel stuffTheo de Raadt
2009-05-03We will need bin/sleep on all ramdisks.Theo de Raadt
2009-04-30Redo the fdisk handling for MBR-only architectures (macppc has to getTheo de Raadt
caught up one day, but that is not my battle). Hope people like this tested by oga, ok krw
2009-04-25If the right conditions exist, ask if xdm should be started automatically.Theo de Raadt
Yes, there are machines where you X needs configuration, but let us be realistic about it: THAT IS AN X BUG. And there are machines where getty and xdm fight: THAT IS A CONSOLE DRIVER BUG. And this commit is going to force those bugs to eventually matter enough so that they get fixed. Just watch.
2009-04-24Remove magic 'bsd.mp -> bsd' linking for the moment as it confusesKenneth R Westerback
subsequent upgrades.
2009-04-24Move bsd.mp juggling into relevant MD files. Make bsd.mp a defaultKenneth R Westerback
selection on multi-processor machines. Make bsd.mp a sanity check item on multi-processor machines. ok deraadt@
2009-04-19Use sysctl -n hw.disknames instead of the custom disknames programTheo de Raadt
2009-04-17further minor unificationTheo de Raadt
2009-04-17more syncronization steps..Theo de Raadt
2009-04-17For SHA256 hashes to be ready to go onto the install media, we mustTheo de Raadt
build the sets before we build the media. While there we can get rid of DESTDIR/snapshot too, and simply install straight into RELEASEDIR. (This also ends up saving an astounding amount of traffic/latency in a nfs environment)
2009-04-12Tweak pattern used to select partition lines for display so theKenneth R Westerback
'# /dev/r...' line is not selected. Noticed by deraadt@
2009-04-12No longer need '-f' or '-p' when displaying layout. A few patternsKenneth R Westerback
missed the '# size offset ...' line at the top of the partition list.
2009-04-10Where appropriate display the auto-allocation layout of the rootKenneth R Westerback
disk and ask if the installee wants to use it, edit it, or create their own custom disklabel. Most one-disk installs will not need to see fdisk or disklabel. i386 and macppc by me, adapted for others by deraadt@. ok deraadt@
2009-02-20Don't copy disktab onto install media as it is not used duringKenneth R Westerback
installs. Also nuke the link created for disktab. ok deraadt@ miod@
2009-02-15Build install media with disktab.shadow already in /tmp, ratherKenneth R Westerback
than have the install script copy it there. Shrinks install script, removes an extra copy of disktab. ok deraadt@
2008-12-02commit with rdsetroot now accepting the filesystem as a 2nd argTheo de Raadt
2008-12-02no longer need to compile rdsetroot with DEBUGTheo de Raadt
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.Ray Lai
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
2008-05-21pccom is dead. long live com. Bring install script into the new world.Kenneth R Westerback
2008-03-23No point in warning users during install that the disklabel has aKenneth R Westerback
weird number of partitions, doesn't checksum, doesn't exist or was found at a particular sector. Brings all archs together in omerta by eliminating use of '-r' and examination of disklabel messages. ok deraadt@
2008-03-04Redo serial console configuration logic. Smaller, easier toKenneth R Westerback
understand. Add serial console handling for alpha, macppc, zaurus. No functional change for i386/amd64. All archs should now have automatic serial console configuration. ok deraadt@
2008-01-11cleanup: make -> ${MAKE} consistenly.Marc Espie
zap extra subshells. okay miod@
2007-08-09do not install the cdromXX.fs file, it is uselessTheo de Raadt
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-04-17Restore inode parameter for floppy fs to the previous value (524288)Todd C. Miller
which appears to work around a bug in newfs's summary information generation when used in conjunction with the other fs parameters.
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-03-06eject -> mt (except on alpha where size tests are needed)Theo de Raadt
2005-05-04Put pax/tar/cpio at the same location in all installation media.Miod Vallat
2005-04-02Scrounge a few more characters of whitespace, mostly to be consistant.Kenneth R Westerback
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-26Simplify/shrink kbd(8) logic and verbiage. Always ask for best kbd(8)Kenneth R Westerback
table. ok deraadt@
2005-03-26Start some delayed cleanup and shrinkage. Today: ': ;' -> ':;' inKenneth R Westerback
while statements.
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-25crank ramdisk filesystem slightly to cope with firmwares inside the filesystemTheo de Raadt
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-09-12add br keymap; from miodTheo de Raadt
2004-06-26Allow change of default console to first serial device during install. Used inKenneth R Westerback
i386 only at this time. ok beck@ deraadt@
2004-05-05better cleandirTheo de Raadt
2004-03-03Use 'cat' rather than 'cp' to put /boot on disk. This preservesKenneth R Westerback
/boot's i-node number and allows multiboot (NTLDR) setups to work across upgrades. Suggested by Tom Cosgrove and Todd Miller. NOTE: Will only work if preserved biosboot is an LBA biosboot. i.e. won't work for 3.4 -> 3.5 upgrade because LBA biosboot went in post-3.4. ok millert@ deraadt@ tom@ nick@
2004-01-28Now that installboot is geometry-independent, FLOPPYSECS is notTom Cosgrove
required when making release. requested by and ok deraadt@
2004-01-26Major overhaul of biosboot and installboot, using EDD (LBA) reads ifTom Cosgrove
the BIOS supports it. File location data now geometry-independent (biosboot groks part of the inode), so installboot loses -h and -s. Many thanks to all those brave enough to try the snapshots. Thanks for the test reports, everyone. ok deraadt@
2003-10-12Cleanup and shrinkage:Kenneth R Westerback
1) Eliminate 'WARNING: Disk xxx has no label.' message. When installing OpenBSD this is a normal condition not worth commenting on. From some discussion on hackers/icb. 2) Use consistant verbiage and case statement when checking the disklabel. 3) Consistantly suppress output of 'disklabel -W', reducing duplicate messages like '# using MBR partition ...' which are issued again when the 'disklabel -f ...' command is executed. 4) Usual code rectifications - eliminate extra {}'s, multiple echos elimination, etc.
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.