some etc fixes
. force-install of certain system-controlled /etc files . rename /etc/make.conf to /etc/mk.conf; and son't set $ARCH Change-Id: I9f4bbb8d37ba80cba7dcfcf1a9a89e934910f579
This commit is contained in:
parent
aafef7f9ff
commit
a31fcd4df1
1
Makefile
1
Makefile
|
|
@ -296,6 +296,7 @@ build: .PHONY .MAKE
|
||||||
${MAKEDIRTARGET} . ${tgt}
|
${MAKEDIRTARGET} . ${tgt}
|
||||||
.endfor
|
.endfor
|
||||||
${MAKEDIRTARGET} etc install-etc-release
|
${MAKEDIRTARGET} etc install-etc-release
|
||||||
|
${MAKEDIRTARGET} etc install-etc-files-safe DESTDIR=${DESTDIR:U/} SYSTEMONLY=yes
|
||||||
.if defined(__MINIX)
|
.if defined(__MINIX)
|
||||||
${MAKEDIRTARGET} releasetools do-hdboot
|
${MAKEDIRTARGET} releasetools do-hdboot
|
||||||
.endif # defined(__MINIX)
|
.endif # defined(__MINIX)
|
||||||
|
|
|
||||||
|
|
@ -75,7 +75,7 @@
|
||||||
./etc/group minix-sys
|
./etc/group minix-sys
|
||||||
./etc/hostname.file minix-sys
|
./etc/hostname.file minix-sys
|
||||||
./etc/inet.conf minix-sys
|
./etc/inet.conf minix-sys
|
||||||
./etc/make.conf minix-sys
|
./etc/mk.conf minix-sys
|
||||||
./etc/man.conf minix-sys
|
./etc/man.conf minix-sys
|
||||||
./etc/master.passwd minix-sys
|
./etc/master.passwd minix-sys
|
||||||
./etc minix-sys
|
./etc minix-sys
|
||||||
|
|
|
||||||
23
etc/Makefile
23
etc/Makefile
|
|
@ -92,17 +92,23 @@ BINOWN= root
|
||||||
BINGRP= operator
|
BINGRP= operator
|
||||||
UTMPGRP= utmp
|
UTMPGRP= utmp
|
||||||
.if defined(__MINIX)
|
.if defined(__MINIX)
|
||||||
BIN1+= \
|
|
||||||
boot.cfg.default \
|
# System files we can always overwrite
|
||||||
group hostname.file inet.conf \
|
BIN1+= boot.cfg.default \
|
||||||
make.conf man.conf \
|
man.conf motd \
|
||||||
motd mtab \
|
|
||||||
profile protocols \
|
profile protocols \
|
||||||
resolv.conf \
|
|
||||||
rc rc.conf rc.cd rc.subr \
|
rc rc.conf rc.cd rc.subr \
|
||||||
rc.daemons.dist rs.inet rs.single \
|
rc.daemons.dist rs.inet rs.single \
|
||||||
services shells syslog.conf \
|
services shells \
|
||||||
termcap utmp
|
termcap utmp system.conf mk.conf
|
||||||
|
|
||||||
|
# User-editable files we do not always overwrite
|
||||||
|
.if !defined(SYSTEMONLY)
|
||||||
|
BIN1+= hostname.file group \
|
||||||
|
inet.conf resolv.conf \
|
||||||
|
syslog.conf
|
||||||
|
.endif
|
||||||
|
|
||||||
.else
|
.else
|
||||||
BIN1+= bootptab changelist csh.cshrc csh.login \
|
BIN1+= bootptab changelist csh.cshrc csh.login \
|
||||||
csh.logout daily daily.conf dm.conf envsys.conf floppytab ftpchroot \
|
csh.logout daily daily.conf dm.conf envsys.conf floppytab ftpchroot \
|
||||||
|
|
@ -427,7 +433,6 @@ install-etc-files-safe: .PHONY .MAKE check_DESTDIR MAKEDEV
|
||||||
${BINOWN} ${BINGRP} ${BINMODE} ${NETBSDSRCDIR}/etc/usr/ ${DESTDIR}/usr/etc/ dhcptags.conf \
|
${BINOWN} ${BINGRP} ${BINMODE} ${NETBSDSRCDIR}/etc/usr/ ${DESTDIR}/usr/etc/ dhcptags.conf \
|
||||||
${BINOWN} ${BINGRP} ${BINMODE} ${NETBSDSRCDIR}/etc/usr/ ${DESTDIR}/usr/etc/ rc \
|
${BINOWN} ${BINGRP} ${BINMODE} ${NETBSDSRCDIR}/etc/usr/ ${DESTDIR}/usr/etc/ rc \
|
||||||
${BINOWN} ${BINGRP} ${BINMODE} ${NETBSDSRCDIR}/etc/ ${DESTDIR}/usr/lib/ crontab \
|
${BINOWN} ${BINGRP} ${BINMODE} ${NETBSDSRCDIR}/etc/ ${DESTDIR}/usr/lib/ crontab \
|
||||||
${BINOWN} ${BINGRP} ${BINMODE} ${NETBSDSRCDIR}/etc/ ${DESTDIR}/etc/ system.conf \
|
|
||||||
${BINOWN} ${BINGRP} ${NONBINMODE} ${NETBSDSRCDIR}/etc/usr/ ${DESTDIR}/usr/ Makefile \
|
${BINOWN} ${BINGRP} ${NONBINMODE} ${NETBSDSRCDIR}/etc/usr/ ${DESTDIR}/usr/ Makefile \
|
||||||
${BINOWN} ${BINGRP} ${BINMODE} ${NETBSDSRCDIR}/etc/devmand/scripts/ ${DESTDIR}/etc/devmand/scripts/ block \
|
${BINOWN} ${BINGRP} ${BINMODE} ${NETBSDSRCDIR}/etc/devmand/scripts/ ${DESTDIR}/etc/devmand/scripts/ block \
|
||||||
${BINOWN} ${BINGRP} ${BINMODE} ${NETBSDSRCDIR}/etc/devmand/scripts/ ${DESTDIR}/etc/devmand/scripts/ singlechar \
|
${BINOWN} ${BINGRP} ${BINMODE} ${NETBSDSRCDIR}/etc/devmand/scripts/ ${DESTDIR}/etc/devmand/scripts/ singlechar \
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,3 @@
|
||||||
# which architecture to compile for
|
|
||||||
ARCH=i386
|
|
||||||
MAKEVERBOSE?= 1
|
MAKEVERBOSE?= 1
|
||||||
|
|
||||||
.ifdef BSD_PKG_MK
|
.ifdef BSD_PKG_MK
|
||||||
|
|
@ -11,7 +11,7 @@ _BSD_OWN_MK_=1
|
||||||
.if defined(__MINIX)
|
.if defined(__MINIX)
|
||||||
|
|
||||||
# LSC FIXME: Useless difference, Should use the mk.conf
|
# LSC FIXME: Useless difference, Should use the mk.conf
|
||||||
MAKECONF?= /etc/make.conf
|
MAKECONF?= /etc/mk.conf
|
||||||
|
|
||||||
# Some Minix deviations from NetBSD
|
# Some Minix deviations from NetBSD
|
||||||
LDSTATIC?= -static
|
LDSTATIC?= -static
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user