mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 10:19:26 +00:00
Add back in the bits to remove any existing "schg" flags as we have
kernel's out in wild that still have these flags set.
This commit is contained in:
parent
6fc237b59f
commit
d856af0b1a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=76114
@ -292,6 +292,7 @@ kernel-install kernel-install.debug:
|
||||
fi
|
||||
.if exists(${DESTDIR}${KODIR})
|
||||
.if exists(${DESTDIR}${KODIR}.old)
|
||||
@-chflags -R noschg ${DESTDIR}${KODIR}.old
|
||||
-rm -rf ${DESTDIR}${KODIR}.old
|
||||
.endif
|
||||
mv ${DESTDIR}${KODIR} ${DESTDIR}${KODIR}.old
|
||||
@ -301,6 +302,7 @@ kernel-install kernel-install.debug:
|
||||
${KERNEL_KO}${.TARGET:S/kernel-install//} ${DESTDIR}${KODIR}
|
||||
|
||||
kernel-reinstall kernel-reinstall.debug:
|
||||
@-chflags -R noschg ${DESTDIR}${KODIR}
|
||||
install -c -m 555 -o root -g wheel \
|
||||
${KERNEL_KO}${.TARGET:S/kernel-reinstall//} ${DESTDIR}${KODIR}
|
||||
|
||||
|
@ -252,6 +252,7 @@ kernel-install kernel-install.debug:
|
||||
fi
|
||||
.if exists(${DESTDIR}${KODIR})
|
||||
.if exists(${DESTDIR}${KODIR}.old)
|
||||
@-chflags -R noschg ${DESTDIR}${KODIR}.old
|
||||
-rm -rf ${DESTDIR}${KODIR}.old
|
||||
.endif
|
||||
mv ${DESTDIR}${KODIR} ${DESTDIR}${KODIR}.old
|
||||
@ -261,6 +262,7 @@ kernel-install kernel-install.debug:
|
||||
${KERNEL_KO}${.TARGET:S/kernel-install//} ${DESTDIR}${KODIR}
|
||||
|
||||
kernel-reinstall kernel-reinstall.debug:
|
||||
@-chflags -R noschg ${DESTDIR}${KODIR}
|
||||
install -c -m 555 -o root -g wheel \
|
||||
${KERNEL_KO}${.TARGET:S/kernel-reinstall//} ${DESTDIR}${KODIR}
|
||||
|
||||
|
@ -256,6 +256,7 @@ kernel-install kernel-install.debug:
|
||||
fi
|
||||
.if exists(${DESTDIR}${KODIR})
|
||||
.if exists(${DESTDIR}${KODIR}.old)
|
||||
@-chflags -R noschg ${DESTDIR}${KODIR}.old
|
||||
-rm -rf ${DESTDIR}${KODIR}.old
|
||||
.endif
|
||||
mv ${DESTDIR}${KODIR} ${DESTDIR}${KODIR}.old
|
||||
@ -265,6 +266,7 @@ kernel-install kernel-install.debug:
|
||||
${KERNEL_KO}${.TARGET:S/kernel-install//} ${DESTDIR}${KODIR}
|
||||
|
||||
kernel-reinstall kernel-reinstall.debug:
|
||||
@-chflags -R noschg ${DESTDIR}${KODIR}
|
||||
install -c -m 555 -o root -g wheel \
|
||||
${KERNEL_KO}${.TARGET:S/kernel-reinstall//} ${DESTDIR}${KODIR}
|
||||
|
||||
|
@ -255,6 +255,7 @@ kernel-install kernel-install.debug:
|
||||
fi
|
||||
.if exists(${DESTDIR}${KODIR})
|
||||
.if exists(${DESTDIR}${KODIR}.old)
|
||||
@-chflags -R noschg ${DESTDIR}${KODIR}.old
|
||||
-rm -rf ${DESTDIR}${KODIR}.old
|
||||
.endif
|
||||
mv ${DESTDIR}${KODIR} ${DESTDIR}${KODIR}.old
|
||||
@ -264,6 +265,7 @@ kernel-install kernel-install.debug:
|
||||
${KERNEL_KO}${.TARGET:S/kernel-install//} ${DESTDIR}${KODIR}
|
||||
|
||||
kernel-reinstall kernel-reinstall.debug:
|
||||
@-chflags -R noschg ${DESTDIR}${KODIR}
|
||||
install -c -m 555 -o root -g wheel \
|
||||
${KERNEL_KO}${.TARGET:S/kernel-reinstall//} ${DESTDIR}${KODIR}
|
||||
|
||||
|
@ -252,6 +252,7 @@ kernel-install kernel-install.debug:
|
||||
fi
|
||||
.if exists(${DESTDIR}${KODIR})
|
||||
.if exists(${DESTDIR}${KODIR}.old)
|
||||
@-chflags -R noschg ${DESTDIR}${KODIR}.old
|
||||
-rm -rf ${DESTDIR}${KODIR}.old
|
||||
.endif
|
||||
mv ${DESTDIR}${KODIR} ${DESTDIR}${KODIR}.old
|
||||
@ -261,6 +262,7 @@ kernel-install kernel-install.debug:
|
||||
${KERNEL_KO}${.TARGET:S/kernel-install//} ${DESTDIR}${KODIR}
|
||||
|
||||
kernel-reinstall kernel-reinstall.debug:
|
||||
@-chflags -R noschg ${DESTDIR}${KODIR}
|
||||
install -c -m 555 -o root -g wheel \
|
||||
${KERNEL_KO}${.TARGET:S/kernel-reinstall//} ${DESTDIR}${KODIR}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user