diff mbox series

[meta-swupdate-boards] libubootenv: Limit fw_env config append to target recipes alone

Message ID 20200401025009.2273631-1-raj.khem@gmail.com
State Accepted
Headers show
Series [meta-swupdate-boards] libubootenv: Limit fw_env config append to target recipes alone | expand

Commit Message

Khem Raj April 1, 2020, 2:50 a.m. UTC
Fixes
libubootenv_0.2.bb: Unable to get checksum for
libubootenv-native SRC_URI entry fw_env.config: file could not be found

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 recipes-bsp/libubootenv/libubootenv_%.bbappend | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/recipes-bsp/libubootenv/libubootenv_%.bbappend b/recipes-bsp/libubootenv/libubootenv_%.bbappend
index ae6aeb2..92b84a7 100644
--- a/recipes-bsp/libubootenv/libubootenv_%.bbappend
+++ b/recipes-bsp/libubootenv/libubootenv_%.bbappend
@@ -1,10 +1,10 @@ 
 FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
 
-SRC_URI_append = " file://fw_env.config"
+SRC_URI_append_class-target = " file://fw_env.config"
 
-do_install_append() {
+do_install_append_class-target() {
 	install -d ${D}${sysconfdir}
 	install -m 644 ${WORKDIR}/fw_env.config ${D}${sysconfdir}
 }
 
-FILES_${PN}_append = " ${sysconfdir}"
+FILES_${PN}_append_class-target = " ${sysconfdir}"