summaryrefslogtreecommitdiff
path: root/distrib/miniroot
AgeCommit message (Collapse)Author
2012-07-08Move functionality from ask() to _ask() to make the latter more usefulAlexander Hall
from other places. ok krw@
2012-04-21remove the "Do you want to do any manual network configuration?" question.Henning Brauer
there is barely ever a need to do so these days, I for one don't remember ever using it, and we have a well documented way of escaping to a shell at any point in the install process, which the installer conveniently points out right at the beginning. stumbled upon while reviewing the upcoming 2nd edition of Michael Lucas' "Absolute OpenBSD" ok sthen deraadt halex krw
2012-04-20As noted by Kent R. Spillner this file is unused, so move it to the attic.Alexander Hall
ok deraadt@
2012-03-19Add a comment about harmless warning emitted by tic with -r to theNicholas Marriott
TERMCAP stanza, no longer replace tabset (not needed anymore) and remove blank lines from output termcap file. ok deraadt millert
2012-03-12more cleanup of the bad style of closing fd 0-2Alexander Hall
pre-lock ok krw@
2012-01-31redirect stdout to /dev/null instead of closing itAlexander Hall
ok krw@
2011-11-22MAKEDEV never reports failure, always returning 0. So check forKenneth R Westerback
error messages to detect failure to create a device. Provides the user the intended chance to proceed without mounting a filesystem whose device can't be created. Particularly useful for softraid encrypted partitions that are not needed during an upgrade. ok halex@
2011-11-08Now that the code is well tested, don't ask the firmware questionTheo de Raadt
anymore. Saves 141 precious bytes on the inside of the media. ok krw
2011-10-18Fix xkb mistake: remove symbols/srvr_ctrl directory that is now a fileMatthieu Herrb
in xshareXX.tgz before extracting it. With feedback from halex@, krw@ and deraadt@.
2011-08-17make sure to set two rtsol sysctls, not just the last oneTodd T. Fries
ok krw@
2011-08-08revert the last commit and do the right thing instead.Alexander Hall
tested and ok krw@, "get it in" deraadt@
2011-08-07Check that timezones provided by the user do not include spaces.Kenneth R Westerback
e.g. 'Brazil/DeNoronha East'. Input with embedded spaces put the install script into a state where a valid timezone could not be entered. Problem noted by and fix tested by Javier Bassi. ok deraadt@
2011-08-02Disable upgrade-time sysmerge for the 5.0 release. Between 4.9 and 5.0Theo de Raadt
/etc has changed in substantial ways. Perhaps on the 5.0->5.1 transition this will not be so scary. As it is now, it is way too tempting for inexperienced users with incredibly complex configurations to go into sysmerge and cause themselves major havoc.
2011-08-02Say "firmware files" instead of "firmwares". It is so hard to be clearTheo de Raadt
when they are per-device packages which can containing more than one firmware files.. from sthen
2011-07-28remove unneeded echo in rc.firsttime, since fw_update became more verboseAlexander Hall
ok deraadt krw
2011-07-24use the right sysctl, doh!Federico G. Schwindt
pointed out by Moritz Grimm (mgrimm-at-mrsserver-dot-net)
2011-07-23uncomment net.inet6.ip6.rediraccept from /etc/sysctl.conf as well if theFederico G. Schwindt
user picks up rtsol. reported in bugs@ by Rene Maroufi (info at maroufi dot net). bluhm@ ok
2011-07-14Fix a bug reported by "Remco" on misc@ where sysmerge(8) would fail toAntoine Jacoutot
run when upgrading using a CD. The reason was that at the time sysmerge(8) would run (and gets its sets), the CD would be unmounted. We are now taking a different approach and get the (x)etc sets anyway according to whether base and/or xbase was selected and put them under /tmp in the chroot. This way whatever upgrade method is chosen, the sets will always be in a consistent location. ok krw@
2011-07-09move the 'updating firmwares' message into rc.firsttime rather than havingAlexander Hall
startup-like output in fw_update "looks good" deraadt@
2011-07-09delete the ld.so.hints file on the ramdisk, because I am worried aboutTheo de Raadt
future messes now that there are a few more dynamics programs running in chroot.
2011-07-09Unbreak sysmerge(8) with 'disk' install media.Antoine Jacoutot
reported by and ok krw@
2011-07-09Ask to install non-free firmwares at first bootAlexander Hall
"go ahead" deraadt@
2011-07-08make exiting the shell take you back to the inital promptAlexander Hall
"i like" henning@, "Fine with me" deraadt@
2011-07-06"Tweak previous", akaAlexander Hall
- Globals variable names should not start with an underscore - Fetch {,x}etcNN.tgz from where we found the corresponding base (meaning it must not be the same place) "reads ok" todd@, ok krw@
2011-07-06Remove the verbiage about manually merging 'etc' on upgrade. You getAntoine Jacoutot
the sysmerge(8) question now which makes it pretty obvious. ok krw@
2011-07-06As non-mp install.md's neither set NCPU, nor will have a bsd.mp,Alexander Hall
we could as well pull the 'mv bsd.mp bsd' and the associated checks out of there. ok deraadt@ "makes sense" todd@
2011-07-06Add a new question to run sysmerge(8) at the end of an upgrade; defaultsAntoine Jacoutot
to no. The way it works is as follow: - if baseXX was selected during the upgrade, etcXX will be added to the args to pass to sysmerge(8) - if xbaseXX was selected during the upgrade, xetcXX will be added to the args to pass to sysmerge(8) Note that etcXX and xetcXX will always be fetched from the first installation source that was configured during the upgrade (it is most likely that other sources contain site specific sets rather than the base ones). This option will not be available when using tape. "read good" krw@ prodded by and ok (with love) pirofti@, ok deraadt@
2011-07-04there is no need to do the rtsol check (whether to enableAlexander Hall
net.inet6.ip6.accept_rtadv in sysctl.conf or not) on updates as then we dont do any network config, so move it from install.sub to install.sh idea not rejected by IPv6-enabled bluhm@ ok krw@ deraadt@
2011-04-18Deprecate vnds in favour of svnds.Thordur I. Bjornsson
In effect, this removes the "old" vndX nodes, and renames the svndX nodes to vndX. Old svndX nodes will still continue to work though, for now. Cleanup accordingly. ok deraadt@, todd@ comments and ok on the man page bits from jmc@
2011-04-17Make DUID fstab the default so we can see how people like it. RequestedKenneth R Westerback
by deraadt@.
2011-04-17First crack at enabling the installation of a DUID version ofKenneth R Westerback
/etc/fstab, after asking user. Current default is existing behaviour. Feedback & suggestions deraadt@, halex@, jsing@, todd@. ok deraadt@
2011-04-04If we choose to create a user during installation, put it intoAntoine Jacoutot
/root/.forward. "makes sense" kettenis, ok pirofti@ deraadt@
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-02-07Use absolute path to the temporary hosts file; causes /etc/hosts to be correctlyMiod Vallat
populated upon installation again.
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-10like in /etc/rc, talk to /dev/arandom as a single read or write.Theo de Raadt
in particular a single write will result in a single re-key event, rather than 64 writes causing 64 re-keys -- wasting the kernel's time.
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-12-22remove redundant junkTodd T. Fries
pointed out by Mikalaj Kucharski, mikolaj at kuharski dot name ok deraadt@
2010-12-22add more commands of output of random "junk" to arandomTodd T. Fries
please commit deraadt@
2010-12-22wow, we must reach into the chroot for /dev/arandom, meaning some ofTheo de Raadt
this code has been busted for quite a while. pointed out by miod
2010-12-22Consistantly use /dev/arandom for feeding entropy to the kernel.Theo de Raadt
ok kjell otto miod
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