From 3a77c500a93ed027c8d6959da8f6ecc3c7752441 Mon Sep 17 00:00:00 2001 From: imp Date: Wed, 25 Apr 2001 06:19:58 +0000 Subject: Ignore chflags errors. This makes installing to nfs mounted target directories work. --- sys/conf/Makefile.i386 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/conf/Makefile.i386') 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 \ -- cgit v1.1