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:
David E. O'Brien 2001-04-29 01:53:57 +00:00
parent 6fc237b59f
commit d856af0b1a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=76114
5 changed files with 10 additions and 0 deletions

View File

@ -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}

View File

@ -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}

View File

@ -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}

View File

@ -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}

View File

@ -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}