On 1/23/23 1:48 PM, Andrew Hepp wrote:
rm_work fails on Petalinux 2022.2 due to a "FileNotFoundError".
It appears to be related to the following mailing list post:
https://lists.yoctoproject.org/g/yocto/topic/92321952?p=Created%2C%2C%2C20%2C2%2C0%2C0.
The previous commit states intent to add rootfs to RM_WORK_EXCLUDE_ITEMS but
overwrites rather than appends.
Signed-off-by: Andrew Hepp <[email protected]>
---
recipes-core/images/petalinux-initramfs-image.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/recipes-core/images/petalinux-initramfs-image.bb
b/recipes-core/images/petalinux-initramfs-image.bb
index 8e61cb3..3c4f201 100644
--- a/recipes-core/images/petalinux-initramfs-image.bb
+++ b/recipes-core/images/petalinux-initramfs-image.bb
@@ -38,4 +38,4 @@ IMAGE_ROOTFS_EXTRA_SPACE = "0"
rm_work_rootfs[noexec] = "1"
rm_work_rootfs[cleandirs] = ""
-RM_WORK_EXCLUDE_ITEMS = "rootfs"
+RM_WORK_EXCLUDE_ITEMS += "rootfs"
Alternatively
RM_WORK_EXCLUDE_ITEMS = "temp rootfs"
But your change may very well be better, as it won't have to be updated in the
future if the list changes.
--Mark
--
2.30.2
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#5138):
https://lists.yoctoproject.org/g/meta-xilinx/message/5138
Mute This Topic: https://lists.yoctoproject.org/mt/96482443/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-xilinx/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-