From b3f6f8b50f222b65f54cfb412c8386717e7c4ad3 Mon Sep 17 00:00:00 2001 From: Gavin Schenk Date: Thu, 8 Oct 2020 11:52:03 +0200 Subject: [PATCH] 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 --- rules/systemd.in | 1 + 1 file changed, 1 insertion(+) 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 -- 2.28.0