summaryrefslogtreecommitdiff
path: root/distrib/miniroot
AgeCommit message (Collapse)Author
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-06Try a more detailed message about the timeTheo de Raadt
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-31put date(1) onto the media, it fitsTheo de Raadt
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-10remove and move some chatty byte during upgrade startup; ok krw, idea from ↵Theo de Raadt
mcbride
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@
2010-01-01add arch(1) to the ramdisk, it is tiny and we will soon need itTheo de Raadt
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-10We should be using the $SERVERLISTALL (not the url-only $SERVERLIST) toTheo de Raadt
decide to talk-back. Sigh.
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-02Do *not* newfs non-ffs partitions while installing. Even if someoneKenneth R Westerback
has entered 'n i' in disklabel and caused a mountpoint to be saved for the non-ffs partition. Discovered by and fix tested by mgrimm@. ok deraadt@.
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-27Add initial user to the 'staff' class.Antoine Jacoutot
ok deraadt@, ok krw@
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@
2009-06-12make the interrupt handler in install.sub print a linefeed and also makeAlexander Hall
sure to enable echoing of the input to the tty ok krw@
2009-06-12Put back the once-only code that krw removed earlier, because we want ^CTheo de Raadt
from the install script to go to the # prompt, not back to the question.
2009-06-12Avoid vlan explosion reported by deraadt@, sthen@ and jsing@ whenKenneth R Westerback
^C'ing and restarting the install script. When looking for the next vlan to offer, stop at the first unconfigured one rather than the first non-existant one. ok deraadt@
2009-06-11krw must not have tested his dhcp change from a scratch bootTheo de Raadt
2009-06-11No need to show the filename the duplicate mount point was detectedKenneth R Westerback
in. Noticed in an error message from todd@.
2009-06-11Make 'dhcp' the default answer only if no other interface hasKenneth R Westerback
been configured to use dhcp. Requested by deraadt@.
2009-06-10A tighter printing format for the SHA256 hashes.Theo de Raadt
2009-06-10On systems without keyboard setting, the hostname choice had no blank lineTheo de Raadt
above it. It disturbed me deeply.
2009-06-10Count existing vlan's so restarting the script doesn't lose track ofKenneth R Westerback
which vlan to create next.
2009-06-10when sets cannot be found, do the 4-space indent dance to make theTheo de Raadt
failure list a whole lot prettier. ok todd
2009-06-10the interface list should not be sorted. use the order that ifconfigTheo de Raadt
chooses, since that is the order people are used to. krw remembered some weird behaviour, but i tested and could not find it ok krw
2009-06-09Update the user input routines to (re-evaluate and) redraw theAlexander Hall
question if dmesg changes are detected. The password reading routines are not subject to these changes at this point. ok deraadt@, krw@
2009-06-09Tighten and tweak keyboard question. Use 'layout' instead of 'type'Kenneth R Westerback
as suggested by mk@. Shortened verbiage allows us to bring back 'L' as a way to list the alternate layouts, as pointed out by Andr?s on tech@. On some keyboards finding the '?' can be a challenge before the layout is set. ok deraadt@
2009-06-07More tersification. Fixes verbiage issue reported by jdixon@ onKenneth R Westerback
icb.
2009-06-05add some hostname sanity checkAlexander Hall
honour the path part of the suggested hostname/path combo "please commit" deraadt@
2009-06-04Implement '!' and '!<cmd>' at the "(I)nstall ..." prompt so weKenneth R Westerback
aren't lying about being able to do that at any prompt. Suggested by deraadt@