# Symlink /var/run -> /run.
ln -svf ../run /var/run
-
+
+ifeq "$(MACHINE)" "x86_64"
+ ln -svf lib /lib64
+ ln -svf lib /usr/lib64
+endif
+
# Symlinks
# for this reason, stage2 rebuild will broke the iso:perl, grubbatch
-ln -sv /tools/bin/{bash,cat,echo,pwd,stty} /bin
/usr/lib/firewall/rules.pl
install -m 644 $(DIR_SRC)/config/firewall/firewall-lib.pl \
/usr/lib/firewall/firewall-lib.pl
+ install -m 755 $(DIR_SRC)/config/firewall/ipsec-block \
+ /usr/lib/firewall/ipsec-block
# Nobody user
-mkdir -p /home/nobody
-mkdir -pv /var/{opt,cache,lib/{misc,locate},local}
-mkdir -pv /var/log/{counter,calamaris}
chown nobody.nobody /var/log/calamaris
- touch /var/log/{btmp,lastlog,wtmp,net-traffic.log}
+ touch /var/log/{btmp,lastlog,wtmp}
chgrp -v utmp /var/log/lastlog
chmod -v 664 /var/log/lastlog