package/systemd: move preset-all HOOK to fakeroot stage
User can drop in more systemd units or presets in an rootfs overlay, which will be copied over *after* the TARGET_FINALIZE_HOOKS are run. Instead, run preset-all afterwards from ROOTFS_PRE_CMD_HOOKS Signed-off-by: Norbert Lange <nolange79@gmail.com> Reviewed-by: Jérémy ROSEN <jeremy.rosen@smile.fr> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
parent
24e9ef8247
commit
65b63785a6
@ -561,7 +561,7 @@ endef
|
||||
define SYSTEMD_PRESET_ALL
|
||||
$(HOST_DIR)/bin/systemctl --root=$(TARGET_DIR) preset-all
|
||||
endef
|
||||
SYSTEMD_TARGET_FINALIZE_HOOKS += SYSTEMD_PRESET_ALL
|
||||
SYSTEMD_ROOTFS_PRE_CMD_HOOKS += SYSTEMD_PRESET_ALL
|
||||
|
||||
SYSTEMD_CONF_ENV = $(HOST_UTF8_LOCALE_ENV)
|
||||
SYSTEMD_NINJA_ENV = $(HOST_UTF8_LOCALE_ENV)
|
||||
|
Loading…
Reference in New Issue
Block a user