Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/mk Add "-N ${NETBSDSRCDIR}/etc" to ${INSTPRIV}, so tha...



details:   https://anonhg.NetBSD.org/src/rev/7b9b8dfffea6
branches:  trunk
changeset: 540588:7b9b8dfffea6
user:      lukem <lukem%NetBSD.org@localhost>
date:      Thu Dec 19 12:44:03 2002 +0000

description:
Add "-N ${NETBSDSRCDIR}/etc" to ${INSTPRIV}, so that non-host ${INSTALL_*}
rules use that directory to lookup users & groups as opposed to the
host system's passwd(5) and group(5) databases.

This is a change of behaviour which should make the build system more
robust when new users & groups are added to the NetBSD source.

The only users who may be adversely affected are those (small number,
if any) that renumber the uids & gids away from the "standard" NetBSD
ones; in this case said users should maintain local mods to
${NETBSDSRCDIR}/etc/{master.passwd,group} ...

diffstat:

 share/mk/bsd.own.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 1c5706333602 -r 7b9b8dfffea6 share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk       Thu Dec 19 12:35:01 2002 +0000
+++ b/share/mk/bsd.own.mk       Thu Dec 19 12:44:03 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.own.mk,v 1.320 2002/12/08 20:19:56 thorpej Exp $
+#      $NetBSD: bsd.own.mk,v 1.321 2002/12/19 12:44:03 lukem Exp $
 
 .if !defined(_BSD_OWN_MK_)
 _BSD_OWN_MK_=1
@@ -302,7 +302,7 @@
 SYMLINK?=      -l s
 
 METALOG?=      ${DESTDIR}/METALOG
-INSTPRIV?=     ${UNPRIVED:D-U -M ${METALOG}}
+INSTPRIV?=     ${UNPRIVED:D-U -M ${METALOG}} -N${NETBSDSRCDIR}/etc
 SYSPKGTAG?=    ${SYSPKG:D-T ${SYSPKG}_pkg}
 SYSPKGDOCTAG?= ${SYSPKG:D-T ${SYSPKG}-doc_pkg}
 STRIPFLAG?=    -s



Home | Main Index | Thread Index | Old Index