diff mbox series

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

Message ID 20260714213742.1630284-1-gael.portay+rtone@gmail.com
State New
Headers show
Series [wic] wic: bootimg_efi: fix debug output for mkdosfs | expand

Commit Message

Gaël PORTAY July 14, 2026, 9:37 p.m. UTC
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 <gael.portay+rtone@gmail.com>
---
 src/wic/plugins/source/bootimg_efi.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

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)