fix: drop the overlay's Keel source and 1001 pin; pin staging for the build only #18
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Keel-Linux/keel-nodebb!18
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;conf.d/zz-project-packagestogether withkeel-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/project-packages.bats(16 tests, RED first, kcov 100 percent, 35/35): the pin is removed, a leftover source or staging pin fails the build, and common's Keel source and 990 pin are left in place.tests/apt-files.bats(3 tests): neither overlay file, and the staging pin written before the upgrade.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.