Some minor cosmetics: make mkdir less chatty in the output and stop making /R
magic.
This commit is contained in:
parent
1838cf5671
commit
335d64e6d3
@ -107,9 +107,10 @@ VNDEVICE?= vn0
|
||||
|
||||
# Things which may get you into trouble if you change them
|
||||
MTREEFILES= ${.CURDIR}/../etc/mtree
|
||||
RD= /R/stage
|
||||
FD= /R/ftp
|
||||
CD= /R/cdrom
|
||||
_R= /R
|
||||
RD= ${_R}/stage
|
||||
FD= ${_R}/ftp
|
||||
CD= ${_R}/cdrom
|
||||
CD_DISC1= ${CD}/disc1
|
||||
CD_DISC2= ${CD}/disc2
|
||||
|
||||
@ -158,7 +159,7 @@ rerelease release:
|
||||
-chflags -R noschg ${CHROOTDIR}/.
|
||||
-rm -rf ${CHROOTDIR}
|
||||
.endif
|
||||
-mkdir -p ${CHROOTDIR}
|
||||
mkdir -p ${CHROOTDIR}
|
||||
cd ${.CURDIR}/../etc && ${MAKE} distrib-dirs DESTDIR=${CHROOTDIR}
|
||||
cd ${.CURDIR}/../etc && ${MAKE} distribution DESTDIR=${CHROOTDIR}
|
||||
if [ -f /etc/resolv.conf ]; then \
|
||||
@ -245,7 +246,7 @@ rerelease release:
|
||||
echo "export BOOT_CONFIG=\"${BOOT_CONFIG}\"">> ${CHROOTDIR}/mk
|
||||
.endif
|
||||
# Don't remove this, or the build will fall over!
|
||||
echo "export RELEASEDIR=/R" >> ${CHROOTDIR}/mk
|
||||
echo "export RELEASEDIR=${_R}" >> ${CHROOTDIR}/mk
|
||||
echo "export PATH=${BOOTSTRAPDIR}:$${PATH}:${LOCALDIR}" >> ${CHROOTDIR}/mk
|
||||
echo "if [ ! -f /tmp/.world_done ]; then" >> ${CHROOTDIR}/mk
|
||||
echo " cd /usr/src" >> ${CHROOTDIR}/mk
|
||||
@ -269,11 +270,11 @@ rerelease release:
|
||||
clean:
|
||||
rm -rf boot_crunch ${.OBJDIR}/boot_crunch.conf release.[0-9]
|
||||
|
||||
# Clean out /R and make the directory structure.
|
||||
# Clean out ${_R} and make the directory structure.
|
||||
release.1:
|
||||
-mkdir /R
|
||||
-chflags -R noschg /R/.
|
||||
rm -rf /R/*
|
||||
mkdir -p ${_R}
|
||||
-chflags -R noschg ${_R}/.
|
||||
rm -rf ${_R}/*
|
||||
mkdir ${RD}
|
||||
mkdir ${RD}/floppies
|
||||
.if ${MACHINE_ARCH} == "i386"
|
||||
|
Loading…
Reference in New Issue
Block a user