From: Felix Moessbauer <felix.moessbauer@siemens.com>
To: isar-users@googlegroups.com
Cc: henning.schild@siemens.com, jan.kiszka@siemens.com,
ibr@ilbers.de, amikan@ilbers.de, adriaan.schmidt@siemens.com,
Felix Moessbauer <felix.moessbauer@siemens.com>
Subject: [PATCH v7 3/6] Revert "wic: move out all files ending on "direct*""
Date: Tue, 27 Sep 2022 11:51:14 +0200 [thread overview]
Message-ID: <20220927095117.958474-4-felix.moessbauer@siemens.com> (raw)
In-Reply-To: <20220927095117.958474-1-felix.moessbauer@siemens.com>
This reverts commit edc10d9361e79f36c8ea5488b1dab4c468213a8d.
---
meta/classes/imagetypes_wic.bbclass | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/meta/classes/imagetypes_wic.bbclass b/meta/classes/imagetypes_wic.bbclass
index 61a74d4a..81788faf 100644
--- a/meta/classes/imagetypes_wic.bbclass
+++ b/meta/classes/imagetypes_wic.bbclass
@@ -204,11 +204,10 @@ generate_wic_image() {
${WIC_CREATE_EXTRA_ARGS}
sudo chown -R $(stat -c "%U" ${LAYERDIR_core}) ${LAYERDIR_core} ${LAYERDIR_isar} ${SCRIPTSDIR} || true
+ WIC_DIRECT=$(ls -t -1 ${BUILDCHROOT_DIR}/$WICTMP/${IMAGE_FULLNAME}.wic/*.direct | head -1)
sudo chown -R $(id -u):$(id -g) ${BUILDCHROOT_DIR}/${WICTMP}
- find ${BUILDCHROOT_DIR}/${WICTMP} -type f -name "*.direct*" | while read f; do
- suffix=$(basename $f | sed 's/\(.*\)\(\.direct\)\(.*\)/\3/')
- mv -f ${f} "${DEPLOY_DIR_IMAGE}/${IMAGE_FULLNAME}.wic${suffix}"
- done
+ mv -f ${WIC_DIRECT} ${DEPLOY_DIR_IMAGE}/${IMAGE_FULLNAME}.wic
+ mv -f ${WIC_DIRECT}.bmap ${DEPLOY_DIR_IMAGE}/${IMAGE_FULLNAME}.bmap
rm -rf ${BUILDCHROOT_DIR}/${WICTMP}
rm -rf ${IMAGE_ROOTFS}/../pseudo
}
--
2.30.2
next prev parent reply other threads:[~2022-09-27 9:52 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-27 9:51 [PATCH v7 0/6] use xz and gzip on host (outside chroot) Felix Moessbauer
2022-09-27 9:51 ` [PATCH v7 1/6] do not crossbuild SDK for host-arch eq dist-arch Felix Moessbauer
2022-09-27 9:51 ` [PATCH v7 2/6] run imager in buildchroot-host on cross Felix Moessbauer
2022-09-27 9:51 ` Felix Moessbauer [this message]
2022-09-27 9:51 ` [PATCH v7 4/6] add option to control deploy of raw wic partitions Felix Moessbauer
2022-09-27 9:51 ` [PATCH v7 5/6] add test for wic partition deploy logic Felix Moessbauer
2022-09-27 9:51 ` [PATCH v7 6/6] add wic.xz image to qemuarm64-bookworm Felix Moessbauer
2022-10-07 18:53 ` [PATCH v7 0/6] use xz and gzip on host (outside chroot) Anton Mikanovich
2022-10-12 7:40 ` Uladzimir Bely
2022-10-13 10:45 ` MOESSBAUER, FELIX JONATHAN
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=20220927095117.958474-4-felix.moessbauer@siemens.com \
--to=felix.moessbauer@siemens.com \
--cc=adriaan.schmidt@siemens.com \
--cc=amikan@ilbers.de \
--cc=henning.schild@siemens.com \
--cc=ibr@ilbers.de \
--cc=isar-users@googlegroups.com \
--cc=jan.kiszka@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox