summaryrefslogtreecommitdiff
path: root/distrib/miniroot
AgeCommit message (Collapse)Author
2014-07-12xbase has its own cpp now so it doesn't depend on comp anymore.Robert Peichaer
Remove the code introduced in r1.723 to tie them together. OK deraadt@
2014-07-11take the directories specified by BSD.local.dist, and add them intoTheo de Raadt
4.4BSD.dist. The base set grows by a tiny amount, but we no longer need to run chroot'd dynamic mtree from the installer. ok espie halex schwarze
2014-06-16Allow autoinstall to fetch/install sets from multiple locations.Robert Peichaer
Noted by and OK sebastia@ OK halex@
2014-06-09remove sysmerge leftoversRobert Peichaer
OK halex@ krw@
2014-05-11Fix configuration of static IPv6 default gatewayRobert Peichaer
- Append IPv4 default gw to /tmp/mygate instead of overwriting it. - Delete /tmp/mygate at the beginning of configure_ifs() to reset previous default gw config on installer restarts. pointed out by todd@ OK halex@ krw@
2014-05-10Fix v6_defroute() for automatic installation.Robert Peichaer
OK krw@ halex@
2014-05-08"Server?" -> "HTTP Server?" to allow unambiguous auto-installKenneth R Westerback
handling. Confusion with "NTP Server?" reported by Xavier Claude via misc@. ok rpe@ halex@
2014-05-05Redirecting stderr to /dev/null suppresses all errors. Instead useAlexander Bluhm
the new status=none feature to make dd quiet. OK krw@ deraadt@
2014-05-04Revert previous. Insufficient discussion. IntroducesKenneth R Westerback
inconsistancy between configured and unconfigured interfaces. Requested by deraadt@
2014-05-04Make answering 'none' to the installer question "IPv6 address?" resultKenneth R Westerback
in no IPv6 address, by appending '-inet6' to the generated hostname.<if> file. Less surprising to many people. ok henning@ reyk@ beck@ rpe@
2014-04-25filter excess data from autoinstall output *before* it ends up in theAlexander Hall
log file on the ramdisk, in order not to run out of its precious space reported by, tested and ok sebastia@
2014-04-21Avoid a loop during autoinstall in case the path in the responsefile doesRobert Peichaer
not exist. OK halex@ krw@
2014-04-21Change dhcp_request() and v4_config() to be able to configure dhcpRobert Peichaer
for an interface without an active network connection. - Don't write options to dhclient.conf that are default. Only use the 'host-name' option for hostname associated dhcp requests. - Run dhclient with options to reduce the time it takes to finish in case it gets no answer from a DHCP server. - Don't bother removing the interface from group dhcp and save the configuration files even if dhclient fails. If the same interface is statically configured later, it is removed from the group dhcp. - Add 'dhcp' to hostname.if file regardless whether dhcp_request() was successful or not. - Change the Netmask question to be more autoinstaller friendly. based on krw's work discussed with and OK krw@
2014-04-21Use a better way that ensures that NIFS is really 0 if there are noRobert Peichaer
hostname.if files. suggested by and OK halex@ OK krw@
2014-04-21NIFS is supposed to represent the number of configured interfaces.Robert Peichaer
If an interface got configured twice, NIFS must not be incremented. So count the number of hostname.if files instead. discussed with and OK krw@
2014-04-20Only issue a single dhcp requests per interface with the host-nameRobert Peichaer
option set. Remove the second request, which does not provide the host-name option. The client supplied hostname is used in certain setups by DHCP servers to update DNS records on behalf of clients and ensures that the hostname information is in the lease db. discussed with deraadt ok krw@ halex@
2014-04-20Simplify shell pattern.Robert Peichaer
OK krw@
2014-04-19populateusrlocal() is used only once in finish_up(). Just fold it in there.Robert Peichaer
OK krw@ halex@
2014-04-19Simplify things by using the return code of ask_yn() directly insteadRobert Peichaer
of looking in resp. No need to specify 'no' as default answer. It's the default for ask_yn() anyway. OK krw@ halex@
2014-04-16Tweak network interface configuration so that after 1st attemptedKenneth R Westerback
(rather than first successfull) configuration, the default selection becomes [done]. This allows one to <cr> past network configuration. e.g. when dhcp is not working. Requested by deraadt@. ok halex@.
2014-04-04Change HTTP_PROXY back to http_proxy. This is an environment variableKenneth R Westerback
for ftp(1) and not an install script global variable. Pointed out by rpe@, and probably explains M. Lucas's problems of a few days ago. ok sthen@ halex@
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-21remove irksome useless commentsTheo de Raadt
2014-02-21remove stupid comment from decades ago. Proof is in the pudding, turnsTheo de Raadt
out ksh is the perfect language to write this in.
2014-02-21Do not need to know the shell service on the install media.Theo de Raadt
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-04simplify removal of fstab leftovers in /tmpRobert Peichaer
OK halex@
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-02remove -e sed option where only one command is usedRobert Peichaer
ok halex@ krw@
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@