diff options
Diffstat (limited to 'meta/classes/image.bbclass')
-rw-r--r-- | meta/classes/image.bbclass | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 276d0d31f4..a23403c082 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass | |||
@@ -664,6 +664,13 @@ reproducible_final_image_task () { | |||
664 | find ${IMAGE_ROOTFS} -exec touch -h --date=@$REPRODUCIBLE_TIMESTAMP_ROOTFS {} \; | 664 | find ${IMAGE_ROOTFS} -exec touch -h --date=@$REPRODUCIBLE_TIMESTAMP_ROOTFS {} \; |
665 | fi | 665 | fi |
666 | } | 666 | } |
667 | IMAGE_PREPROCESS_COMMAND_append = " reproducible_final_image_task; " | 667 | |
668 | IMAGE_EXTRADEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd-systemctl-native', '', d)}" | ||
669 | |||
670 | systemd_preset_all () { | ||
671 | systemctl --root="${IMAGE_ROOTFS}" --preset-mode=enable-only preset-all | ||
672 | } | ||
673 | |||
674 | IMAGE_PREPROCESS_COMMAND_append = " ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd_preset_all;', '', d)} reproducible_final_image_task; " | ||
668 | 675 | ||
669 | CVE_PRODUCT = "" | 676 | CVE_PRODUCT = "" |