rootfs: remove temporary apt sources before image creation - #205
Merged
Conversation
Keerthi Gowda (keerthi-go)
force-pushed
the
feat/temp-apt-source-cleanup
branch
4 times, most recently
from
July 27, 2026 23:01
e5ccfca to
f6afed2
Compare
Bjordis Collaku (bjordiscollaku)
approved these changes
Jul 27, 2026
Delete apt source list files for manifest entries marked temp: true after chroot package installation and before creating rootfs.img. This keeps build-time staging repos available during dependency resolution without leaving them configured on target devices. Signed-off-by: Keerthi Gowda <kbalehal@qti.qualcomm.com>
- Rename manifest flag from temp to build-only for clarity - Remove /opt/local-debs and its apt source list, used only for --local-debs dependency resolution during build - Clear var/lib/apt/lists and var/cache/apt/archives from the rootfs Signed-off-by: Keerthi Gowda <kbalehal@qti.qualcomm.com>
Keerthi Gowda (keerthi-go)
force-pushed
the
feat/temp-apt-source-cleanup
branch
from
July 28, 2026 23:47
f6afed2 to
822af7b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
build-rootfs.shto remove apt source list files for manifest entries marked as temporary (temp: true)Why
pkg-oss-staging-repois needed for dependency resolution during build