Skip to content

Commit 89a4f76

Browse files
committed
fixup! fix(snap): require snapd 2.77 for openshell snap
Signed-off-by: Oliver Calder <oliver.calder@canonical.com>
1 parent ffc4b11 commit 89a4f76

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

‎snapcraft.yaml‎

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,10 @@ description: |
4545
base: core24
4646
grade: stable
4747
confinement: strict
48-
assumes:
49-
# The system :docker slot was added in snapd 2.76, but manual connection to
50-
# that slot without snap-declaration overrides from the store, such as when
51-
# installing a locally-built snap, was only allowed starting with snapd 2.77.
52-
- snapd2.77
48+
# The system :docker slot was added in snapd 2.76, but manual connection to
49+
# that slot without snap-declaration overrides from the store, such as when
50+
# installing a locally-built snap, was only allowed starting with snapd 2.77.
51+
assumes: [snapd2.77]
5352
license: Apache-2.0
5453
website: https://docs.nvidia.com/openshell/latest/index.html
5554
source-code: https://github.com/NVIDIA/OpenShell

‎tasks/scripts/test-packaging-assets.sh‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,8 @@ bash "$ROOT/tasks/scripts/test-snap-gateway-wrapper.sh" "$snap_wrapper"
105105

106106
# Store installs autoconnect all required interfaces. Assertionless local Snap
107107
# tests connect only the privileged plugs, with Docker using the system slot.
108+
# Manual connection to the system Docker slot requires snapd 2.77.
109+
assert_contains "$snapcraft" "assumes: [snapd2.77]"
108110
for snap_file in \
109111
"$snapcraft" \
110112
"$snap_install_docs" \

0 commit comments

Comments
 (0)