Package: autopkgtest
Version: 5.10
Severity: important
Tag: autopkgtest qemu patch buster vmdb2
Usertags: ppc64el


While using debci, create-tesbed command for backends/qemu launches
               autopkgtest-build-qemu unstable
/var/lib/debci/qemu/unstable-ppc64el.img http://deb.debian.org/debian
*ppc64el* backends/qemu/customize.sh

1) it fails with                   E: Unable to locate package
/*linux-image-ppc64el*/

the proper name should be linux-image-powerpc64le, so on line 123 I
would add the following entry for architecture ppc64el

/*      (ppc64el)*//*
*//*        kernel=linux-image-powerpc64le*//*
*//*        ;;*/

2) Then it calls vmdb2 with an entry:       grub: bios

which calls /usr/lib/python3/dist-packages/vmdb/plugins/grub_plugin.py
which wants to install package

        grub_package = 'grub-pc'   for grub_target = 'i386-pc'

problem is that grub-pc package doesn't exist on ppc64el
at least*2 solutions there *- either in autopkgtest-build-qemu
conditionally sending the grub: option and install what's needed in
customize.sh script

                               either modify vmdb2 to use grub2 package
and target=powerpc-ieee1275

_NOTE:_ because grub-install doesn't install on /dev/loop0 - send a
message : grub-install: error: the chosen partition is not a PReP partition

I was successfull doing /grub-install ... /dev/sda1 but image is not
bootable because slash not found - Not a bootable device !/

/A bit stuck right now !
/


Thanks for your help

Regards


-- 
Thierry Fauck @ fr.ibm.com

Reply via email to