update /etc on make world

This commit is contained in:
Erik van der Kouwe 2010-08-27 10:09:06 +00:00
parent 3e3d627b25
commit a5741a465f
3 changed files with 30 additions and 2 deletions

View file

@ -31,9 +31,9 @@ usage:
# #
# etcfiles has to be done first. # etcfiles has to be done first.
.if ${COMPILER_TYPE} == "ack" .if ${COMPILER_TYPE} == "ack"
world: mkfiles includes depend libraries install world: mkfiles includes depend libraries install etcforce
.elif ${COMPILER_TYPE} == "gnu" .elif ${COMPILER_TYPE} == "gnu"
world: mkfiles includes depend gnu-libraries install world: mkfiles includes depend gnu-libraries install etcforce
.endif .endif
mkfiles: mkfiles:
@ -73,6 +73,9 @@ depend::
etcfiles:: etcfiles::
$(MAKE) -C etc install $(MAKE) -C etc install
etcforce::
$(MAKE) -C etc installforce
all:: all::
$(MAKE) -C boot all $(MAKE) -C boot all
$(MAKE) -C commands all $(MAKE) -C commands all

View file

@ -1,3 +1,10 @@
20100827:
From now on, the rc scripts, recovery scripts and system.conf in /etc
and /usr/etc are updated automatically by make world. If you want to
change them, do so in the source tree. If you make changes to your
settings in /etc and /usr/etc, merge them into the the source tree
before issuing a make world.
20100805: 20100805:
mkfs and fsck have been renamed to mkfs.mfs and fsck.mfs, respectively. mkfs and fsck have been renamed to mkfs.mfs and fsck.mfs, respectively.
Moreover, they have been moved to /sbin, which is by default not in Moreover, they have been moved to /sbin, which is by default not in

View file

@ -28,3 +28,21 @@ install::
for u in /usr/ast ~root; do cp ast/.[aepv]* $$u ; done for u in /usr/ast ~root; do cp ast/.[aepv]* $$u ; done
@echo "Installing fonts.." @echo "Installing fonts.."
install -m 644 -o root -g operator fonts/*.fnt /usr/lib/fonts/ install -m 644 -o root -g operator fonts/*.fnt /usr/lib/fonts/
installforce:: $(ETC)/rc $(ETC)/rs.inet $(ETC)/rs.single $(ETC)/system.conf $(USRETC)/rc
$(ETC)/rc: rc
install -m 755 -o root -g operator $> $@
$(ETC)/rs.inet: rs.inet
install -m 755 -o root -g operator $> $@
$(ETC)/rs.single: rs.single
install -m 755 -o root -g operator $> $@
$(ETC)/system.conf: system.conf
install -m 644 -o root -g operator $> $@
$(USRETC)/rc: usr/rc
install -m 755 -o root -g operator $> $@