summaryrefslogtreecommitdiff
path: root/distrib/miniroot/upgrade.sh
AgeCommit message (Collapse)Author
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-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-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-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@
2000-05-12fix an oopsie; millertTheo de Raadt
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-03-19populateusrlocal: create the right hierarchy under /usr/localMarc Espie
right before unmounting the new system. Beats having mtree files around every package...
1999-10-08When making timezone link just say what it is doing, don't sayTodd C. Miller
"doing...done" since it takes no noticable time...
1999-08-15o When clearing a variable, do ``foo='', not ``foo=""'' to save 2 bytes.Todd C. Miller
There are other places where double quotes are used unnecessarily as well o Kill md_copy_kernel() and check_kernel() since the kernel is now a 'set' o Add support for shell escapes from any prompt o Consolidate post-install_sets sanity checks and put them in sane_install(). o install_sets() now calls sane_install() to do the sanity checks and won't let you continue until things are sane (as far as it can determine).
1998-09-11mi get_ifdevs()Todd C. Miller
1997-07-09Don't do needless sync and change -fast to -check in unmount_fs()Todd C. Miller
1997-05-14md_machine_arch must be done after md_makerootwritable (for /kern)Todd C. Miller
1997-05-13Explicately mention what editor is being used.Todd C. Miller
1997-05-03Disable twiddle() as it causes problems on some architecturesThorsten Lockert
Actually install machine dependant sets if there are any specified Special-case a set named "kernel" so that it will copy "bsd" to the root disk
1997-04-30We run OpenBSD. we also want vim acting as vi.Niklas Hallqvist
1996-09-05sync to netbsdTheo de Raadt
1996-03-28From NetBSD: merge of 960317Niklas Hallqvist
1996-01-07update from netbsdTheo de Raadt