summaryrefslogtreecommitdiffstats
path: root/sys/conf/Makefile.i386
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2001-04-25 06:19:58 +0000
committerimp <imp@FreeBSD.org>2001-04-25 06:19:58 +0000
commit3a77c500a93ed027c8d6959da8f6ecc3c7752441 (patch)
tree3ba32a74a31e6edd62e07060abd8f51a55f16653 /sys/conf/Makefile.i386
parentdaedbc6cd1bb627cca3c00efaaf196c61aad3f10 (diff)
downloadFreeBSD-src-3a77c500a93ed027c8d6959da8f6ecc3c7752441.zip
FreeBSD-src-3a77c500a93ed027c8d6959da8f6ecc3c7752441.tar.gz
Ignore chflags errors. This makes installing to nfs mounted target
directories work.
Diffstat (limited to 'sys/conf/Makefile.i386')
-rw-r--r--sys/conf/Makefile.i3864
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/conf/Makefile.i386 b/sys/conf/Makefile.i386
index 55b4f54..69ca923 100644
--- a/sys/conf/Makefile.i386
+++ b/sys/conf/Makefile.i386
@@ -258,14 +258,14 @@ kernel-install kernel-install.debug:
mv ${DESTDIR}${KODIR} ${DESTDIR}${KODIR}.old
.endif
mkdir -p ${DESTDIR}${KODIR}
- @if [ -f ${DESTDIR}${KODIR}/${KERNEL_KO} ] ; then \
+ @-if [ -f ${DESTDIR}${KODIR}/${KERNEL_KO} ] ; then \
chflags noschg ${DESTDIR}${KODIR}/${KERNEL_KO} ; \
fi
install -c -m 555 -o root -g wheel -fschg \
${KERNEL_KO}${.TARGET:S/kernel-install//} ${DESTDIR}${KODIR}
kernel-reinstall kernel-reinstall.debug:
- @if [ -f ${DESTDIR}${KODIR}/${KERNEL_KO} ] ; then \
+ @-if [ -f ${DESTDIR}${KODIR}/${KERNEL_KO} ] ; then \
chflags noschg ${DESTDIR}${KODIR}/${KERNEL_KO} ; \
fi
install -c -m 555 -o root -g wheel -fschg \
OpenPOWER on IntegriCloud