Ignore chflags failure so that doMFSKERN won't abort on an NFS mounted

filesystem.
This commit is contained in:
Don Lewis 2000-11-05 15:38:05 +00:00
parent d777543987
commit 937d0d5119
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=68364

View File

@ -854,7 +854,7 @@ doMFSKERN:
@rm -rf ${RD}/image.${FSIMAGE}
@mkdir ${RD}/image.${FSIMAGE}
@cd ${RD}/kernels && \
chflags noschg BOOTMFS && \
(chflags noschg BOOTMFS || true) && \
strip BOOTMFS && \
cp BOOTMFS BOOTMFS.${FSIMAGE} && \
[ -r BOOTMFS.hints ] && mv BOOTMFS.hints BOOTMFS.${FSIMAGE}.hints