diff options
author | Alexander Kanavin <alex@linutronix.de> | 2025-09-29 14:56:15 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-10-03 17:51:38 +0100 |
commit | c659a27bbcdcf3a61ff3587da8dd0b150754756e (patch) | |
tree | c78989ca0b41f81f25285b121e903c82e4bd8b8e /scripts/cve-json-to-text.py | |
parent | ba1d5f59fbdab04f68f35abf8e919d3ae1ff35f8 (diff) | |
download | poky-c659a27bbcdcf3a61ff3587da8dd0b150754756e.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/cve-json-to-text.py')
0 files changed, 0 insertions, 0 deletions