summaryrefslogtreecommitdiffstats
path: root/scripts/lib/wic/engine.py
diff options
context:
space:
mode:
authorAlexander Kanavin <alex@linutronix.de>2025-09-29 14:56:15 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-10-07 00:05:39 +0100
commit1072e493a30437da5ff49bd7a2ff1bf12a8eb04f (patch)
tree151bde40bdde02d29a6d7c63fadca361e54f2c13 /scripts/lib/wic/engine.py
parentaaff0ac8867342957390bcf94261754374780d39 (diff)
downloadpoky-1072e493a30437da5ff49bd7a2ff1bf12a8eb04f.tar.gz
bitbake: bitbake-setup: add support for specifying branches in repo checkouts
Previously bitbake-setup was checking out 'detached commits' using fetcher's nobranch feature, as that is the only option when only a revision is in the config. Branches are optional, but beneficial, as - checkout directory will be on a branch, making it easier for users to understand where they are if they need to make changes (also bitbake will print branch information instead of saying 'HEAD:sha'). - supply chain security! Enforcing a branch means any specified revision has to be on it, and no one can sneak in (accidentally or deliberately!) some dangling commit, or something from their private branch in the same repo. (Bitbake rev: 14dd5f53913419a6c26c0b809a592bd19ae8495a) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/wic/engine.py')
0 files changed, 0 insertions, 0 deletions