summaryrefslogtreecommitdiff
path: root/distrib/miniroot/install.sub
AgeCommit message (Collapse)Author
2014-03-22Upper case another global variable (nifs -> NIFS).Kenneth R Westerback
2014-03-22Oops. MDMTDEVS is used to populate /dev. Put those bits back.Kenneth R Westerback
2014-03-22Remove 'tape' as a method for installing sets. Elite masters of unixKenneth R Westerback
arcana able to do without instructions for tape installs, can do without the crutch of script support. If any non-EMOUA tape users surface, this is easy to restore. ok halex@ on the actual diff.
2014-03-20FTP is so 20th century. Remove 'ftp' as a method to obtain installationKenneth R Westerback
sets. 'http' is the present. A bunch of related or triggered cleanup/consistenizing. Prodded by deraadt@, much feedback and testing by rpe@. ok rpe@
2014-03-10replace set size calculation with a fixed valueRobert Peichaer
- reduce complexity - don't abuse index.txt OK halex@ krw@
2014-03-02the map-to-lowercase scheme for msdos is not going to work, because otherTheo de Raadt
filesystems can contain mixed case files (ie. sgi). discussed with krw and halex
2014-03-02move to official keysTheo de Raadt
2014-02-28Mount MSDOS partitions with '-l' and not '-s'. Force lists of file namesKenneth R Westerback
to all lower case. Check for install.$ARCH and sha256*. Fixes getting sets from an MSDOS partition, which uebayasi@ reported was broken, without impacting other sources for sets. ok rpe@ halex@ deraadt@
2014-02-22Do an additional feed_random in the co-routine that is fetching the setsTheo de Raadt
like. This is going to finish at a really unpredictable time, and that is a swell time to do an aggressive push & stir. ok halex
2014-02-21some spaces snuck in, and they cost us on the install media. Not joking.Theo de Raadt
ok krw halex
2014-02-21oops, seperate pieces coming...Theo de Raadt
2014-02-21servicesTheo de Raadt
2014-02-20Adjust alignment of ftp titlesRobert Peichaer
OK halex@ deraadt@
2014-02-19Improve the logic to find a filesystem to store the prefetched sets.Robert Peichaer
Prefer filesystems which are not used during extraction. They need to have free space the size of the selected sets +10M. Otherwise use any other filesystem that has four time the free space of the selected sets to prevent overflow during the extraction. joint work with and OK halex@ deraadt@ likes the direction OK krw@
2014-02-07make sure a free bpf exists before dhclient is run, and remove someAlexander Hall
prior workarounds until we have clonable bpfs ok rpe@ krw@
2014-02-03Use get_ifdevs() to get the name of a possibly existing netbootRobert Peichaer
interface instead of using handrolled ifconfig | sed combo. OK halex@ krw@
2014-02-02Allow to use ************* (13 '*') as password in the response fileRobert Peichaer
for accounts which have password logins disabled but login with e.g. ssh-keys is still possible. suggested and OK sthen@, OK halex@
2014-02-02replace multiple grep with sed onliners in mount_mnt2()Robert Peichaer
with feedback and OK halex@
2014-02-02fix typoRobert Peichaer
from Markus Lude markus _dot_ lude _at_ gmx _dot_ de OK halex@
2014-02-01remove -e sed option where only one command is usedRobert Peichaer
OK halex@
2014-01-28trim sane_sets()Alexander Hall
ok krw@
2014-01-27remove spaces right before ; and ;;Robert Peichaer
OK halex@
2014-01-26- extend logic to find a sensible location to place prefetched setsRobert Peichaer
- complain loudly on errors and give users a chance to react on them - improve detection if ftp fails while fetching sets - be more cautious while removing temporary directories joint work with and ok halex@
2014-01-26let ask_yn() return 0 for yes, 1 for noRobert Peichaer
from and OK halex@
2014-01-24don't ever use an unsigned SHA256Alexander Hall
ok rpe@
2014-01-23watch out, a white space!Theo de Raadt
2014-01-23- always show (ftp) progress bar with the appropriate titleRobert Peichaer
- the Verifying part is done even if the sets are on local media OK todd@ deraadt@
2014-01-23first take in using ftp -D to more consistently show "named" progressRobert Peichaer
during (pre)fetch/verify/install idea from and OK deraadt@
2014-01-17add signature checking and make checksum procedure more robust byAlexander Hall
prefetching sets to a temporary directory within /home, iff it is a separate mount point with rpe@ and deraadt@, "ffiinaallllyyy .... OK" rpe@ (r.i.p. progress bars)
2014-01-15Since we now show the installer output we want that new line back.Robert Peichaer
OK halex@
2014-01-11when selecting sets to install, postpone the xbase/comp check so theAlexander Hall
comp set does not get readded if the xbase set is being removed later on the same input line "nice semantics" deraadt@
2014-01-08Switch to using the base sha256 command, rather than some customizedTheo de Raadt
abomination. install.sub chunk tested by rpe
2014-01-07Make skipping the root fs DUID aware.Robert Peichaer
If ROOTDEV is either the device from fstab or the converted DUID device name with the partition added, skip the current fstab entry ok halex@
2014-01-05provide feed_random() and store_random(). The first is used by install orTheo de Raadt
upgrade to feed as much additional usable entropy (as early as possible) to the current bsd.rd install kernel. The latter is used late in the procedure to store entropy for the next boot (of a real kernel) based on an issue described by dtucker, must conversation with halex and rpe tested by rpe
2013-12-23The xbase set requires the comp set. If xbase is in the selection,Robert Peichaer
but not comp, put comp back in automatically. suggested by and ok deraadt@ ok halex@
2013-12-18change password prompts (for the good of install.conf)Alexander Hall
add autoinstall question for root ssh pubkey make pubkey prompts appear in autoinstall log ideas from and ok deraaddt@, ok rpe@
2013-12-16Replace `[RESPONSEFILE=...] install auto` voodoo with plain'ol getopts,Alexander Hall
as discussed with uwe@ at some point. ok krw@, rpe@, "Cool" uwe@
2013-12-16Change subject of install|upgrade log to match periodic maintenanceAlexander Hall
email subjects better. ok deraadt@ rpe@ Suggested by, and "Lovely" deraadt@, "Sure" rpe@,
2013-12-11make the word-matching of the autoinstaller config file allow skippingAlexander Hall
the trailing question mark, such as in "hostname = foo" noted by, discussed with, and ok rpe@
2013-12-11for automated installs, use the hostname from the dhcp lease by defaultAlexander Hall
ok rpe@
2013-12-09Make the response lookup of a question match on entire words, whereAlexander Hall
anything not being a whitespace is considered part of a word. deraadt@ likes it, rpe@ has approved of the idea
2013-12-08After a completed upgrade, present reboot and post-reboot instructions in aStefan Sperling
more intuitive order: Show the 'After rebooting, run sysmerge' hint below the line that explains how to reboot, instead of several lines above. Suggested by a new user doing the first upgrade. input/ok halex@ rpe@
2013-12-07Change the response file handling such that it "consumes" an answerAlexander Hall
once it's been used, and allow the same question to be answered multiple times. This way, responses to ask_which() questions no longer need the special magic we had for them being on a single line. idea from deraadt@ ok rpe@
2013-12-06Workaround closed stdin in non-interactive mode.Robert Peichaer
ok deraadt@
2013-12-05improve the question part (second line) of ask_which to actually includeAlexander Hall
the name of what we're asking for, rather than 'Which _one_ ...' Improves things a lot for the autoinstaller. ok rpe@
2013-12-04Defer spooling of the install log output mail until we are up andAlexander Hall
running again, with our mail system of choice running. ok deraadt@
2013-12-04Eliminate spurious space that breaks parsing of nwids containingKenneth R Westerback
blanks. Same fix was applied by todd@ to /etc/netstart (r1.114) in 2006. Pointed out by Remy via bugs@. Thanks!
2013-12-04the hostname.if for a vlan's parent interface should be mode 640 to avoidStuart Henderson
a warning at first boot ok deraadt
2013-12-01More robuse parsing of the DHCP lease file for autoinstall. This will,Alexander Hall
for example, bail out instead of producing annoying output if the filename statement does not match auto_(install|upgrade). Brought up again by Patrik Lundin, thanks! ok rpe@
2013-12-01Allows the autoinstaller to pass a public ssh key for inclusion in theAlexander Hall
user's .ssh/authorized_keys. Deliberately not in interactive mode since I am not sure it's worth adding another question that only quite few people would enjoy. ok rpe@