Skip to contentSkip to conversation

Hob fixing: fixed unfunctional toolchain.

PATCH New Lianhao Lu 1 participant 2 messages Apr 13, 2012 Arm STM32

lore
Share & tools
lore

Lianhao Lu

author
#0 lore raw

cover Hob fixing: fixed unfunctional toolchain.

This fixed the Yocto bug #2274, generating an unfunctional toolchain based on image profile minimal.

The following changes since commit 3c2808b67384e92601cbd66877c36ca40df7c7ba:
Shane Wang (1):
Hob: fix the missing functions

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib llu/bug2274
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=llu/bug2274

Lianhao Lu (1):
Hob: Added required packages for toolchain.

 lib/bb/ui/crumbs/hoblistmodel.py |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
author
#1 lore raw

PATCH 1/1 Hob: Added required packages for toolchain.

Added the requried packages task-core-standalone-sdk-target(-dbg) for building toolchain.

Fixed bug [YOCTO #2274]

---
 lib/bb/ui/crumbs/hoblistmodel.py |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
lib/bb/ui/crumbs/hoblistmodel.py +3 -1
index f5e3740..dd93e2a 100644
@@ -42,6 +42,8 @@ class PackageListModel(gtk.TreeStore):
                                 ()),
     }
 
+    __toolchain_required_packages__ = ["task-core-standalone-sdk-target", "task-core-standalone-sdk-target-dbg"]
+
     def __init__(self):
 
         self.contents = None
@@ -389,7 +391,7 @@ class PackageListModel(gtk.TreeStore):
                     child_it = self.iter_next(child_it)
             it = self.iter_next(it)
 
-        return packagelist
+        return list(set(packagelist + self.__toolchain_required_packages__));
     """
     Return the selected package size, unit is B.
     """
Signature · 1 line
1.7.0.4