Upstream (UCA) qemu-efi (AAVMF) package is incompatible
with most cloud images, e.g. Cirros used by Functest,
resulting in kernel boot issues and/or missing serial console
output.
Work around this by pinning the qemu-efi Debian package from
the old Armband repositories. This should fix singlevm1 functest
testcase.
Change-Id: Ibbe2218d99881f6fec89846497c2cc248aab5031
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit 
73656638216987cc4e9c75468182f16b82cce5d1)
         armband_3:  # Should be in sync with the repo config generated via curtin/MaaS
           source: "deb http://linux.enea.com/mcp-repos/${_param:armband_repo_version}/xenial ${_param:armband_repo_version}-armband main"
           key: ${_param:armband_key}
-          pin:
-            - pin: 'release a=${_param:armband_repo_version}-armband'
+          pinning:
+            15:
+              enabled: true
+              pin: 'release a=${_param:armband_repo_version}-armband'
               priority: 15
               package: '*'
+            1200:
+              enabled: true
+              pin: 'release a=${_param:armband_repo_version}-armband'
+              priority: 1200
+              package: 'qemu-efi'
 {%- endif %}
       kernel:
         sysctl:
 
         armband_3:  # Should be in sync with the repo config generated via curtin/MaaS
           source: "deb http://linux.enea.com/mcp-repos/${_param:armband_repo_version}/xenial ${_param:armband_repo_version}-armband main"
           key: ${_param:armband_key}
-          pin:
-            - pin: 'release a=${_param:armband_repo_version}-armband'
+          pinning:
+            15:
+              enabled: true
+              pin: 'release a=${_param:armband_repo_version}-armband'
               priority: 15
               package: '*'
+            1200:
+              enabled: true
+              pin: 'release a=${_param:armband_repo_version}-armband'
+              priority: 1200
+              package: 'qemu-efi'
 {%- endif %}
     network:
       host: