diff options
author | wollman <wollman@FreeBSD.org> | 1994-08-10 02:48:08 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1994-08-10 02:48:08 +0000 |
commit | 7d898724d7862f5e998ee06411d019a4918bc442 (patch) | |
tree | cbe47f97313fd7c7364414c314b675465d0321b6 /share/mk/bsd.prog.mk | |
parent | 1a485fa2648e0edeec0624287bbee06dc3bf3bbd (diff) | |
download | FreeBSD-src-7d898724d7862f5e998ee06411d019a4918bc442.zip FreeBSD-src-7d898724d7862f5e998ee06411d019a4918bc442.tar.gz |
Make the install targets obey the INSTALLFLAGS requests in the new
Makefiles.
DANGER WILL ROBINSON!
This will cause repeat installs of certain programs, such as `init' and
`rcp', to fail unless one of the two conditions is met:
1) You are in single-user mode.
2) Your security level is set to 0 or -1.
If you have compiled a kernel from the latest sources, your kernel
security level is set to -1 by default, which will keep `init' from
fiddling with it. You can increase it, but not decrease it, from the
command line with the command `sysctl -w kern.securelevel=<new value>'.
I believe that -1 is the most appropriate value to use while we are still
developing the code, although when we ship it should be changed back to 0.
See init(8) for more information.
Diffstat (limited to 'share/mk/bsd.prog.mk')
-rw-r--r-- | share/mk/bsd.prog.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/share/mk/bsd.prog.mk b/share/mk/bsd.prog.mk index 8a24d4d..84246df 100644 --- a/share/mk/bsd.prog.mk +++ b/share/mk/bsd.prog.mk @@ -1,5 +1,5 @@ # from: @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91 -# $Id: bsd.prog.mk,v 1.28 1994/06/15 10:14:41 ache Exp $ +# $Id: bsd.prog.mk,v 1.2 1994/08/04 21:09:25 wollman Exp $ .if exists(${.CURDIR}/../Makefile.inc) .include "${.CURDIR}/../Makefile.inc" @@ -168,7 +168,7 @@ afterinstall: realinstall: _PROGSUBDIR .if defined(PROG) ${INSTALL} ${COPY} ${STRIP} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ - ${PROG} ${DESTDIR}${BINDIR} + ${INSTALLFLAGS} ${PROG} ${DESTDIR}${BINDIR} .endif .if defined(HIDEGAME) (cd ${DESTDIR}/usr/games; rm -f ${PROG}; ln -s dm ${PROG}; \ |