From: Zhihang Wei <wzh@ilbers.de>
To: Quirin Gylstorff <Quirin.Gylstorff@siemens.com>,
isar-users@googlegroups.com
Subject: Re: [PATCH 1/2] isoimage-isohybrid-isar: fix error if source_param image_name is set
Date: Fri, 28 Nov 2025 17:07:22 +0100 [thread overview]
Message-ID: <4c894100-c066-42f0-883f-f1ac568d6b52@ilbers.de> (raw)
In-Reply-To: <20251126114431.20236-1-Quirin.Gylstorff@siemens.com>
Applied to next, thanks.
Zhihang
On 11/26/25 12:43, 'Quirin Gylstorff' via isar-users wrote:
> From: Quirin Gylstorff <quirin.gylstorff@siemens.com>
>
> This fixes the following error:
>
> ERROR: _exec_cmd: export PATH=//sbin://usr/sbin://usr/bin://usr/bin/None://bin:None:$PATH;/usr/bin/python3-native/python3 /usr/bin/bmaptool create /tmp/isar-image-base-debian-bookworm-qemuamd64-iso.wic/tmp.wic.h061sjt6/isohybrid-efi-202511201339-cd.direct -o /tmp/isar-image-base-debian-bookworm-qemuamd64-iso.wic/tmp.wic.h061sjt6/isohybrid-efi-202511201339-cd.direct.bmap returned '1' instead of 0
> | output: bmaptool: ERROR: An error occurred, here is the traceback:
> | Traceback (most recent call last):
> | File "/usr/lib/python3/dist-packages/bmaptools/BmapCreate.py", line 200, in _open_image_file
> | self._f_image = open(self._image_path, 'rb')
> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> | FileNotFoundError: [Errno 2] No such file or directory: '/tmp/isar-image-base-debian-bookworm-qemuamd64-iso.wic/tmp.wic.h061sjt6/isohybrid-efi-202511201339-cd.direct'
> |
> | During handling of the above exception, another exception occurred:
> |
> | Traceback (most recent call last):
> | File "/usr/lib/python3/dist-packages/bmaptools/CLI.py", line 555, in create_command
> | creator = BmapCreate.BmapCreate(args.image, output, "sha256")
> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> | File "/usr/lib/python3/dist-packages/bmaptools/BmapCreate.py", line 166, in __init__
> | self._open_image_file()
> | File "/usr/lib/python3/dist-packages/bmaptools/BmapCreate.py", line 202, in _open_image_file
> | raise Error("cannot open image file '%s': %s"
> |
> | bmaptool: ERROR: cannot open image file '/tmp/isar-image-base-debian-bookworm-qemuamd64-iso.wic/tmp.wic.h061sjt6/isohybrid-efi-202511201339-cd.direct': [Errno 2] No such file or directory: '/tmp/isar-image-base-debian-bookworm-qemuamd64-iso.wic/tmp.wic.h061sjt6/isohybrid-efi-202511201339-cd.direct'
>
> Tested-by: Herbert Bernecker <herbert.bernecker@siemens.com>
> Signed-off-by: Quirin Gylstorff <quirin.gylstorff@siemens.com>
> ---
>
> This is already broken in bitbake upstream and I will also sent the patch there.
> Quirin
> meta/scripts/lib/wic/plugins/source/isoimage-isohybrid-isar.py | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/meta/scripts/lib/wic/plugins/source/isoimage-isohybrid-isar.py b/meta/scripts/lib/wic/plugins/source/isoimage-isohybrid-isar.py
> index b46527b8..690e291e 100644
> --- a/meta/scripts/lib/wic/plugins/source/isoimage-isohybrid-isar.py
> +++ b/meta/scripts/lib/wic/plugins/source/isoimage-isohybrid-isar.py
> @@ -533,3 +533,4 @@ class IsoImagePlugin(SourcePlugin):
> os.remove(disk.path)
> shutil.copy2(iso_img, full_path_iso)
> shutil.copy2(full_path_iso, full_path)
> + disk.path=full_path
--
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/4c894100-c066-42f0-883f-f1ac568d6b52%40ilbers.de.
prev parent reply other threads:[~2025-11-28 16:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-26 11:43 'Quirin Gylstorff' via isar-users
2025-11-26 11:43 ` [PATCH 2/2] isoimage-isohybrid-isar: fix disk full if no initrd exists 'Quirin Gylstorff' via isar-users
2025-11-27 11:10 ` 'Quirin Gylstorff' via isar-users
2025-11-28 9:02 ` Zhihang Wei
2025-11-28 16:07 ` Zhihang Wei [this message]
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=4c894100-c066-42f0-883f-f1ac568d6b52@ilbers.de \
--to=wzh@ilbers.de \
--cc=Quirin.Gylstorff@siemens.com \
--cc=isar-users@googlegroups.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