Commit f5cc1ed8 authored by jan.koester's avatar jan.koester
Browse files

rpm-sign.sh: sign every package, RC4 bridge removed

SIGN_UNSIGNED now defaults to empty: rpm, rpm-devel and fenriros-release
are signed too (FenrirOS 1 RC5). Systems still on rpm < 6.1.0-6 need the
new rpm by hand or SIGN_UNSIGNED set again.

Co-Authored-By: default avatarClaude Opus 5.5 <noreply@anthropic.com>
parent d8aa2e43
Loading
Loading
Loading
Loading
+8 −7
Changes for rpm-sign.sh: 8 added lines, 7 removed lines.
Original line number Diff line number Diff line
@@ -7,17 +7,18 @@
# without an import), and the secret key has to be in the host user's gpg
# keyring.
#   SIGN_KEYFILE   public key  (default: $FENRIR_FILES/fenriros-release/RPM-GPG-KEY-fenriros)
#   SIGN_UNSIGNED  package names left unsigned (default: rpm rpm-devel
#                  fenriros-release): the rpm before 6.1.0-6 was built
#                  without OpenPGP and can't install a signed package at
#                  all, not even with dnf5's gpgcheck=0 -- systems from
#                  before RC4 get the new rpm and the key through these
#                  first (dnf5 upgrade rpm fenriros-release), then the rest
#   SIGN_UNSIGNED  package names left unsigned (default: none). The RC4
#                  bridge kept rpm, rpm-devel and fenriros-release unsigned,
#                  because the rpm before 6.1.0-6 was built without OpenPGP
#                  and can't install a signed package at all; since
#                  2026-11-14 every package is signed. A system still on
#                  rpm < 6.1.0-6 needs the new rpm by hand (rpm2cpio/bsdtar)
#                  or SIGN_UNSIGNED="rpm rpm-devel fenriros-release" again
#   SIGN=0         build unsigned (test builds only)

SIGN_KEYFILE="${SIGN_KEYFILE:-$FENRIR_FILES/fenriros-release/RPM-GPG-KEY-fenriros}"
SIGN="${SIGN:-1}"
SIGN_UNSIGNED="${SIGN_UNSIGNED-rpm rpm-devel fenriros-release}"
SIGN_UNSIGNED="${SIGN_UNSIGNED-}"
SIGN_FPR=""

# sign_init -- find the signing key; dies if signing is on and it's missing