summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall
diff options
context:
space:
mode:
authorceri <ceri@FreeBSD.org>2006-05-04 20:10:34 +0000
committerceri <ceri@FreeBSD.org>2006-05-04 20:10:34 +0000
commit5c4e0f103ddef933d54d40934deb7415b6e7ab74 (patch)
treeeb0e3025e969cf995391915abe22db7146767a0f /usr.sbin/sysinstall
parentcb7d941f7e4dece648bbb97732bcb76b308a595a (diff)
downloadFreeBSD-src-5c4e0f103ddef933d54d40934deb7415b6e7ab74.zip
FreeBSD-src-5c4e0f103ddef933d54d40934deb7415b6e7ab74.tar.gz
Fix binary upgrades by accounting for the schg flag on /var/empty.
PR: 96711, 96780 Submitted by: Nobuyuki Koganemaru, Martin Jackson Approved by: re (scottl) MFC after: 1 day
Diffstat (limited to 'usr.sbin/sysinstall')
-rw-r--r--usr.sbin/sysinstall/installUpgrade.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/sysinstall/installUpgrade.c b/usr.sbin/sysinstall/installUpgrade.c
index faa6e3c..fef7a89 100644
--- a/usr.sbin/sysinstall/installUpgrade.c
+++ b/usr.sbin/sysinstall/installUpgrade.c
@@ -290,7 +290,7 @@ installUpgrade(dialogMenuItem *self)
}
msgNotify("chflags'ing old binaries - please wait.");
- (void)vsystem("chflags -R noschg /bin /sbin /usr/sbin /usr/bin /usr/lib /usr/libexec /kernel*");
+ (void)vsystem("chflags -R noschg /bin /sbin /usr/sbin /usr/bin /usr/lib /usr/libexec /var/empty /kernel*");
if (file_readable("/kernel")) {
msgNotify("Moving old kernel to /kernel.prev");
OpenPOWER on IntegriCloud