mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-10 08:14:09 -09:00
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 0e71f51119.
This commit is contained in:
parent
188f8c836d
commit
2fc0d98699
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user