From a21e56a3ddd7d7f82ed37fea3537219010a1bdc0 Mon Sep 17 00:00:00 2001 From: Thiago Barcala Date: Sat, 15 Jul 2023 18:00:55 +0200 Subject: [PATCH] Fix snapcraft build --- snap/snapcraft.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 41588c3..e4625bb 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -1,5 +1,5 @@ name: suid-wrapper -base: core20 +base: core22 version: '0.2.0' summary: Utility to create binary executables to be used with the suid flag description: | @@ -28,7 +28,9 @@ parts: source-type: git build-packages: - make + - execstack override-build: | APP_VERSION=0.2.0 make release + execstack --clear-execstack bin/release/suid-wrapper mkdir -p $SNAPCRAFT_PART_INSTALL/bin cp bin/release/suid-wrapper $SNAPCRAFT_PART_INSTALL/bin/suid-wrapper