Message ID | 20241119175106.97694-1-danismostlikely@gmail.com |
---|---|
State | New |
Headers | show |
Series | [v2] systemd: wrap mtime based time with packageconfig | expand |
diff --git a/meta/recipes-core/systemd/systemd_256.7.bb b/meta/recipes-core/systemd/systemd_256.7.bb index 3831baa511b..8b7ed2efe23 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" ALTERNATIVE_PRIORITY[runlevel] ?= "300" pkg_postinst:${PN}:append () { - touch $D${libdir}/clock-epoch + if ${@bb.utils.contains('PACKAGECONFIG', 'set-time-epoch', 'true', 'false', d)}; then + touch $D${nonarch_libdir}/clock-epoch + fi } pkg_postinst:${PN}:libc-glibc () {