@@ -299,12 +299,14 @@ class BootimgPcbiosPlugin(SourcePlugin):
label = part.label if part.label else "boot"
sector_size = getattr(creator, 'sector_size', 512)
- dosfs_cmd = "mkdosfs -n %s -i %s -S %d -C %s %d" % \
+ 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 -i %s -s %s/* ::/" % (bootimg, hdddir)
- exec_native_cmd(mcopy_cmd, native_sysroot)
+ mcopy_cmd = "mcopy -v -p -i %s -s %s/* ::/" % (bootimg, hdddir)
+ out = exec_native_cmd(mcopy_cmd, native_sysroot)
+ logger.debug("mcopy:\n%s" % (str(out)))
syslinux_cmd = "syslinux %s" % bootimg
exec_native_cmd(syslinux_cmd, native_sysroot)
Add prints to see what is being copied to boot partition. See commit 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_pcbios.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-)