Control: block -1 #973467

Hi Ryutaroh,

(I'm not a maintainer)

On 10/31/20 9:34 AM, Ryutaroh Matsumoto wrote:
> Control: tags -1 + patch
> Control: retitle -1 autopkgtest-build-qemu does not build a working arm64 
> qemu testbed

Unconditionally switching from BIOS to UEFI might be the right thing to
do, but does have its risks. I think this might break i386. Did you get
a chance it with that architecture?

In any case, I think the cleaner solution would be make this a new
option, eg:

    autopkgtest-build-qemu --boot=<option>

where <option>=grub or =uefi. The default could even be conditional on
the architecture (uefi on amd64 and arm64, bios on i386).


Regardless of which solution is picked, this all depends on the vmdb2
GRUB plugin supporting multiple architectures (the #973467 that you
reported). One solution might be to add an arch: option to the plugin
(similar to the QEMU-debootstrap pluging), defaulting to the host
architecture.


Adding arm64 support so that it works out-of-the-box would be a great
addition to autopkgtest, I (as a user) would definitely appreciate such
a feature!

Reply via email to