Message ID | 20210515193147.2999349-1-raj.khem@gmail.com |
---|---|
State | Accepted |
Headers | show |
Series | [meta-swupdate-boards] libubootenv: Limit fw_env config append to target recipes alone | expand |
Hi Khem, On 15.05.21 21:31, Khem Raj wrote: > 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 --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}" > Applied to -master, thanks ! Best regards, Stefano Babic
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}"
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(-)