fix: drop the overlay's Keel source and 1001 pin; pin staging for the build only #5
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Keel-Linux/keel-lamp!5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/drop-keel-apt-overlay"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
/etc/apt/sources.list.d/keel.sources(apt.keellinux.org, disabled) or/etc/apt/preferences.d/keel(Pin-Priority 1001).conf/turnkey.d/keel-apttherefore stops this build until this lands.o=turnkeylinuxpin at 999 whenconf.d/mainupgrades inithooks and confconsole. Without it, apt would pick TurnKey's 2.3.6. Soconf.d/mainnow writes/etc/apt/preferences.d/keel-staging:Pin: release l=Keel Linux staging, at 1001, written just before the upgrade;keel-staging.list(common#30's final removelist removes it too);grep -q '^Enabled: no' keel.sourcesbecomes: fail the build if any apt source or pin of the image still names the build-time archive (trixie-staging,/srv/keel-apt,l=Keel Linux staging). This holds on today's common, where the image has no Keel source, and on common#30, where common ships it enabled.Merge order: this PR, then the pool, then common#30 together with inithooks#34.
Test plan
tests/apt-files.bats(5 tests, RED first): neither overlay file, the staging pin written before the upgrade and removed right after the staging list, the leftover check in place,conf.d/mainparses.conf.d/mainitself runs only in a build chroot, so these are static checks.Closing: Apache is retired in Keel (LEMP with nginx and php-fpm replaces LAMP/LAPP, decisions 0023-0040); this repository is being archived.