summaryrefslogtreecommitdiff
path: root/distrib/miniroot
AgeCommit message (Collapse)Author
2001-12-13Remove /etc/protocols and /etc/services from install mediaKenneth R Westerback
that use the miniroot install scripts. During an install, donetconfig() in miniroot/install.sub now creates a minimal /etc/protocols and /etc/services. During an upgrade, enable_network() now copies the existing protocols and services files into /etc. Saves approximately 13K on floppy/cd images.
2001-11-25Squeeze all obvious <blank>+<tab> and <tab><blank>+ combinationsKenneth R Westerback
out. Save about 287 bytes. Based on diff from deraadt@. Update Copyright (ok deraadt@).
2001-11-25Add capability to accept & correctly process a root password withKenneth R Westerback
trailing spaces during install. Do not make the previously entered first password value the default value if passwords do not match the first time. Update Copyright (ok deraadt@).
2001-11-24Fix bsort() so that trailing spaces are not emitted.Kenneth R Westerback
When a system is rebooted rather than power cycled it is possible for duplicate entries for a disk or cd to appear in the dmesg output. One from the previous boot and one from the current reboot. bsort() correctly filtered out the duplicates, but could emit a trailing space. This trailing space caused problems when, for instance, the root disk was being determined. With the trailing space present, the install or upgrade script would not fill in the default root disk, even if the system only had one disk.
2001-11-22Fix getresp() so that imbedded or trailing blanks in theKenneth R Westerback
default response ($1) are preserved in $resp. Fix handling of _ftp_server_login, _ftp_server_password and _url_base so any blanks present are preserved. Problem with blanks pointed out by drahn@.
2001-11-20Encode usercode/password in ftp url's as required by RFC 1738,Kenneth R Westerback
section 3.1. Allows for use of '@', ':' and '/' in usercodes and passwords without confusion. ok deraadt@
2001-11-19remove 6 spaces or tabs at end of line, making this file 6 bytes smaller. ↵Theo de Raadt
eat your heart out krw
2001-11-18Purge more (last?) comments from install scripts by removing allKenneth R Westerback
comments that, being on the end of code lines, cannot be stripped automatically. Just delete unhelpful ones, and move the rest onto separate lines where they can be stripped. Also remove a duplicated initialization of ROOTDISK. In total, reduces script size on floppy by 1117 bytes, making room for coming improvements.
2001-11-17Improve/enhance network handling during installations.Kenneth R Westerback
a) Allow user to enter empty FQDN and assume DHCP will supply one. b) Silently check for any DHCP supplied FQDN after network interfaces are initialized. *NOTE* DHCP information will now override any user supplied FQDN. c) Apply FQDN information to hosts file only after DHCP has had a chance to supply information. d) Don't modify hosts file if FQDN is empty. e) Don't preserve hosts file across install script restarts. f) Don't preserve hostname.* files across install script restarts. g) Don't preserve decision to use resolver during install across install script restarts. h) Don't allow DHCP to force use of resolver during install. i) Ensure DHCP created resolv.conf file is saved as /etc/resolv.conf. j) Add IPv6 localhost ('::1') line to hosts file. (Closes PR#2155) k) Make IPv4 and IPv6 localhost lines in hosts file look like 'X localhost.domain.name localhost' Bonus: install.sub on the floppy image is 51 bytes smaller. ok millert@
2001-10-31Fix creation of /etc/hosts file in install.Kenneth R Westerback
Obtaining the FQDN *after* calling configurenetwork(), so that DHCP info can be used, turns out to not be a good idea because /etc/hosts is created in configurenetwork(). As a result the /etc/hosts created by the 3.0 install script contains bogus entries with a '.' instead of '.<domain name>'. So, put configurenetwork() back where it was pre-3.0, i.e. after FQDN is determined. Noticed by David Krause (PR#2155). Other /etc/hosts issues (including David's ipv6 suggestion) under investigation.
2001-10-15Resync the upgrade script's enable_network() function with theKenneth R Westerback
current /etc/netstart, leaving out all code relevant to IPv6 and multicasting. In addition, ignore any '!' lines in hostname.if files and ignore any bridge.if files. This change enables dhcp configured interfaces to work during the upgrade process, amoung other improvements. Also rework FQDN handling to ensure that it is set *after* any dhcp activity and is set both during installs and upgrades. FQDN is now set from the last DOMAIN or SEARCH statement in resolv.conf. Architecture specific install.sub's (macppc, mvme68k, mvme88k, mvmeppc, sparc64) are not being updated for 3.0. ok deraadt@
2001-10-14Use double quotes around the password variable--should close PR 2114Todd C. Miller
2001-10-11Do *not* copy the possibly edited fstab back to disk afterKenneth R Westerback
promising this would not happen. Historically this was being done to preserve any ufs -> ffs changes the upgrade script had done, but the script has not done such changes for some time. ok millert@ deraadt@
2001-10-02more gnu/usr.bin before usr.binTheo de Raadt
2001-09-19Fix typo: succesfully -> successfullyKenneth R Westerback
2001-09-17zap kernfsTheo de Raadt
2001-09-11move to 3.0-betaTheo de Raadt
2001-09-04MB == megabytes, Mb == megabitsTheo de Raadt
2001-08-07suggest CET, not MET, ok deraadt@Markus Friedl
2001-06-23argh. stop using kernfs, using dmesg using sysctl. encode ARCH intoTheo de Raadt
install.md at build time. remove some crud. and the icing on the cake: skip testing all this until next week
2001-04-20Cleanup, new features, shrinkage.Kenneth R Westerback
Remove chunk of commented out, unused code. Add _didnet=1 to enable_network() so that ftp upgrade does not ask for network information it already has. Tell a user that selects the http installation method that the files will be downloaded via http. Suppress all 'softdep' options in fstab_shadow so there are no warnings when the filesystems are mounted. Suppress all non-ffs (including nfs, ufs) filesystems from fstab_shadow. Ufs was never used to install OpenBSD. Suppress all 'noauto' filesystems from fstab_shadow. Reword some comments and messages, esp. the one just before the offer to edit fstab. Punch up the fact that the fstab will not be saved, mention that non-ffs and noauto filesystems will be ignored. Move /usr/X11R6/lib/X11/{rstart,twm,xkb,xsm,xinit} directories to /usr/X11R6/lib/X11/XF3{rstart,twm,xkb,xsm,xinit} and replace with links. Links can be overwritten during upgrade. Directories can't. This enables the upgrade from XFree86 3.x to XFree86 4.x. ok deraadt@ millert@
2001-04-16Fix a couple of nits: delete some unnecessary commas andKenneth R Westerback
only print a 'Done.' for fsck'ing if fsck'ing is actually attempted. ok deraadt@
2001-04-15move to 2.9-betaTheo de Raadt
2001-03-26spellingTodd T. Fries
2001-02-23back out prev change. I should read ALL of my mail before actingMarco S Hyman
2001-02-23create dhclient.leases when needed; ok deraadt@Marco S Hyman
2001-02-12fix http handling; reported as busted by don@research-cistw.saic.comTheo de Raadt
2000-12-10ignore filesystems marked "xx"; os@atina.arTheo de Raadt
2000-11-20correct url handling; canacar@eee.metu.edu.trTheo de Raadt
2000-10-09Replace gratuitous eval by results of the evaluation, in particularChristian Weisgerber
don't eval ${_ftp_server_password}. This should allow FTP passwords that contain shell meta characters. ok millert@
2000-09-13Fix problem with bsort and multiple input data, original fix byDale S. Rahn
me, bytes saved by millert, OKed by mickey, millert.
2000-08-212.8-beta (so that X11 can distinguish login.conf)Theo de Raadt
2000-07-25deal with chflags merge, againTheo de Raadt
2000-06-23implement bubble sort in ksh instead of using sort(1).Michael Shalayeff
i think i'll fix sparc next week to use it.
2000-06-16ssl package no longer needed (will be tested)Theo de Raadt
2000-06-12fix ch* linksTheo de Raadt
2000-06-09chown/chgrp changesMichael Shalayeff
2000-06-01Add missing -n flag to getresp; noted by maurice@ivo.ig.netTodd C. Miller
2000-05-12fix an oopsie; millertTheo de Raadt
2000-05-08If there are no CD devices, abort early.Todd C. Miller
For ISO9660 CDs we can take advantage of the label spoofing and not ask the user for partition/fstype. Also shorten a few variable names. This makes CD installs go more smoothly.
2000-05-07Add -n flag to getresp, indicating shell escapes are not to be allowedTodd C. Miller
Don't show gre interfaces when prompting user for an ether device
2000-04-30When doing an upgrade, if there is an /etc/sendmail.cf and noTodd C. Miller
/etc/mail/sendmail.cf, move /etc/sendmail.cf -> /etc/mail/sendmail.cf and edit /etc/rc if needed. That way the sendmail binary will be able to find its .cf file on reboot.
2000-04-30If the site tarball included a file /install.site (upgrade.site if weTodd C. Miller
are upgrading not installing) then execute it chroot'd to /mnt. This allows people to customize the install procedure in a simple yet flexible manner.
2000-04-27ssl is now a tgzTheo de Raadt
2000-04-25kill, test and pwd are ksh builtins--no need to include standalone binaries.Todd C. Miller
2000-04-082.7-betaTheo de Raadt
2000-03-19populateusrlocal: create the right hierarchy under /usr/localMarc Espie
right before unmounting the new system. Beats having mtree files around every package...
2000-02-25'ie.' -> 'e.g.' or 'i.e.' as appropriateKenneth R Westerback
1999-11-11Only allow dhcp as an option if /sbin/dhclient exists; deraadt@Todd C. Miller
1999-10-26siteXX.tar.gz set also choosable, starting next release; mho@stacken.kth.seTheo de Raadt