Skip to content

Commit

Permalink
snap: enable base: core24
Browse files Browse the repository at this point in the history
Signed-off-by: Ondrej Kubik <[email protected]>
  • Loading branch information
kubiko committed Jun 13, 2024
1 parent 59ca438 commit 29b7cdf
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ description: |
Copyright 2004-2015 by the Avahi developers.
base: core22
base: core24
confinement: strict
grade: stable
adopt-info: avahi
Expand All @@ -35,11 +35,11 @@ environment:
PATH: $SNAP/usr/bin:$PATH
LD_LIBRARY_PATH: $SNAP/usr/lib/${CRAFT_ARCH_TRIPLET_BUILD_FOR}

architectures:
- build-on: armhf
- build-on: arm64
- build-on: amd64
- build-on: riscv64
platforms:
armhf:
arm64:
amd64:
riscv64:

# expose services folder for other snaps
slots:
Expand Down Expand Up @@ -123,10 +123,10 @@ parts:
- --sysconfdir=/etc
stage-packages:
- libdaemon0
- libevent-2.1-7
- libevent-2.1-7t64
override-pull: |
craftctl default
track="22"
track="24" # this is currently the latest stable release
# depending on a channel in the snap store, build last release tag or master
# last stable tag
stable_tag=$(git tag --list | sed 's/v//g' | sort --version-sort | grep -v "rc" | tail -1)
Expand Down Expand Up @@ -200,6 +200,8 @@ parts:
- -usr/share/man

build-packages:
- g++
- gcc
- gettext
- intltool
- libdaemon-dev
Expand Down

0 comments on commit 29b7cdf

Please sign in to comment.