This reverts commit 6b8a1bbda3462ce5218c92ad64a8c071f356ff9f.
This transition is only valid from 'styhead' not from 'scarthgap'
see [0]
[0] -
https://docs.yoctoproject.org/next/migration-guides/migration-5.1.html#migration-notes-for-5-1-styhead
Signed-off-by: Renaud Barrau <
renaud...@madic.com>
---
.../raspberrypi/recipes-core/overlayfs/
etc-overlay.bb | 4 ++--
recipes-bsp/libubootenv/libubootenv_%.bbappend | 2 +-
recipes-support/swupdate/swupdate_%.bbappend | 6 +++---
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/dynamic-layers/raspberrypi/recipes-core/overlayfs/
etc-overlay.bb b/dynamic-layers/raspberrypi/recipes-core/overlayfs/
etc-overlay.bb
index 469c823..6f6bd58 100644
--- a/dynamic-layers/raspberrypi/recipes-core/overlayfs/
etc-overlay.bb
+++ b/dynamic-layers/raspberrypi/recipes-core/overlayfs/
etc-overlay.bb
@@ -19,8 +19,8 @@ do_install () {
install -d ${D}${systemd_system_unitdir}
install -d ${D}/etc/ecs
- install -m 0644 ${UNPACKDIR}/etc.mount ${D}${systemd_system_unitdir}
- install -m 0644 ${UNPACKDIR}/overlays-etc-dirs.service ${D}${systemd_system_unitdir}
+ install -m 0644 ${WORKDIR}/etc.mount ${D}${systemd_system_unitdir}
+ install -m 0644 ${WORKDIR}/overlays-etc-dirs.service ${D}${systemd_system_unitdir}
}
SYSTEMD_SERVICE:${PN} = "etc.mount overlays-etc-dirs.service"
diff --git a/recipes-bsp/libubootenv/libubootenv_%.bbappend b/recipes-bsp/libubootenv/libubootenv_%.bbappend
index 59ba255..17d8ad5 100644
--- a/recipes-bsp/libubootenv/libubootenv_%.bbappend
+++ b/recipes-bsp/libubootenv/libubootenv_%.bbappend
@@ -4,7 +4,7 @@ SRC_URI:append:class-target = " file://fw_env.config"
do_install:append:class-target() {
install -d ${D}${sysconfdir}
- install -m 644 ${UNPACKDIR}/fw_env.config ${D}${sysconfdir}
+ install -m 644 ${WORKDIR}/fw_env.config ${D}${sysconfdir}
}
FILES:${PN}:append:class-target = " ${sysconfdir}"
diff --git a/recipes-support/swupdate/swupdate_%.bbappend b/recipes-support/swupdate/swupdate_%.bbappend
index 2e5de68..139b111 100644
--- a/recipes-support/swupdate/swupdate_%.bbappend
+++ b/recipes-support/swupdate/swupdate_%.bbappend
@@ -13,16 +13,16 @@ SRC_URI:append:beaglebone-yocto = " file://10-remove-force-ro"
RDEPENDS:${PN} += "u-boot-fw-utils"
do_install:append() {
- install -m 0644 ${UNPACKDIR}/09-swupdate-args ${D}${libdir}/swupdate/conf.d/
+ install -m 0644 ${WORKDIR}/09-swupdate-args ${D}${libdir}/swupdate/conf.d/
sed -i "s#@MACHINE@#${MACHINE}#g" ${D}${libdir}/swupdate/conf.d/09-swupdate-args
install -d ${D}${sysconfdir}
- install -m 644 ${UNPACKDIR}/swupdate.cfg ${D}${sysconfdir}
+ install -m 644 ${WORKDIR}/swupdate.cfg ${D}${sysconfdir}
}
do_install:append:beaglebone-yocto() {
# Recent swupdate as well as libubootenv handles force_ro flags automatically
if ${@bb.utils.contains('DEPENDS','libubootenv','false','true',d)}; then
- install -m 0644 ${UNPACKDIR}/10-remove-force-ro ${D}${libdir}/swupdate/conf.d/
+ install -m 0644 ${WORKDIR}/10-remove-force-ro ${D}${libdir}/swupdate/conf.d/
fi
}
--
2.34.1