Introduce NANOBSD_PRUNE which can be used to zap out bits we don't
want to carry forward.
This commit is contained in:
parent
bdc9311ac7
commit
37d04bc5d9
@ -162,6 +162,9 @@ _.md: _.cs
|
||||
mtree -deU -f ${WD}/etc/mtree/BSD.include.dist -p ${WD}/usr/include
|
||||
.if exists(${WD}/etc/mtree/BSD.sendmail.dist)
|
||||
mtree -deU -f ${WD}/etc/mtree/BSD.sendmail.dist -p ${WD}/
|
||||
.endif
|
||||
.if defined(NANOBSD_PRUNE)
|
||||
( cd ${WD} ; rm -rf ${NANOBSD_PRUNE} )
|
||||
.endif
|
||||
(cd ${WD} && mtree -c -Kmd5digest ) > _.mtree.tmp
|
||||
sh -e ${.CURDIR}/i386.diskimage \
|
||||
|
Loading…
Reference in New Issue
Block a user