Skip to content

Commit

Permalink
snapcraft: qemu: install librbd-dev only when needed
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
mihalicyn committed Jun 21, 2024
1 parent b57a131 commit 0ffd8bb
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 0ffd8bb

Please sign in to comment.