File tree 1 file changed +4
-9
lines changed
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"
32
32
APTLY_ROOTDIR=$( mktemp -d)
33
33
APTLY_CONFIG=$( mktemp)
34
34
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
42
37
# 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 "
45
40
if [[ " $DEB_REPO " == " debian/bullseye" ]]; then
46
41
# For Bullseye, the legacy server had a slightly different setup we try to reproduce here
47
42
APTLY_ORIGIN=" bullseye bullseye"
You can’t perform that action at this time.
0 commit comments