summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGavin Schenk <g.schenk@eckelmann.de>2020-10-08 12:27:17 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2020-10-14 12:30:02 +0200
commitff293698c7398e439e04c069f475d6dc3d217d36 (patch)
tree0fc1680f6b8d13ed199989fb8e3bda3e376d6f65
parent70ddbd1504778cbf9b5980765cb5f11bbf2f3eb2 (diff)
downloadptxdist-ff293698c7398e439e04c069f475d6dc3d217d36.tar.gz
ptxdist-ff293698c7398e439e04c069f475d6dc3d217d36.tar.xz
systemd: Fix dependency to /var/spool at runtime
systemd installs /usr/lib/tmpfiles.d/var.conf which contains d /var/spool 0755 - - - This makes systemd-tmpfilesd fail creating this directory if the rootfs is readonly. This patch selects ROOTFS_VAR_SPOOL, as runtime dependency, to ensure this directory is already available which makes systemd-tmpfilesd happy. Signed-off-by: Gavin Schenk <g.schenk@eckelmann.de> Message-Id: <20201008102717.2215086-1-g.schenk@eckelmann.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/systemd.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/rules/systemd.in b/rules/systemd.in
index 95f77d064..04c6ee998 100644
--- a/rules/systemd.in
+++ b/rules/systemd.in
@@ -33,6 +33,7 @@ menuconfig SYSTEMD
select HOST_SYSTEMD if SYSTEMD_UDEV_HWDB
select ROOTFS_VAR_LIB if RUNTIME
select ROOTFS_VAR_CACHE if RUNTIME
+ select ROOTFS_VAR_SPOOL if RUNTIME
prompt "systemd "
help
systemd is a system and session manager for Linux, compatible with SysV