systemd-conf copies some files to the target but they
are in WORKDIR and not visible to the archiver.  Unpack
them to S.

Signed-off-by: Joe Slater <[email protected]>
---
 .../systemd/systemd-conf_245.6.bb             | 20 +++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/meta/recipes-core/systemd/systemd-conf_245.6.bb 
b/meta/recipes-core/systemd/systemd-conf_245.6.bb
index d9ec023bfd..d205a60859 100644
--- a/meta/recipes-core/systemd/systemd-conf_245.6.bb
+++ b/meta/recipes-core/systemd/systemd-conf_245.6.bb
@@ -6,23 +6,23 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = 
"file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
 
 SRC_URI = "\
-    file://journald.conf \
-    file://logind.conf \
-    file://system.conf \
-    file://system.conf-qemuall \
-    file://wired.network \
+    file://journald.conf;subdir=${BP} \
+    file://logind.conf;subdir=${BP} \
+    file://system.conf;subdir=${BP} \
+    file://system.conf-qemuall;subdir=${BP} \
+    file://wired.network;subdir=${BP} \
 "
 
 do_install() {
-       install -D -m0644 ${WORKDIR}/journald.conf 
${D}${systemd_unitdir}/journald.conf.d/00-${PN}.conf
-       install -D -m0644 ${WORKDIR}/logind.conf 
${D}${systemd_unitdir}/logind.conf.d/00-${PN}.conf
-       install -D -m0644 ${WORKDIR}/system.conf 
${D}${systemd_unitdir}/system.conf.d/00-${PN}.conf
-       install -D -m0644 ${WORKDIR}/wired.network 
${D}${systemd_unitdir}/network/80-wired.network
+       install -D -m0644 ${S}/journald.conf 
${D}${systemd_unitdir}/journald.conf.d/00-${PN}.conf
+       install -D -m0644 ${S}/logind.conf 
${D}${systemd_unitdir}/logind.conf.d/00-${PN}.conf
+       install -D -m0644 ${S}/system.conf 
${D}${systemd_unitdir}/system.conf.d/00-${PN}.conf
+       install -D -m0644 ${S}/wired.network 
${D}${systemd_unitdir}/network/80-wired.network
 }
 
 # Based on change from YP bug 8141, OE commit 
5196d7bacaef1076c361adaa2867be31759c1b52
 do_install_append_qemuall() {
-       install -D -m0644 ${WORKDIR}/system.conf-qemuall 
${D}${systemd_unitdir}/system.conf.d/01-${PN}.conf
+       install -D -m0644 ${S}/system.conf-qemuall 
${D}${systemd_unitdir}/system.conf.d/01-${PN}.conf
 
        # Do not install wired.network for qemu bsps
        rm -rf ${D}${systemd_unitdir}/network
-- 
2.17.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#140198): 
https://lists.openembedded.org/g/openembedded-core/message/140198
Mute This Topic: https://lists.openembedded.org/mt/75246650/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to