summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorDavid Reyna <David.Reyna@windriver.com>2016-08-15 11:41:33 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-08-17 10:22:58 +0100
commit40b655db22f3ba27ff38e59acb657776e18e2db2 (patch)
tree3dca3b73fdfeade39703a43d4a618a894207c02c /bitbake
parent6b66e9317f4ec3a69f98f29836aafa35b52f3fc7 (diff)
downloadpoky-40b655db22f3ba27ff38e59acb657776e18e2db2.tar.gz
bitbake: toaster: update web urls for openembedded-core's special case
The layer index update command has a special case for the updating 'openembedded-core' layer, and it was missing reading and updating the git web URL fields. [YOCTO #8037] (Bitbake rev: ce2f990a366d2d939e93e01f67688f12740c5fee) Signed-off-by: David Reyna <david.reyna@windriver.com> Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/toaster/orm/management/commands/lsupdates.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/orm/management/commands/lsupdates.py b/bitbake/lib/toaster/orm/management/commands/lsupdates.py
index 89817c8cf1..8ff120e0b0 100644
--- a/bitbake/lib/toaster/orm/management/commands/lsupdates.py
+++ b/bitbake/lib/toaster/orm/management/commands/lsupdates.py
@@ -165,6 +165,12 @@ class Command(NoArgsCommand):
165 # layerindex 165 # layerindex
166 oe_core_l.summary = li['summary'] 166 oe_core_l.summary = li['summary']
167 oe_core_l.description = li['description'] 167 oe_core_l.description = li['description']
168 oe_core_l.vcs_web_url = li['vcs_web_url']
169 oe_core_l.vcs_web_tree_base_url = \
170 li['vcs_web_tree_base_url']
171 oe_core_l.vcs_web_file_base_url = \
172 li['vcs_web_file_base_url']
173
168 oe_core_l.save() 174 oe_core_l.save()
169 li_layer_id_to_toaster_layer_id[li['id']] = oe_core_l.pk 175 li_layer_id_to_toaster_layer_id[li['id']] = oe_core_l.pk
170 self.mini_progress("layers", i, total) 176 self.mini_progress("layers", i, total)