Skip to content

Commit

Permalink
ubuntu: put keyring archive into version-specific file
Browse files Browse the repository at this point in the history
It will ease upgrades, as the key will differ between versions, so
having different names allows shipping new keyring into older releases
without conflicts.

QubesOS/qubes-issues#7832
  • Loading branch information
marmarek committed Jul 17, 2023
1 parent 21fdbc5 commit 5e142b2
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 9 deletions.
1 change: 1 addition & 0 deletions debian/qubes-core-agent.install
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ usr/share/kde4/services/*.desktop
usr/share/keyrings/qubes-archive-keyring.gpg
usr/share/keyrings/qubes-archive-keyring-4.2.gpg
usr/share/keyrings/qubes-ubuntu-archive-keyring.gpg
usr/share/keyrings/qubes-ubuntu-archive-keyring-4.2.gpg
usr/share/kservices5/ServiceMenus/*.desktop
usr/share/applications/*.desktop
usr/share/man/man1/qvm-*
Expand Down
4 changes: 3 additions & 1 deletion package-managers/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ endif
$(DESTDIR)/usr/share/keyrings/qubes-archive-keyring-4.2.gpg
ln -s qubes-archive-keyring-4.2.gpg \
$(DESTDIR)/usr/share/keyrings/qubes-archive-keyring.gpg
install -D -m 0644 apt-qubes-ubuntu-archive-keyring.gpg \
install -D -m 0644 apt-qubes-ubuntu-archive-keyring-4.2.gpg \
$(DESTDIR)/usr/share/keyrings/qubes-ubuntu-archive-keyring-4.2.gpg
ln -s qubes-ubuntu-archive-keyring-4.2.gpg \
$(DESTDIR)/usr/share/keyrings/qubes-ubuntu-archive-keyring.gpg
install -D -m 0644 apt-conf-00notify-hook \
$(DESTDIR)$(APTCONFDIR)/apt.conf.d/00notify-hook
Expand Down
16 changes: 8 additions & 8 deletions package-managers/apt-qubes-r4-ubuntu.list.in
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# Main qubes updates repository
deb [arch=amd64 signed-by=/usr/share/keyrings/qubes-ubuntu-archive-keyring.gpg ] https://debu.qubes-os.org/r4.2/vm @DIST@ main
#deb-src [arch=amd64 signed-by=/usr/share/keyrings/qubes-ubuntu-archive-keyring.gpg ] https://debu.qubes-os.org/r4.2/vm @DIST@ main
deb [arch=amd64 signed-by=/usr/share/keyrings/qubes-ubuntu-archive-keyring-4.2.gpg ] https://debu.qubes-os.org/r4.2/vm @DIST@ main
#deb-src [arch=amd64 signed-by=/usr/share/keyrings/qubes-ubuntu-archive-keyring-4.2.gpg ] https://debu.qubes-os.org/r4.2/vm @DIST@ main

# Qubes updates candidates repository
#deb [arch=amd64 signed-by=/usr/share/keyrings/qubes-ubuntu-archive-keyring.gpg] https://debu.qubes-os.org/r4.2/vm @DIST@-testing main
#deb-src [arch=amd64 signed-by=/usr/share/keyrings/qubes-ubuntu-archive-keyring.gpg ] https://debu.qubes-os.org/r4.2/vm @DIST@-testing main
#deb [arch=amd64 signed-by=/usr/share/keyrings/qubes-ubuntu-archive-keyring-4.2.gpg] https://debu.qubes-os.org/r4.2/vm @DIST@-testing main
#deb-src [arch=amd64 signed-by=/usr/share/keyrings/qubes-ubuntu-archive-keyring-4.2.gpg ] https://debu.qubes-os.org/r4.2/vm @DIST@-testing main

# Qubes security updates testing repository
#deb [arch=amd64 signed-by=/usr/share/keyrings/qubes-ubuntu-archive-keyring.gpg] https://debu.qubes-os.org/r4.2/vm @DIST@-securitytesting main
#deb-src [arch=amd64 signed-by=/usr/share/keyrings/qubes-ubuntu-archive-keyring.gpg ] https://debu.qubes-os.org/r4.2/vm @DIST@-securitytesting main
#deb [arch=amd64 signed-by=/usr/share/keyrings/qubes-ubuntu-archive-keyring-4.2.gpg] https://debu.qubes-os.org/r4.2/vm @DIST@-securitytesting main
#deb-src [arch=amd64 signed-by=/usr/share/keyrings/qubes-ubuntu-archive-keyring-4.2.gpg ] https://debu.qubes-os.org/r4.2/vm @DIST@-securitytesting main

# Qubes experimental/unstable repository
#deb [arch=amd64 signed-by=/usr/share/keyrings/qubes-ubuntu-archive-keyring.gpg] https://debu.qubes-os.org/r4.2/vm @DIST@-unstable main
#deb-src [arch=amd64 signed-by=/usr/share/keyrings/qubes-ubuntu-archive-keyring.gpg ] https://debu.qubes-os.org/r4.2/vm @DIST@-unstable main
#deb [arch=amd64 signed-by=/usr/share/keyrings/qubes-ubuntu-archive-keyring-4.2.gpg] https://debu.qubes-os.org/r4.2/vm @DIST@-unstable main
#deb-src [arch=amd64 signed-by=/usr/share/keyrings/qubes-ubuntu-archive-keyring-4.2.gpg ] https://debu.qubes-os.org/r4.2/vm @DIST@-unstable main
Binary file not shown.
Binary file removed package-managers/apt-qubes-ubuntu-archive-keyring.gpg
Binary file not shown.
1 change: 1 addition & 0 deletions package-managers/apt-qubes-ubuntu-archive-keyring.gpg

0 comments on commit 5e142b2

Please sign in to comment.