diff mbox series

[isar-cip-core,v3,3/7] squashfs-img: Make sure DEPLOY_DIR_IMAGE exists

Message ID 18e7a6ef12a2307a98527639880c9f6a62458e27.1650887383.git.jan.kiszka@siemens.com (mailing list archive)
State New
Headers show
Series Fix read-only rootfs setup /wrt etc overlay - and more | expand

Commit Message

Jan Kiszka April 25, 2022, 11:49 a.m. UTC
From: Jan Kiszka <jan.kiszka@siemens.com>

We only get it implicitly so far, but that may always change.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 classes/squashfs-img.bbclass | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/classes/squashfs-img.bbclass b/classes/squashfs-img.bbclass
index 04bb67c..c22d7d6 100644
--- a/classes/squashfs-img.bbclass
+++ b/classes/squashfs-img.bbclass
@@ -29,6 +29,7 @@  python __anonymous() {
     d.appendVar('SQUASHFS_CREATION_ARGS', args)
 }
 
+do_squashfs_image[dirs] = "${DEPLOY_DIR_IMAGE}"
 do_squashfs_image() {
     rm -f '${DEPLOY_DIR_IMAGE}/${SQUASHFS_IMAGE_FILE}'