-
Notifications
You must be signed in to change notification settings - Fork 446
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This update fixes LP#2083013, where some package-repositories declarations could conflict with default sources present in Noble and later.
- Loading branch information
Showing
5 changed files
with
35 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
tests/spread/core24/package-repositories/test-key-conflict/snapcraft.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
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] | ||
components: [main, universe] | ||
architectures: [i386] | ||
key-id: F6ECB3762474EDA9D21B7022871920D1991BC93C | ||
key-server: keyserver.ubuntu.com | ||
|
||
parts: | ||
mypart: | ||
plugin: nil | ||
stage-packages: | ||
- zlib1g:i386 # To ensure the package-repo is setup correctly | ||
- hello # there is no hello:i386 in the archives | ||
|
||
apps: | ||
test-key-conflict: | ||
command: usr/bin/hello -g hello |