summaryrefslogtreecommitdiff
path: root/distrib/miniroot
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2015-03-08 13:13:49 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2015-03-08 13:13:49 +0000
commit4b72458a4100ead5e2d6f3ac31c6902b7e74c642 (patch)
treee7b25f529cec8a1ca8ef4a1bd244491d72bc7373 /distrib/miniroot
parent28dc2984a040aaeaf485e3c8beb379163269c9cb (diff)
last rev fixed upgrades, but broke installs, sigh. use on-bsd.rd sdboot
for LIF/header creation, pre-disklabel. post-install/upgrade, this gets redone, this time with -r /mnt to pick up the new sdboot file ok krw jsing miod
Diffstat (limited to 'distrib/miniroot')
-rw-r--r--distrib/miniroot/install.sub4
1 files changed, 2 insertions, 2 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub
index 4b67d781d8e..16f086ad002 100644
--- a/distrib/miniroot/install.sub
+++ b/distrib/miniroot/install.sub
@@ -1,4 +1,4 @@
-# $OpenBSD: install.sub,v 1.813 2015/03/05 17:56:35 krw Exp $
+# $OpenBSD: install.sub,v 1.814 2015/03/08 13:12:50 deraadt Exp $
#
# Copyright (c) 1997-2009 Todd Miller, Theo de Raadt, Ken Westerback
# All rights reserved.
@@ -1956,7 +1956,7 @@ finish_up() {
# dynamic. That is highly discouraged, but let us play it safe.
rm -f /mnt/var/run/ld.so.hints
- [[ -x /mnt/$MODE.site ]] && /mnt/usr/sbin/chroot /mnt /$MODE.site
+ [[ -x /mnt/$MODE.site ]] && chroot /mnt /$MODE.site
# In case this is a softraid device, make sure all underlying
# device nodes exist.