summaryrefslogtreecommitdiff
path: root/distrib/miniroot
AgeCommit message (Collapse)Author
2004-09-29Code cleanup and shrinkage (~2K).Kenneth R Westerback
Factor out drive/partition handling for CD and disk installs. Should only affect installs/upgrades from non-ISO CDs and unmounted disk partitions. Tested by Otto@. 'It is that high risk time' deraadt@.
2004-09-16Set the console device speed before instead of after selecting it as theRyan Thomas McBride
console. Fixes booting on Soekris net4501 without a cable connected. ok tom@ markus@
2004-08-09move to 3.6-betaTheo de Raadt
2004-07-30Use '#!/bin/ksh' for install scripts, as we use so many ksh'isms. Some ofKenneth R Westerback
which will be disabled for /bin/sh invocations soon. Requested by millert@. ok pval@.
2004-07-25Don't need to specify 9600 as the default speed, since it is first on theKenneth R Westerback
list of speeds and thus the default default.
2004-07-18Make bsd.rd a default set.Kenneth R Westerback
ok deraadt@
2004-07-18spacesTheo de Raadt
2004-07-18For set installation via URL or NFS, assume the network has been configuredKenneth R Westerback
to the user's satisfaction. ok tdeval@ deraadt@
2004-07-17Delete unused local vars.Kenneth R Westerback
2004-07-17Add 'stty <tty> <speed>' line to boot.conf if serial console isKenneth R Westerback
made the default console. Ensures specified speed is actually used. Pointed out by Derick Siddoway and Bob Humphrey. ok deraadt@
2004-07-17Don't add '/'s to timezone path when null input enteredKenneth R Westerback
as sub-timezone. Pointed out by cloder@.
2004-07-04Remove requirement that the 'b' partition on the root disk beKenneth R Westerback
configured during install. If it is configured it will still be unconditionally used as swap, so don't let the user set a mount point for it. Minor white space, commment and verbiage adjustments. Suggested by many including Mickey, Henning, Todd, and Theo. ok deraadt@
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-06-22Don't make xetc a default install set.Kenneth R Westerback
ok matthieu@
2004-06-22introduce the new xetc set. ok deraadt@, miod@, krw@.Matthieu Herrb
2004-06-20If all default sets have been successfully installed, make [done] theKenneth R Westerback
default answer to 'Where are the install sets?'. Requested by various, most recently Henning and Theo.
2004-06-13if bsd.mp exists... let a user install itTheo de Raadt
2004-05-28Add MDROOTFSOPT handling code to allow non-default newfs options toKenneth R Westerback
be specified for root filesystems. Add MDROOTFSOPT value for luna88k so installed system can boot. Tested by Kenji Ayoma. ok miod@.
2004-05-04Create /var/empty on miniroot install media. Privsep dhclient requiresKenneth R Westerback
this to successfully chroot. ok henning@ beck@
2004-04-12Refactor network initialization code into explicit v4 routines toKenneth R Westerback
prepare for v6 initialization. Minor verbiage changes, and not asking for v4 default route if no v4 addresses were configured are the only user visible changes. ok deraadt@.
2004-04-06Remove the 3.3 -> 3.4 upgrade openssl hack.Kenneth R Westerback
2004-03-23Update copyrights to 2004.Kenneth R Westerback
ok deraadt@.
2004-03-18Don't ask for timezone info during an upgrade.Kenneth R Westerback
Suggestion by Tom Cosgrove. ok miod@ millert@ deraadt@.
2004-03-16save 2 bytes due to tabsTheo de Raadt
2004-03-14Fix sane_install() tests to use relevant directories/files. TightenKenneth R Westerback
emitted error messages. Change default response to 'Use the nameserver now?' from a 'y' to 'yes' to be consistant with other ask_yn() usages. ok beck@ deraadt@.
2004-03-09URL-encode all usercode/password characters between 0x20 and 0x7e so thatKenneth R Westerback
more weird usercodes and passwords work. Embedded blanks especially. ok beck@.
2004-02-28Revert v1.314 changes adding '~' to user supplied relative ftp paths,Kenneth R Westerback
since today's ftp/fetch.c commit fixes real issue, and v1.314 broke 'ftp' user. Problems with 'ftp' user reported by Stephen Kirkham of UofA.
2004-02-28makeing->makingJolan Luff
2004-02-27move to 3.5-betaTheo de Raadt
2004-02-08Shave a few more characters.Kenneth R Westerback
2004-02-08Replace 'localhost' with '127.0.0.1' and add -q to route invocationsKenneth R Westerback
in enable_network(). From /etc/netstart.
2004-02-08Add loopback routes late during upgrades, as /etc/netstart does now.Kenneth R Westerback
Scavange a couple of characters while in the area.
2004-02-08Fix typo: 2>&2 -> 2>&1.Kenneth R Westerback
2004-02-07Simplify inet line processing in inet_info().Kenneth R Westerback
2004-01-11With wonderful new dhclient there is no need to try to kill a runningKenneth R Westerback
client or to run it with -1.
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-21Bowing to the relentless pressure from Nick Holland, change the default answerKenneth R Westerback
to 'Use the nameserver now?' to 'yes'. ok deraadt@.
2003-12-16no more libzHenning Brauer
2003-12-04shorten a teeny bit moreTheo de Raadt
2003-12-04ask if sshd should be on by default (default to yes, still); tested by nickTheo de Raadt
2003-11-03spelling fix in commentsDavid Krause
2003-09-26Fix typo: 'Which disk do you wish to initialize??' -> '... initialize?'.Kenneth R Westerback
Only appeared when non-boot disks were initialized.
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-09do not defer * matching; from drahn, with some input from meTheo de Raadt
2003-09-06Do the ssl/openssl directory/link dance in both places it could occur,Kenneth R Westerback
/usr/include and /usr/libdata/perl5/site_perl/*-openbsd. Allows both base34 and comp34 to be upgraded from a stock install. ok deraadt@.
2003-08-23If any interface has been configured using DHCP, assume the default routeKenneth R Westerback
will be set by DHCP. ok drahn@ beck@ henning@
2003-08-17With 3.4, /usr/include/ssl is a link and /usr/include/openssl is theKenneth R Westerback
directory it points to. Previously ssl was the directory and openssl the link. That change causes the upgrade of the comp34 set to fail, so manually adjust a pre-3.4 setup to the 3.4 setup before attempting to upgrade any sets. ok millert@.
2003-08-17'Security' fix/cleanup/shrinkage.Kenneth R Westerback
Don't leave ftp password in a global variable. It is re-initialized each time it is used anyway. Use a shorter (_passwd vs _ftp_server_password) local variable name to save a few bytes.
2003-08-17Message clarification & cleanup.Kenneth R Westerback
Replace the generic 'Done - no available Xs found.' message with two more relevant ones. Suggested several times, most memorably by Todd@. a) For selection of disks or cds to install from, and for selection of the root disk, make it 'No Xs found.'. b) For processing the list of disks or interfaces to initialize, make it 'No more Xs to initialize.'. Delete get_root() as it is only called in one place, and insert code at that location. Reclaim a few characters by putting ask_which() punctuation where message is output rather than repeating it where message passed.
2003-08-16Minor cosmetic cleanup.Kenneth R Westerback
Use '<msg>...done.' consistantly by replacing last five varient uses. Out with '<msg> ... done.', '<msg>...Done.', etc.