summaryrefslogtreecommitdiff
path: root/meta-ibs/meta-common/recipes-core/systemd/systemd-conf_%.bbappend
diff options
context:
space:
mode:
authorAndrey V.Kosteltsev <AKosteltsev@IBS.RU>2022-05-23 00:36:13 +0300
committerAndrey V.Kosteltsev <AKosteltsev@IBS.RU>2022-05-23 00:36:13 +0300
commit816146249ab44fb9e85f8dfd413e18e92a13842c (patch)
tree97df436faa8607f63dba853024879f467eea3054 /meta-ibs/meta-common/recipes-core/systemd/systemd-conf_%.bbappend
parent1bd1f086e0ecfc9017891b5b9a492446eda41095 (diff)
downloadopenbmc-816146249ab44fb9e85f8dfd413e18e92a13842c.tar.xz
Layers for SILA CP2-5422
Diffstat (limited to 'meta-ibs/meta-common/recipes-core/systemd/systemd-conf_%.bbappend')
-rw-r--r--meta-ibs/meta-common/recipes-core/systemd/systemd-conf_%.bbappend11
1 files changed, 11 insertions, 0 deletions
diff --git a/meta-ibs/meta-common/recipes-core/systemd/systemd-conf_%.bbappend b/meta-ibs/meta-common/recipes-core/systemd/systemd-conf_%.bbappend
new file mode 100644
index 0000000000..b7bd6796c2
--- /dev/null
+++ b/meta-ibs/meta-common/recipes-core/systemd/systemd-conf_%.bbappend
@@ -0,0 +1,11 @@
+FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
+
+SRC_URI += "file://journald.conf \
+ file://systemd-timesyncd-save-time.conf \
+ "
+
+FILES:${PN} += " ${systemd_system_unitdir}/systemd-timesyncd.service.d/systemd-timesyncd-save-time.conf"
+
+do_install:append() {
+ install -m 644 -D ${WORKDIR}/systemd-timesyncd-save-time.conf ${D}${systemd_system_unitdir}/systemd-timesyncd.service.d/systemd-timesyncd-save-time.conf
+}