kumquat-buildroot/system/skeleton/etc
Yann E. MORIN 76fc9275f1 system: separate sysv and systemd parts of the skeleton
For systemd, we create a simple /etc/fstab with only an entry for /, as
systemd otherwise automatically mounts what it needs where it needs it.

systemd does not like that the content of /var be symlinks to /tmp,
especially journald that starts before /tmp is mounted, and thus the
journal files are hidden from view, which causes quite a bit of fuss...

Instead, move the current /var to a sysv-only skeleton.

systemd at install time will create the /var content it needs, so we
just create an empty /var for systemd.

systemd would create /home and /srv at runtime if they are missing, but
it is better to create them right now, to simplify supporting systemd on
a RO filesystem in the (near) future.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-08-02 20:04:29 +02:00
..
profile.d skeleton: Rename /etc/profile.d/umask to umask.sh 2016-02-10 07:49:04 +01:00
group system/skeleton: use uid/gid 65534 for nobody/nogroup 2016-08-26 15:39:42 +02:00
hosts
mtab system/skeleton: update etc/mtab with a more sensible link 2016-07-05 15:24:38 +02:00
passwd system/skeleton: use uid/gid 65534 for nobody/nogroup 2016-08-26 15:39:42 +02:00
profile skeleton: Pretty fixes for /etc/profile 2015-10-04 15:53:07 +01:00
protocols skeleton: Update /etc/protocols from Debian Jessie 2013-10-27 08:27:38 +01:00
resolv.conf
services
shadow skeleton: sync /etc/shadow with /etc/passwd 2015-10-28 23:33:14 +01:00