The staging archive and its keyring leave the image #4
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
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Keel-Linux/common!4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/staging-archive-keyring"
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?
Part of Keel-Linux/tracker#7.
A layer recipe installs the project's own packages from a copy of the staging
APT archive inside the build tree, named by an apt source and, from
tracker#7 onwards, verified against the staging public key installed as
/etc/apt/keyrings/keel-staging-keyring.asc.None of the three belongs in a finished image. The staging key signs whatever
the build host produced, so an image that kept it would carry trust in a
nightly. The recipes remove all three in their own conf scripts; the same
defect has now had to be fixed in four of them, so the arrangement that holds
whether or not a recipe remembers belongs here, next to the captured package
pool that is already taken back out.
The three entries carry the
~glob prefix, so a build that used no stagingarchive passes over them silently. They are inserted before the
rm tmp contentssection rather than appended, so that this and the pool removelistbranch do not collide on the same lines.
Test plan
removelists-final/turnkeyparses as it did: the three new lines areglobs of the same form as the pool entries above them
recipe Makefiles and conf scripts
wordpressboot test, which now reads theassembled rootfs and fails if any of the three is there