- touch /var/run/utmp /var/log/{btmp,lastlog,wtmp}
- chgrp -v utmp /var/run/utmp /var/log/lastlog
- chmod -v 664 /var/run/utmp /var/log/lastlog
+ -mkdir -pv /var/log/{counter,calamaris}
+ chown nobody.nobody /var/log/calamaris
+ touch /var/log/{btmp,lastlog,wtmp,net-traffic.log}
+ chgrp -v utmp /var/log/lastlog
+ chmod -v 664 /var/log/lastlog
+
+ # Permissions
+ chmod 0711 /var/empty
+
+ # A small hack to include /root to the iso but not all of it's files.
+ touch /root/ipfire
+
+ # License agreement
+ -mkdir -pv /usr/share/doc/licenses/
+ cp -vf $(DIR_SRC)/doc/COPYING /usr/share/doc/licenses/GPLv3
+
+ # System release
+ echo "$(SYSTEM_RELEASE)" > /etc/system-release
+
+ # Pakfire
+ -mkdir -pv /opt/pakfire/db/core
+ echo "$(PAKFIRE_CORE)" > /opt/pakfire/db/core/mine