diff options
| author | Hains van den Bosch <hainsvdbosch@ziggo.nl> | 2025-03-22 15:34:12 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-03-22 09:58:08 -0700 |
| commit | 4e47dbbc6e472a7a6b98522bc55a894635373aee (patch) | |
| tree | 1099756b8854a0bcad8e2b1776c9b7072946207f | |
| parent | 7c03751b59e067d5393c6d0a834da755baca167b (diff) | |
| download | meta-openembedded-4e47dbbc6e472a7a6b98522bc55a894635373aee.tar.gz | |
gitpkgv.bbclass: Fix broken git revison
The revision dictionary was built with keys from names list in Bitbake(setup_revisions()).
See:
https://git.openembedded.org/bitbake/commit/?id=2515fbd10824005fa7f34e87706000c079920366
And used to build names list in gitpkgv.bbclass in the old situation, see:
https://git.openembedded.org/meta-openembedded/commit/?id=2920d4909236106e1a36d56b3b20762a308ba3d4
Use name variable to build names list instead of revision variable.
Use append() now name variable is a string.
Old ipk file name:
enigma2_3.13+git3_1_3_0_9_c_7_0_a_4_f_a_6_9_d_6_7_0_1_7_b_b_9_f_7_f_4_d_d_9_d_6_1_0_a_8_c_3_d_20+31309c70a4-r0_dm920.ipk
New ipk file name:
enigma2_3.13+git21834+31309c70+31309c70a4-r0_dm920.ipk
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/classes/gitpkgv.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/classes/gitpkgv.bbclass b/meta-oe/classes/gitpkgv.bbclass index af98f256ab..eb4b1eae9a 100644 --- a/meta-oe/classes/gitpkgv.bbclass +++ b/meta-oe/classes/gitpkgv.bbclass | |||
| @@ -70,7 +70,7 @@ def get_git_pkgv(d, use_tags): | |||
| 70 | names = [] | 70 | names = [] |
| 71 | for url in ud.values(): | 71 | for url in ud.values(): |
| 72 | if url.type == 'git' or url.type == 'gitsm': | 72 | if url.type == 'git' or url.type == 'gitsm': |
| 73 | names.extend(url.revision) | 73 | names.append(url.name) |
| 74 | if len(names) > 0: | 74 | if len(names) > 0: |
| 75 | format = '_'.join(names) | 75 | format = '_'.join(names) |
| 76 | else: | 76 | else: |
