-
Notifications
You must be signed in to change notification settings - Fork 447
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.
- Loading branch information
Showing
2 changed files
with
31 additions
and
0 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
30 changes: 30 additions & 0 deletions
30
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,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 |