From 470507c02968fa156401b87fef9c3bf711c1c53d Mon Sep 17 00:00:00 2001 From: Andrea Righi Date: Fri, 16 Jun 2023 09:32:32 +0200 Subject: [PATCH] snap: add snapcraft.yaml Signed-off-by: Andrea Righi --- .gitignore | 1 + snap/snapcraft.yaml | 41 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 snap/snapcraft.yaml diff --git a/.gitignore b/.gitignore index 664afd3..d30d00a 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ debian/annotations.* debian/annotations/ debian/debhelper-build-stamp debian/files +*.snap diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml new file mode 100644 index 0000000..c7d3a4b --- /dev/null +++ b/snap/snapcraft.yaml @@ -0,0 +1,41 @@ +name: annotations +summary: Tool to manage Ubuntu kernel .config +description: | + This tool allows to store all the kernel .config information into a file called + annotations that contains all the Kconfig options for each supported + architecture and flavour and (optionally) a short description associated to + them. This works only with Ubuntu kernels at the moment. +license: GPL-3.0 +website: https://github.com/arighi/annotations +source-code: https://github.com/arighi/annotations + +base: core22 +type: app +adopt-info: annotations +confinement: strict + +apps: + annotations: + command: bin/annotations + plugs: + - home + aliases: + - annotations + +parts: + annotations: + build-packages: + - python3 + - python3-setuptools + stage-packages: + - python3 + - python3-argcomplete + - python3-pip + - python3-wheel + plugin: python + source: . + source-type: git + override-pull: | + craftctl default + craftctl set grade=stable + craftctl set version=$(python3 -m kconfig.version) -- 2.31.1