From: Jan Kiszka <jan.kiszka@siemens.com>
To: cip-dev <cip-dev@lists.cip-project.org>
Cc: Quirin Gylstorff <quirin.gylstorff@siemens.com>
Subject: [isar-cip-core][PATCH] squashfs: Fix rebuild
Date: Tue, 21 Jun 2022 11:32:43 +0200 [thread overview]
Message-ID: <4e20dd15-8c00-140f-a1c7-a42d27bf178c@siemens.com> (raw)
From: Jan Kiszka <jan.kiszka@siemens.com>
The wrong filename was used for deleting a preexisting image, and that
caused mksquashfs to refuse creating a new one. We can achieve this also
without an explicit rm, just by using -noappend.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
classes/squashfs.bbclass | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/classes/squashfs.bbclass b/classes/squashfs.bbclass
index 376ddfe..99436bc 100644
--- a/classes/squashfs.bbclass
+++ b/classes/squashfs.bbclass
@@ -29,9 +29,7 @@ python __anonymous() {
IMAGE_CMD_squashfs[depends] = "${PN}:do_transform_template"
IMAGE_CMD_squashfs() {
- rm -f '${DEPLOY_DIR_IMAGE}/${SQUASHFS_IMAGE_FILE}'
-
${SUDO_CHROOT} /bin/mksquashfs \
'${SQUASHFS_CONTENT}' '${IMAGE_FILE_CHROOT}' \
- ${SQUASHFS_CREATION_ARGS}
+ -noappend ${SQUASHFS_CREATION_ARGS}
}
--
2.35.3
reply other threads:[~2022-06-21 9:33 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4e20dd15-8c00-140f-a1c7-a42d27bf178c@siemens.com \
--to=jan.kiszka@siemens.com \
--cc=cip-dev@lists.cip-project.org \
--cc=quirin.gylstorff@siemens.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.