summaryrefslogtreecommitdiff
path: root/distrib/miniroot/install.sub
AgeCommit message (Collapse)Author
2011-03-22Pay attention to result of amd64/i386 installboot(8). Warn userKenneth R Westerback
when they won't be able to boot the installed root disk. Move installboot invocation to just before congratulation on sucess is emitted. Thus the installed partition will be 'complete' if it ever is booted. "go for it" deraadt@
2011-02-25Silence a bit of error output when no ftplist can be downloaded.Kenneth R Westerback
Silence is golden. Problem seen and fix tested by guenther@. ok guenther@ halex@
2011-01-31- do not run fsck for fstab entries with zero or empty fs_passnoAlexander Hall
- ask for permission to continue upgrade if one or more mounts failed Fixes issue noted by Peter Miller, who also tested the diff. Thanks! ok krw@
2011-01-06rephrase fsck question and default to 'n'; ok krw@ henning@ stsp@Otto Moerbeek
2011-01-03reduce the amount of cd'ing in the install script, since it sucksTheo de Raadt
to change the environment that functions assume they run in. use sub-shells or absolute paths when possible. ok krw
2010-11-22create devices for fstab entries that are using the disklabel UID notation tooAlexander Hall
ok krw@, jsing@
2010-11-19- drop dhcp group from interfaces which did not go UP and gotAlexander Hall
an ip address - do the same on startup of the install/upgrade too - do NOT do it unconditionally on all dhcp'd interfaces, since we use the group to retain state. ok krw@, deraadt@
2010-11-18do not run makedev for a uid; ok krwTheo de Raadt
2010-11-12- introduce quote() which prints its arguments quoted for sh/ksh parsingAlexander Hall
- use the aformentioned function to properly quote the wireless config into /etc/hostname.$if Now, if only /etc/netstart didn't screw up whitespace... "I don't speak Swahili, so I'm going to have to trust you" deraadt@ no objections from others, specifically so from krw@
2010-11-05Properly quote the wpakey argument. Fixes issue noted by tdm.Alexander Hall
ok krw@
2010-11-04correct commentTheo de Raadt
2010-11-04default to using all the IPs for ntp servers; ok krw henningTheo de Raadt
2010-10-18delete a wasteful spaceTheo de Raadt
2010-10-18allow configuration of 802.11 interfaces in the installerAlexander Hall
based on a diff from damien@ ok deraadt@
2010-10-18no more misc setTheo de Raadt
2010-09-26Correctly parse new hw.disknames output.Joshua Elsasser
Nicer fix from guenther@, tested by editing install.sub while booted into bsd.rd. "please commit asap" deraadt@
2010-09-24Prefer -h instead over -L for symlink test.Antoine Jacoutot
ok deraadt@
2010-09-23Teach the installer how to process the new hw.disknames output.Joel Sing
ok krw@
2010-08-30Make future work in the installer easier by reducing the amount ofAlexander Hall
eval craziness in install_url(). ok krw@
2010-08-08Revert auto-enabling of apm. Some security implications were notKenneth R Westerback
fully appreciated, and no time to work through them. ok deraadt@
2010-08-08Look for MD devices or assurance that apmd would be a useful thing toKenneth R Westerback
run. If found, add "apmd_flags=" installed rc.conf.local. Suggested by deraadt@. i386/apm test by kettenis@. ok deraadt@
2010-08-05Return the old behaviour of exiting if a mount fails rather than ignoring itAlexander Hall
ok krw@
2010-08-02Suppress MAKEDEV warnings about 'unknown device' that can appearKenneth R Westerback
during upgrades when /etc/fstab is using disklabel UID's to mount partitions. Feedback & trash elimination from halex@ "That seems acceptable to me" deraadt@
2010-07-07zap chmod of /etc/pkg.conf since the installer itself will not put a usernameAlexander Hall
or password in there, and any existing /etc/pkg.conf file will already have its file mode preserved "sure" deraadt@
2010-07-04600 i mean. hackathon took it's toll. pointed out by halexTheo de Raadt
2010-07-04the pkg.conf file should be mode 644, in case the user used a ftpTheo de Raadt
user:password (unlikely.. but)
2010-06-30we don't need to add a localhost route for our hostname address, our arpPeter Hessler
code is smarter these days. a side effect of this was noticed by reyk@ OK claudio@ henning@
2010-06-30revert last ^D behaviour changeAlexander Hall
requested and well explained by krw@
2010-06-30make the installer quit when ^D is pressed at any promptAlexander Hall
ok deraadt@
2010-06-30handle whitespace around installpath in pkg.confAlexander Hall
feedback from espie@ deraadt@ krw@ ok krw@
2010-06-29After installing or updating from a public mirror, the installfrom=...Alexander Hall
line in /etc/pkg.conf is set to point at the corresponding package collection. The file is created if it does not exist. discussed with deraadt@ and espie@ ok espie@
2010-06-26make http the default network install method rather than ftpAlexander Hall
ok krw@
2010-06-21Argh. Back out previous until correct diff found.Kenneth R Westerback
2010-06-21Juggle code a bit and add a check so we don't attempt to createKenneth R Westerback
a device from a UID name.
2010-04-05purge extra spaces which make the media cryTheo de Raadt
2010-04-04If the system time is off by more than 120 seconds from the TIME=nnnAlexander Hall
supplied from ftplist.cgi, ask if the user wants to set it accordingly. Idea from deraadt@, feedback from sthen@, guenther@ ok deraadt@, krw@ (slightly different version)
2010-03-09correctly choose the files in a directory, even if it is a symbolic linkTheo de Raadt
also don't pull extra goop into the selector (do not use ls -l) diff from halex ok krw
2010-03-09Tweak default set selection so X sets are in the default list whenKenneth R Westerback
/etc/X11 already exists. So if you install X to a headless machine and then upgrade you don't have to remember to add X sets. Idea from landry@ who installs to a lot of ports boxen. ok halex@ beck@ deraadt@
2010-03-04Gracefully handle trailing '/'s when asking for [sub]Timezones.Kenneth R Westerback
i.e. ignore them all. Problem pointed out by Sebastian Rother. More script discipline and voodoo from halex@. ok halex@ deraadt@
2010-03-02The -stable default ftp directory should not be snapshots/$ARCH.Kenneth R Westerback
The normal release directory is a less surprising default. Suggested by henning@ a while ago. Working script incantation courtesy of several cluebats from halex@. No strong opposition. ok deraadt@
2010-01-13match the 'use 127.0.0.1/8 instead of 127.0.0.1 for clarity' change in netstartTodd T. Fries
sure henning@
2010-01-03Since we can now recognize new disks as they appear, loop waitingKenneth R Westerback
for a root disk to appear if no disks are initially found. Diff & ok from halex@, idea from deraadt@
2009-07-23Don't use the presence of /etc/fstab to determine if all filesystemsKenneth R Westerback
are umount'd at the start of install/upgrade. As halex@ pointed out 'umount -af' doesn't actually use /etc/fstab, so just always do it. Fixes situations where bailing out of install/upgrade before /etc/fstab was created meant filesystems were not umount'd and restarting the install/upgrade would fail. Noticed & prodded deraadt@
2009-07-14Add a couple of missing ';;'s in case statements. Both are justKenneth R Westerback
before the 'esac' so there should be no functional change, but consistancy feels so good. ok halex@
2009-07-09The cd install method is called cd, not cdrom. This gets told to theTheo de Raadt
back end, which feeds it back to us next time, and since we don't know what it means... we ignore it. That is dumb.
2009-07-06Fix handling of install info saving and fetching. May still be someKenneth R Westerback
interesting behaviour with v6 '[]' ftp syntax, but best we can do for 4.6. Testing and tweaking from halex@ and phessler@, and a host of others in various previous versions. ok halex@ deraadt@.
2009-07-03jmc becomes upset when nouns are used as verbs; via krwTheo de Raadt
2009-07-01Do not default to disk installs; ftp or cdrom covers 99% of users; ok krwTheo de Raadt
2009-06-29Revert 1.558, making the installer (in the worst case) use the base-setTheo de Raadt
localtime zone for decision making. But when we get into that situation, also skip timezone manipulation the first time (before base install) and defer it to after the base install (since that is the only time that file exists). Complicated? It could be worse.. ok krw halex
2009-06-19Don't create bogus hosts file entries if too few parameters areKenneth R Westerback
passed to addhostent(). Noticed by sthen@ and jsing@. ok halex@ deraadt@