I hate ARM and I want it to die horrible death.
openQA 4.3 (with KERNEL, INITRD and APPEND support) needed for this.
This adds possibility to test our ARM images with openQA. For some reason,
only available images (that I know) are disk images with Fedora preinstalled.
That means that we have to download XZed disk image, uncompress it, copy
kernel and initramfs out of it and then use direct kernel boot with QEMU
to boot it. There is some black magic with openQA's request (unfortunatelly,
we have to conditionally check whether we are planning ARM testcases or not,
because we are passing it completely different set of arguments).
download_image now passes whole path to iso/disk file (because we need full
path for uncompressing) and it uses basename before POST.
backports.lzma Python library is needed for uncompressing.
I will follow this DR with patches with actual ARM tests (that will also do
some variables rejiggling).
See wiki on some
notes on ARM with openQA.