File tree Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -32,16 +32,11 @@ APTLY_REPO_NAME="debify-$CODENAME"
3232APTLY_ROOTDIR=$( mktemp -d)
3333APTLY_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 "
4540if [[ " $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"
You can’t perform that action at this time.
0 commit comments