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
This commit is contained in:
Robert Watson 2000-02-09 04:08:18 +00:00
parent 35a0a88fda
commit f5749a8265
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=57071
3 changed files with 8 additions and 0 deletions

View File

@ -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; \

View File

@ -30,6 +30,9 @@
#NO_SENDMAIL= true
#NO_CVS= true
#
# To avoid running MAKEDEV all on /dev during install:
#NO_MAKEDEV= true
#
# To compile just the kernel with special optimisations, you should use
# this instead of CFLAGS (which is not applicable to kernel builds anyway):
#

View File

@ -30,6 +30,9 @@
#NO_SENDMAIL= true
#NO_CVS= true
#
# To avoid running MAKEDEV all on /dev during install:
#NO_MAKEDEV= true
#
# To compile just the kernel with special optimisations, you should use
# this instead of CFLAGS (which is not applicable to kernel builds anyway):
#