Skip to contentSkip to conversation

tisdk-uenv: deploy for wic images

PATCH New Jacob Stiffler 1 participant 2 messages Jul 8, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 tisdk-uenv: deploy for wic images

---
 meta-arago-distro/recipes-tisdk/tisdk-uenv/tisdk-uenv.bb | 8 ++++++++
 1 file changed, 8 insertions(+)
meta-arago-distro/recipes-tisdk/tisdk-uenv/tisdk-uenv.bb +8 -0
index a08f24b..442e067 100644
@@ -20,3 +20,11 @@ do_install () {
 }
 
 FILES_${PN} += "board-support/*"
+
+# deploy files for wic image
+inherit deploy
+do_deploy() {
+    install -d ${DEPLOYDIR}
+    install -m 0644 ${S}/uEnv.txt ${DEPLOYDIR}
+}
+addtask deploy before do_build after do_unpack
Signature · 1 line
2.7.4
#1 lore raw

PATCH 2/2 arago: add uEnv.txt to wic images

---
 meta-arago-distro/conf/distro/arago.conf | 4 ++++
 1 file changed, 4 insertions(+)
meta-arago-distro/conf/distro/arago.conf +4 -0
index bc786a7..1e8d66f 100644
@@ -70,6 +70,10 @@ KERNEL_IMAGETYPES_k2l-hs-evm = "zImage fitImage"
 INITRAMFS_IMAGE_k2l-hs-evm = "k2-fw-initrd"
 INITRAMFS_FSTYPES_k2l-hs-evm = "cpio.gz"
 
+# Extra boot files for WIC images
+do_image_wic[depends] += "tisdk-uenv:do_deploy"
+IMAGE_BOOT_FILES += "uEnv.txt"
+
 # Mask any broken recipes (currently none)
 #BBMASK = ""
 
Signature · 1 line
2.7.4