kumquat-buildroot/package/skeleton-init-systemd/legacy.conf
Norbert Lange 97eb7d0c13 package/skeleton-init-systemd: support /var/lock again
systemd's own configuration file is not installed anymore,
as side effect of disabling sysv support in commit
96f0d9969e.

Add the legacy.conf functionality back in skeleton-init-systemd,
since this is a buildroot feature to support software expecting
these directories to exist, as well as trying to be similar to
other init systems.

Create our own legacy.conf instead of using the one from upstream,
because:

- upstream has legacy.conf.in which has to be preprocessed;
- we don't want to enable upstream's full sysv support as explained in
  commit 96f0d9969e6220154b39d9d80cda97998d41f670;
- we would probably need to post-process upstream's legacy.conf anyway
  since it doesn't fully match with buildroot expectations.

Signed-off-by: Norbert Lange <nolange79@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2022-01-09 14:04:21 +01:00

8 lines
185 B
Plaintext

# Create legacy directories for buildroot
# This is a subset of systemd's legacy.conf
d /run/lock 0755 root root -
d /run/lock/subsys 0755 root root -
L /var/lock - - - - ../run/lock