diff options
author | rwatson <rwatson@FreeBSD.org> | 2000-02-09 04:08:18 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2000-02-09 04:08:18 +0000 |
commit | 5b76fa68826df9f76d9f08d508649aae33d37d3d (patch) | |
tree | b172109ce601164555aa52e89b13b8f94089d642 /etc/Makefile | |
parent | d57c73c131db959506cbee635ad78b3e45fa8a7b (diff) | |
download | FreeBSD-src-5b76fa68826df9f76d9f08d508649aae33d37d3d.zip FreeBSD-src-5b76fa68826df9f76d9f08d508649aae33d37d3d.tar.gz |
Intoduce a new make.conf entry, NO_MAKEDEV, and modifications to
/etc/Makefile so that if it is defined, MAKEDEV all is not called
during a make distribution. This helps clean up the messy userland
in jail(), by reducing the number of devices exposed in jail.
Modifications to jail(2) to follow.
Approved by: jkh-arius
Diffstat (limited to 'etc/Makefile')
-rw-r--r-- | etc/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/Makefile b/etc/Makefile index e3f22d7..a16845e 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -65,7 +65,9 @@ distribution: pwd_mkdb -p -d ${DESTDIR}/etc ${DESTDIR}/etc/master.passwd; \ ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 555 \ MAKEDEV.local MAKEDEV ${DESTDIR}/dev ) +.if !defined(NO_MAKEDEV) (cd ${DESTDIR}/dev; sh MAKEDEV all) ; +.endif (cd ${.CURDIR}/root; \ ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 dot.cshrc \ ${DESTDIR}/root/.cshrc; \ |