Skip to content

Commit

Permalink
build(deps): bump craft-archives
Browse files Browse the repository at this point in the history
This update fixes LP#2083013, where some package-repositories declarations
could conflict with default sources present in Noble.
  • Loading branch information
tigarmo committed Oct 16, 2024
1 parent f51b12e commit 56a1ed5
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/spread/core24/package-repositories/task.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ environment:
SNAP/test_multi_keys: test-multi-keys
SNAP/test_foreign_armhf: test-foreign-armhf
SNAP/test_foreign_i386: test-foreign-i386
SNAP/test_key_conflict: test-key-conflict

prepare: |
# Remove the currently installed "gpg" and "dirmngr" packages to ensure that
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: test-key-conflict
version: '1.0'
summary: test package repos with keys already present on the system
description: test package repos with keys already present on the system
confinement: strict
base: core24
platforms:
amd64:

package-repositories:
# In core24 this pair of url + suite is already listed in
# /etc/apt/sources.list.d/ubuntu.sources. Add it here to make sure this setup
# is working.
- type: apt
url: http://archive.ubuntu.com/ubuntu
suites: [noble-updates]
components: [main, universe]
architectures: [i386]
key-id: F6ECB3762474EDA9D21B7022871920D1991BC93C
key-server: keyserver.ubuntu.com

parts:
mypart:
plugin: nil
stage-packages:
- hello:i386

apps:
test-key-conflict:
command: usr/bin/hello -g hello

0 comments on commit 56a1ed5

Please sign in to comment.