From 2fc0d98699b91bbdc9e6fe7064ecb1d966aaa4a0 Mon Sep 17 00:00:00 2001 From: "Arnout Vandecappelle (Essensium/Mind)" Date: Sat, 8 Jan 2022 21:38:34 +0100 Subject: [PATCH] Revert "systemd: ensure tmpfiles.d/legacy.conf is installed" legacy.conf no longer exists, it's now legacy.conf.in that has to be preprocessed. The preprocessing is only done if sysv-compat is enabled. This reverts commit 0e71f5111988fe57531d1c84bdf631f1932b14bc. --- package/systemd/systemd.mk | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk index b3b5ed600d..17bb922f51 100644 --- a/package/systemd/systemd.mk +++ b/package/systemd/systemd.mk @@ -563,17 +563,9 @@ define SYSTEMD_INSTALL_MACHINEID_HOOK touch $(TARGET_DIR)/etc/machine-id endef -# systemd doesn't install legacy.conf without sysv-compat -# This config ensures /var/lock is created -define SYSTEMD_INSTALL_LEGACY_CONF_HOOK - $(INSTALL) -D -m 0644 $(@D)/tmpfiles.d/legacy.conf \ - $(TARGET_DIR)/usr/lib/tmpfiles.d -endef - SYSTEMD_POST_INSTALL_TARGET_HOOKS += \ SYSTEMD_INSTALL_INIT_HOOK \ - SYSTEMD_INSTALL_MACHINEID_HOOK \ - SYSTEMD_INSTALL_LEGACY_CONF_HOOK + SYSTEMD_INSTALL_MACHINEID_HOOK define SYSTEMD_INSTALL_IMAGES_CMDS $(SYSTEMD_INSTALL_BOOT_FILES)