Skip to content

Commit 461dec3

Browse files
Revert "bug-fix: Set correct and unique repo meta data"
This reverts commit 38ddbef.
1 parent 8e8c9d6 commit 461dec3

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

packaging/update-apt-repo.sh

+4-9
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,11 @@ APTLY_REPO_NAME="debify-$CODENAME"
3232
APTLY_ROOTDIR=$(mktemp -d)
3333
APTLY_CONFIG=$(mktemp)
3434

35-
# The origin and label fields are free text fields that should indicate the heritage of the package repository.
36-
# They are used in an unattend-upgrade scenario and therefore they should be unique for each package source.
37-
# Further information can be found here https://wiki.debian.org/DebianRepository/Format & https://wiki.debian.org/UnattendedUpgrades
38-
# For fluent-bit a valid apt config entry for unattended upgrades is
39-
# Unattended-Upgrade::Origins-Pattern {
40-
# "origin=packages.fluentbit.io,codename=${distro_codename},label=fluent-bit"
41-
# }
35+
# The origin and label fields seem to cover the base directory for the repo and codename.
36+
# The docs seems to suggest these fields are optional and free-form: https://wiki.debian.org/DebianRepository/Format#Origin
4237
# They are security checks to verify if they have changed so we match the legacy server.
43-
APTLY_ORIGIN="packages.fluentbit.io"
44-
APTLY_LABEL="fluent-bit"
38+
APTLY_ORIGIN=". $CODENAME"
39+
APTLY_LABEL=". $CODENAME"
4540
if [[ "$DEB_REPO" == "debian/bullseye" ]]; then
4641
# For Bullseye, the legacy server had a slightly different setup we try to reproduce here
4742
APTLY_ORIGIN="bullseye bullseye"

0 commit comments

Comments
 (0)