From 007a656173b980522367fa2a6907925b43163b62 Mon Sep 17 00:00:00 2001 From: Jakob Naucke Date: Mon, 12 Jul 2021 14:48:31 +0200 Subject: [PATCH] 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 --- snap/snapcraft.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 01ac9706a8..f4d248844a 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -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