summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2005-04-13 21:20:16 +0000
committerphk <phk@FreeBSD.org>2005-04-13 21:20:16 +0000
commita5a4c071cb87fcb6057facaa760e07e6d8b834f4 (patch)
tree9ef9aa8c34edc4f422ada84acba1bfadec90401b /tools
parent01133bc55d46cb93eb297563568cf92d2fcf0d8b (diff)
downloadFreeBSD-src-a5a4c071cb87fcb6057facaa760e07e6d8b834f4.zip
FreeBSD-src-a5a4c071cb87fcb6057facaa760e07e6d8b834f4.tar.gz
Introduce NANOBSD_PRUNE which can be used to zap out bits we don't
want to carry forward.
Diffstat (limited to 'tools')
-rw-r--r--tools/tools/nanobsd/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/tools/nanobsd/Makefile b/tools/tools/nanobsd/Makefile
index 866dc1b..ce23daf 100644
--- a/tools/tools/nanobsd/Makefile
+++ b/tools/tools/nanobsd/Makefile
@@ -163,6 +163,9 @@ _.md: _.cs
.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 \
${SECTS} \
OpenPOWER on IntegriCloud