| Message ID | 20260305200937.221484-2-alex.kanavin@gmail.com |
|---|---|
| State | New |
| Headers | show |
| Series | [1/2] bitbake-setup: ensure that relative local path given on 'init' command line is recorded as an absolute path | expand |
diff --git a/bin/bitbake-setup b/bin/bitbake-setup index 1a42aaa51..69362b589 100755 --- a/bin/bitbake-setup +++ b/bin/bitbake-setup @@ -741,9 +741,13 @@ def get_diff(file1, file2): return None def are_layers_changed(layers, layerdir, d): + from bb.fetch2.git import sha1_re + def _is_git_remote_changed(r_remote, repodir): changed = False rev = r_remote['rev'] + if sha1_re.match(rev): + return False branch = r_remote.get('branch', None) remotes = _get_remotes(r_remote)