[wic][PATCH] wic: bootimg_efi: fix debug output for mkdosfs

Gaël PORTAY <[email protected]> Tue, 14 Jul 2026 23:37:41 +0200
Newsgroups org.yoctoproject.lists.yocto-patches
Message-ID <[email protected]>
Set the copy output correctly when making the filesystem in order for
the debug log line to correctly show the made filesystem.

See commits dea8d761712 ("wic: bootimg_efi: fix debug output for
part.include_path") and 5643596fd76 ("wic bootimg-efi.py: keep
timestamps and add debug prints")

Signed-off-by: Gaël PORTAY <[email protected]>
---
 src/wic/plugins/source/bootimg_efi.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/wic/plugins/source/bootimg_efi.py b/src/wic/plugins/source/bootimg_efi.py
index fe6c222..6c206ca 100644
--- a/src/wic/plugins/source/bootimg_efi.py
+++ b/src/wic/plugins/source/bootimg_efi.py
@@ -419,7 +419,7 @@ class BootimgEFIPlugin(SourcePlugin):
         sector_size = getattr(creator, 'sector_size', 512)
         dosfs_cmd = "mkdosfs -v -n %s -i %s -S %d -C %s %d" % \
                     (label, part.fsuuid, sector_size, bootimg, blocks)
-        exec_native_cmd(dosfs_cmd, native_sysroot)
+        out = exec_native_cmd(dosfs_cmd, native_sysroot)
         logger.debug("mkdosfs:\n%s" % (str(out)))
 
         mcopy_cmd = "mcopy -v -p -i %s -s %s/* ::/" % (bootimg, hdddir)
-- 
2.43.0