e090013056
/etc CHANGES: - /etc/drivers.conf has been renamed to /etc/system.conf. Every entry in the file is now marked as "service" rather than driver. - user "service" has been added to password file /etc/passwd. - docs/UPDATING updated accordingly, as well as every other mention to the old drivers.conf in the system. RS CHANGES: - No more distinction between servers and drivers. - RS_START has been renamed to RS_UP and the old legacy RS_UP and RS_UP_COPY dropped. - RS asks PCI to set / remove ACL entries only for services whose ACL properties have been set. This change eliminates unnecessary warnings. - Temporarily minimize the risk of potential races at boot time or when starting a new service. Upcoming changes will eliminate races completely. - General cleanup.
34 lines
1.2 KiB
Makefile
34 lines
1.2 KiB
Makefile
|
|
ETC=/etc/
|
|
USRETC=/usr/etc/
|
|
FILES1=fstab group hostname.file inet.conf motd.install mtab passwd profile \
|
|
protocols rc services termcap ttytab utmp rc.cd binary_sizes \
|
|
binary_sizes.big binary_sizes.xxl rc.rescue syslog.conf \
|
|
rc.daemons.dist rs.inet rs.single make.conf system.conf
|
|
FILES2=shadow
|
|
FILES3=daily dhcptags.conf rc
|
|
|
|
all::
|
|
|
|
clean::
|
|
|
|
install::
|
|
@echo "Installing /etc and /usr/etc.."
|
|
mkdir -p $(ETC)
|
|
@for f in $(FILES1); do if [ -f $(ETC)/$$f ]; then :; else cp $$f $(ETC)/$$f; chmod 755 $(ETC)/$$f; fi; done
|
|
@for f in $(FILES2); do if [ -f $(ETC)/$$f ]; then :; else cp $$f $(ETC)/$$f; chmod 600 $(ETC)/$$f; fi; done
|
|
@echo "Making hierarchy.."
|
|
sh mtree.sh mtree/minix.tree
|
|
@for f in $(FILES3); do if [ -f $(USRETC)/$$f ]; then :; else cp usr/$$f $(USRETC); chmod 755 $(USRETC)/$$f; fi; done
|
|
@echo "Making devices.."
|
|
p=`pwd` && cd /dev && sh $$p/../commands/scripts/MAKEDEV.sh null
|
|
p=`pwd` && cd /dev && sh $$p/../commands/scripts/MAKEDEV.sh std 2>/dev/null
|
|
install -o bin -g operator -m 755 crontab /usr/lib
|
|
@echo "Making user homedirs.."
|
|
for u in /usr/ast ~root; do cp ast/.[aepv]* $$u ; done
|
|
@echo "Installing fonts.."
|
|
install -m 644 -o bin -g operator fonts/*.fnt /usr/lib/fonts/
|
|
|
|
postinstall:
|
|
binsizes normal
|
|
|