diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2011-08-02 20:40:53 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2011-08-02 20:40:53 +0000 |
commit | 5f10cb3b0fb59369a6f910594382901c990f07b1 (patch) | |
tree | c4843423c62f719ab7bf55793dc6bcb3a71d68fd | |
parent | a5daf3b8769daaffbec7cefa5453f35090d04422 (diff) |
Disable upgrade-time sysmerge for the 5.0 release. Between 4.9 and 5.0
/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.
-rw-r--r-- | distrib/miniroot/install.sub | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub index b471d650a28..56d95cf7b86 100644 --- a/distrib/miniroot/install.sub +++ b/distrib/miniroot/install.sub @@ -1,4 +1,4 @@ -# $OpenBSD: install.sub,v 1.649 2011/08/02 15:52:04 deraadt Exp $ +# $OpenBSD: install.sub,v 1.650 2011/08/02 20:40:52 deraadt Exp $ # $NetBSD: install.sub,v 1.5.2.8 1996/09/02 23:25:02 pk Exp $ # # Copyright (c) 1997-2009 Todd Miller, Theo de Raadt, Ken Westerback @@ -1635,12 +1635,13 @@ install_sets() { } run_sysmerge() { - if [[ -n "$SM_ARGS" || -n "$SM_ARGSX" ]]; then - ask_yn "Merge the new etc/xetc install sets using sysmerge(8)?" no - if [[ $resp == y ]]; then \ - /mnt/usr/sbin/chroot /mnt /usr/sbin/sysmerge $SM_ARGS $SM_ARGSX - fi - fi + echo "Please run sysmerge(8) after rebooting to repair your /etc configuration." + #if [[ -n "$SM_ARGS" || -n "$SM_ARGSX" ]]; then + # ask_yn "Merge the new etc/xetc install sets using sysmerge(8)?" no + # if [[ $resp == y ]]; then \ + # /mnt/usr/sbin/chroot /mnt /usr/sbin/sysmerge $SM_ARGS $SM_ARGSX + # fi + #fi } update_firmware() { |