From 40b655db22f3ba27ff38e59acb657776e18e2db2 Mon Sep 17 00:00:00 2001 From: David Reyna Date: Mon, 15 Aug 2016 11:41:33 +0100 Subject: [PATCH] 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 Signed-off-by: Michael Wood Signed-off-by: Richard Purdie --- bitbake/lib/toaster/orm/management/commands/lsupdates.py | 6 ++++++ 1 file changed, 6 insertions(+) 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): # layerindex oe_core_l.summary = li['summary'] oe_core_l.description = li['description'] + oe_core_l.vcs_web_url = li['vcs_web_url'] + oe_core_l.vcs_web_tree_base_url = \ + li['vcs_web_tree_base_url'] + oe_core_l.vcs_web_file_base_url = \ + li['vcs_web_file_base_url'] + oe_core_l.save() li_layer_id_to_toaster_layer_id[li['id']] = oe_core_l.pk self.mini_progress("layers", i, total)