summaryrefslogtreecommitdiff
path: root/distrib/miniroot
AgeCommit message (Collapse)Author
2015-01-30remove rndc (from bind) as well, ok deraadtStuart Henderson
2015-01-29At upgrade time delete sendmail,named,nginx,openssl binaries becauseTheo de Raadt
they may reside earlier in the path than a pkg. prompted by tedu, with halex
2015-01-24In shell statements use shell pattern '+([0-9])', not sed regularKenneth R Westerback
expression '[0-9]*'. Should fix problem reported by jsg@ where 'hostname.vlan6.bak' was deemed to be an active vlan specification during upgrade. No change to script output. Tested by rpe@. ok halex@ rpe@
2015-01-17Remove unnecessary double-quotes inside [[]].Robert Peichaer
OK krw@
2015-01-17Uppercase global vars (auto -> AUTO, respfile -> RESPFILE)Robert Peichaer
OK krw@ deraadt@
2015-01-12Enable lid suspends by default in the kernel, and remove the question fromTheo de Raadt
the installer. We used a full release cycle to learn that suspend/resume is reliable enough for this default. Personal policy can disable this using machdep.lidsuspend=0 in /etc/sysctl.conf ok more people begging, and less people whining
2015-01-07Cleanup network config after fetching the responsefile. This enablesRobert Peichaer
automatic upgrades on systems with trunk interfaces. OK krw@
2015-01-07Fix get_ifdevs() - don't filter vlan interfaces.Robert Peichaer
OK krw@
2015-01-04back to using ramdisk encrypt again. theo found and fixed the (my) bug.Ted Unangst
2015-01-04go back to using /mnt encrypt. it seems something isn't working yet.Ted Unangst
2015-01-02Fix saving dhclient lease files during installation.Robert Peichaer
OK krw@
2015-01-01Enable 'ifconfig -C' (list dynamic interface types) on installKenneth R Westerback
media. Use this feature in install scripts to eliminate manually maintained list of dynamic interface types. '-C' brought to my attention by reyk@, tweaks to install script to use -C in get_ifdevs() from rpe@. ok rpe@ deraadt@
2014-12-29encrypt is now built into instbin, do not need to use the /mnt versionTheo de Raadt
2014-12-29switch encrypt to auto scaling bcrypt rounds. ok deraadtTed Unangst
2014-12-28Build special/encrypt into instbin, to prepare for dropping use of theTheo de Raadt
version in just installed base.
2014-12-27SRCDIRS must now always come from distrib/special. A few systemsTheo de Raadt
still MD installboot, and we will need to repair those before release, or force them pure -static use by both base and instbin.
2014-12-26Remove upgrade_to64time_t() now that the transition to 64 bit time_tRobert Peichaer
is done. diff from tj at mrsk.me OK halex@ deraadt@
2014-12-10Time to murder some smtpd's related XXXGiovanni Bechis
ok rpe@ deraadt@
2014-12-03rtsol(8) is no longer needed on the ramdisks.Florian Obser
OK deraadt@
2014-12-03The kernel handles rtsol(8) functionality since some time now.Florian Obser
Treat rtsol in hostname.if as a keyword like dhcp and call ifconfig inet6 autoconf. "reads good" todd@ OK krw@ (who is *not* an IPv6 person), but I recruited him in his capacity as an installer person.
2014-11-18Delete tmp directory in /mnt/var during upgrades right before theRobert Peichaer
extraction of baseXX.tgz creates the symlink to ../tmp. OK deraadt
2014-11-11Store autoinstaller logfile in /mnt/var/log to be available afterRobert Peichaer
reboot and to cope with an upcoming change to /var/tmp. Noted by and OK halex@ OK deraadt@
2014-10-26Defer processing hostname.if files for trunks, svlans and vlansKenneth R Westerback
during upgrades. This ensures all physical interfaces are configured first, as is done in /etc/netstart. Currently only vlans are present in install images, but that could change. Requested by many so trunks might work during upgrades. Prodded by henning@ actually creating a diff to add trunks to boot images. Tested & ok rpe@ sthen@
2014-10-23Extend autoinstall(8) feature:Robert Peichaer
- Ask for responsefile location (url or local path) if dhcp discovery fails for location or mode. If 'next-server' is found in dhcp lease file, provide a default url http://next-server/install.conf. - Ask for installer mode if the specified response file name does not match *install.conf or *upgrade.conf. - If present, use /auto_install.conf or /auto_upgrade.conf as response file for unattended installation or upgrade. - Automatically start installer in unattended mode if either one of these files is present when the system boots. - Document changes in manpage and installation notes. OK krw@ deraadt@
2014-10-08sl(4) was tedu'd. No need to filter it out of interface list anymore.Kenneth R Westerback
2014-09-26make the default of the "Change the default console" question dependSebastian Benoit
on whether the install is done on a serial console. ok halex@, deraadt@ likes it too
2014-09-05Remove /etc/{hosts,myname} from etc.tgz.Antoine Jacoutot
Make the installer create the /etc/hosts template. While here, re-add a missing 'echo' from install.sh. ok miod@ krw@ halex@
2014-08-31The xetc set is now part of xbase and not distributed separately anymore.Robert Peichaer
Extract it from xbase during installation. OK ajacoutot@
2014-08-27Nuke net.inet6.icmp6.rediraccept and allow redirects on interfacesFlorian Obser
with autoconf enabled. If one is doing SLAAC one does already trust link local icmp6 so the policy for icmp6 redirects should be the same. pointed out by & OK bluhm@; OK henning@
2014-08-26Create etc set during 'make build' and embed it in base set to makeRobert Peichaer
it available during a regular install or upgrade so that it doesn't need to be independently fetched. Idea, directions and OK deraadt@ Feedback and Ok halex@ and aja@
2014-08-10[] -> [[]]Robert Peichaer
OK krw@ "well ok" halex@
2014-08-10Convert if foo; then bar; fi blocks to foo && bar but leave out enable_network()Robert Peichaer
because it shares code&style with /etc/netstart. No functional change. with feedback and OK krw@ halex@
2014-08-10{ foo ; bar ; } -> { foo; bar; }Robert Peichaer
OK krw@
2014-08-09After a cleanup by deraadt I noticed the four-space-indent had startedAlexander Hall
infesting the scripts. As we generally use a single tab for line continuation indent in the scripts, let's reclaim 30 precious bytes! ok rpe@ krw@
2014-08-03smtpd got privsep'ed and the _smtpq user is now used to manage theseRobert Peichaer
directories. Ensure proper ownership in case smtpd has been started before this change. brought up by matthieu@ OK deraadt@
2014-07-28Avoid matching a particular driver for "aperture needed" detection.Mark Kettenis
On sparc64 we also need to match machfb(4) in addition to vgafb(4) so let's just match any driver. ok halex@, deraadt@
2014-07-28Change detection of unconfigured vlan interfaces from using flags toRobert Peichaer
looking for vlan id and parent interface. This avoids the creation of unconfigured vlan interface every time /install is restarted. Noted by and OK miod@ OK krw@ Positive feedback sthen@ claudio@
2014-07-22use a better style of sh code around apertureTheo de Raadt
2014-07-22tab->space; consistent with the other sysctl values.Antoine Jacoutot
2014-07-22Drop the "... during install" comments; they were missing in severalAntoine Jacoutot
places and it makes things simpler: no need to check for file existence. discussed with and ok deraadt@ rpe@
2014-07-21Bring back net.inet6.icmp6.rediraccept for rtsol. Pointed out byChristian Weisgerber
bluhm@ three days ago, oops.
2014-07-21Since net.inet6.ip6.accept_rtadv is gone, the installer shouldn'tChristian Weisgerber
set it. Provisionally drop net.inet6.icmp6.rediraccept, too.
2014-07-20if we think this is a laptop (wsdisplay.....) ask a lidsuspendTheo de Raadt
question. Let's see who whines.
2014-07-20match on vga1 or vgafb0, well, let's just call it vga.* for nowTheo de Raadt
2014-07-20place sysctl in sorted order; Jean-Philippe OuelletTheo de Raadt
2014-07-16convert to new readable format; requesting post-commit review by ingoTheo de Raadt
2014-07-16spacesTheo de Raadt
2014-07-16Add a comment at the top of sysctl.conf when it is created by theAntoine Jacoutot
installer. ok deraadt@ rpe@
2014-07-15Create /etc/sysctl.conf based upon the 3 variables we might want to setTheo de Raadt
at install time. ok aja
2014-07-13Only set machdep.allowaperture if 'vga1: aperture needed' is foundRobert Peichaer
in dmesg output. Use that information to decide whether or not to ask the user if he intends to use X. initial diff from and OK halex@ OK deraadt@