MFC r1.87:
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)
This commit is contained in:
parent
fd704b212b
commit
bd6ba582ca
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user