diff options
-rw-r--r-- | meta/recipes-core/systemd/systemd_256.7.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-core/systemd/systemd_256.7.bb b/meta/recipes-core/systemd/systemd_256.7.bb index 3831baa511..8b7ed2efe2 100644 --- a/meta/recipes-core/systemd/systemd_256.7.bb +++ b/meta/recipes-core/systemd/systemd_256.7.bb | |||
@@ -870,7 +870,9 @@ ALTERNATIVE_LINK_NAME[runlevel] = "${base_sbindir}/runlevel" | |||
870 | ALTERNATIVE_PRIORITY[runlevel] ?= "300" | 870 | ALTERNATIVE_PRIORITY[runlevel] ?= "300" |
871 | 871 | ||
872 | pkg_postinst:${PN}:append () { | 872 | pkg_postinst:${PN}:append () { |
873 | touch $D${libdir}/clock-epoch | 873 | if ${@bb.utils.contains('PACKAGECONFIG', 'set-time-epoch', 'true', 'false', d)}; then |
874 | touch $D${nonarch_libdir}/clock-epoch | ||
875 | fi | ||
874 | } | 876 | } |
875 | 877 | ||
876 | pkg_postinst:${PN}:libc-glibc () { | 878 | pkg_postinst:${PN}:libc-glibc () { |