Allow chflags(1) to fail inside the chroot environment for /R. This

can happen iff ${CHROOTDIR} is NFS-mounted.
This commit is contained in:
Joerg Wunsch 1999-01-12 15:37:19 +00:00
parent 0e510aed5b
commit 5966cedcb9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=42588

View File

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.454 1999/01/10 21:31:37 rnordier Exp $
# $Id: Makefile,v 1.455 1999/01/11 00:54:00 jkh Exp $
#
# make release CHROOTDIR=/some/dir BUILDNAME=somename [ RELEASETAG=tag ]
#
@ -249,7 +249,7 @@ clean:
# Clean out /R and make the directory structure.
release.1:
-mkdir /R
chflags -R noschg /R/.
-chflags -R noschg /R/.
rm -rf /R/*
mkdir ${RD}
mkdir ${RD}/floppies
@ -281,7 +281,7 @@ release.2:
make kprog \
)
.endif
chflags -R noschg ${RD}/trees
-chflags -R noschg ${RD}/trees
touch release.2
# Make and install the generic kernel(s).