Control: tag -1 - moreinfo

On Fri, 30 May 2025 17:15:15 +0200 Christian Kastner wrote:

> Control: tag -1 + moreinfo
> 
> On 2025-04-01 00:11, Francesco Poli (wintermute) wrote:
[...]
> > But, as soon as I update the image with:
> > 
> >   $ sbuild-qemu-update --boot=efi unstable-autopkgtest-amd64.img
> > 
> > I can no longer run 'sbuild-qemu-boot':
> > 
> >   $ sbuild-qemu-boot --boot=efi --shared-dir $(pwd) 
> > unstable-autopkgtest-amd64.img
> 
> I cannot reproduce this at the momemt, could you try it again?

I've just tried again.
I reproduce the same exact misbehavior I originally reported, with the
same exact output/errors.

After updating the image with 'sbuild-qemu-update', I can no longer use
'sbuild-qemu-boot'.
I don't know whether this is due to the image format conversion to QEMU
QCOW Image (v3), or to any other modification introduced by
'sbuild-qemu-update', but I still experience the bug.

> 
> Note that from experience, it is quite possible that sbuild-qemu-update
> just happened to update in a moment where a GRUB toolchain update within
> the VM encountered an issue. This is what I'd suspect here.
> 
> Note that you can use pass the --snapshot option to sbuild-qemu-update
> and it will create a snapshot of the original image within QCOW2.
[...]

Was the original image in QCOW format?!?

Just after creating the image with 'mmdebstrap-autopkgtest-build-qemu',
before updating it:

  $ file unstable-autopkgtest-amd64.img 
  unstable-autopkgtest-amd64.img: DOS/MBR boot sector; partition 1 : ID=0xee, 
start-CHS (0x0,0,2), end-CHS (0x3ff,255,63), startsector 1, 52690977 sectors, 
extended partition table (last)

After updating the image with 'sbuild-qemu-update':

  $ file unstable-autopkgtest-amd64.img 
  unstable-autopkgtest-amd64.img: QEMU QCOW Image (v3), 26977780736 bytes (v3), 
26977780736 bytes

Please clarify.

Thanks for your time and patience!


-- 
 http://www.inventati.org/frx/
 There's not a second to spare! To the laboratory!
..................................................... Francesco Poli .
 GnuPG key fpr == CA01 1147 9CD2 EFDF FB82  3925 3E1C 27E1 1F69 BFFE

Attachment: pgpR2ddpZBpGw.pgp
Description: PGP signature

Reply via email to