From 0ffd8bb0c45fdb8b1e63b1e0151b87e83e461b01 Mon Sep 17 00:00:00 2001 From: Alexander Mikhalitsyn Date: Fri, 21 Jun 2024 12:16:06 +0200 Subject: [PATCH] snapcraft: qemu: install librbd-dev only when needed Again, workaround for core24, because it lacks of librbd-dev for armhf architecture. https://packages.ubuntu.com/noble/librbd-dev compare with: https://packages.ubuntu.com/jammy/librbd-dev Signed-off-by: Alexander Mikhalitsyn --- snapcraft.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/snapcraft.yaml b/snapcraft.yaml index 95c61e734..72cfa7d2f 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -861,10 +861,17 @@ parts: - libglib2.0-dev - libnuma-dev - libpixman-1-dev - - librbd-dev - libseccomp-dev - libusbredirhost-dev - quilt + - on amd64: # workaround for armhf, because it lacks of librbd-dev + - librbd-dev + - on arm64: + - librbd-dev + - on ppc64el: + - librbd-dev + - on s390x: + - librbd-dev stage-packages: - genisoimage - ipxe-qemu # This is needed due to --disable-install-blobs.