Thanks! I've reviewed this, and it looks good to me, and I've merged it upstream.
On Fri, 2022-10-14 at 23:02 -0300, Antonio Terceiro wrote: > Package: vmdb2 > Version: 0.26-1 > Severity: normal > Tags: patch > X-Debbugs-CC: l...@liw.fi > > Dear Maintainer, > > I was trying to create an arm64 image with GRUB and UEFI from my amd64 > laptop, using the attached definition. It would fail at the GRUB install > phase, and the error message was saying that it was trying to install > grub-efi-amd64 even though I was creating an arm64 image. I then noticed > that the debootstrap plugin was not setting the architecture globally, > what caused the grub plugin to not use the correct architecture. > > The attached patch fixes this. > > -- System Information: > Debian Release: bookworm/sid > APT prefers testing-debug > APT policy: (900, 'testing-debug'), (900, 'testing'), (500, > 'unstable-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, > 'experimental') > Architecture: amd64 (x86_64) > > Kernel: Linux 5.19.0-2-amd64 (SMP w/4 CPU threads; PREEMPT) > Kernel taint flags: TAINT_WARN > Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8), > LANGUAGE=pt_BR:pt:en > Shell: /bin/sh linked to /usr/bin/dash > Init: systemd (via /run/systemd/system) > LSM: AppArmor: enabled > > Versions of packages vmdb2 depends on: > ii cmdtest 0.32.14.gcdfe14e-4 > ii debootstrap 1.0.127+nmu1 > ii e2fsprogs 1.46.6~rc1-1 > ii kpartx 0.9.0-4 > ii parted 3.5-2 > ii python3 3.10.6-1 > ii python3-jinja2 3.0.3-2 > ii python3-yaml 5.4.1-1+b2 > ii qemu-utils 1:7.1+dfsg-2 > > Versions of packages vmdb2 recommends: > ii ansible 6.4.0+dfsg-1 > ii dosfstools 4.2-1 > ii qemu-user-static 1:7.1+dfsg-2 > > vmdb2 suggests no packages. > > -- no debconf information
signature.asc
Description: This is a digitally signed message part