snap: Build initrd on ppc64le & s390x

instead of image, does not require privileged containers since `losetup`
is not used and is thus more portable for various build environments.

Fixes: #2218
Signed-off-by: Jakob Naucke <jakob.naucke@ibm.com>
This commit is contained in:
Jakob Naucke 2021-07-12 14:48:31 +02:00
parent 6c39c353e6
commit 007a656173
No known key found for this signature in database
GPG Key ID: 45FA1C7D310C0EBE

View File

@ -124,7 +124,7 @@ parts:
;;
ppc64le|s390x)
# Cannot use alpine on ppc64le/s390x because it would require a musl agent
sudo -E PATH=$PATH make image DISTRO=ubuntu
sudo -E PATH=$PATH make initrd DISTRO=ubuntu
;;
x86_64)
# In some build systems it's impossible to build a rootfs image, try with the initrd image