]> code.ossystems Code Review - openembedded-core.git/commitdiff
lib/oe/rootfs.py: use Manifest.INSTALL_ORDER
authorLaurentiu Palcu <laurentiu.palcu@intel.com>
Wed, 22 Jan 2014 12:12:40 +0000 (14:12 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 11 Feb 2014 11:50:27 +0000 (11:50 +0000)
Since the Manifest class has this property, use it. This contains the
default package installation order.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
meta/lib/oe/rootfs.py

index 2627bd71f048baf6364559f785bfd20576218b67..659a44d1b26671914723e98940626a2702ec4a14 100644 (file)
@@ -24,11 +24,7 @@ class Rootfs(object):
         bb.utils.remove(self.image_rootfs, True)
         bb.utils.remove(self.d.getVar('MULTILIB_TEMP_ROOTFS', True), True)
 
-        self.install_order = [
-            Manifest.PKG_TYPE_LANGUAGE,
-            Manifest.PKG_TYPE_MUST_INSTALL,
-            Manifest.PKG_TYPE_ATTEMPT_ONLY,
-            Manifest.PKG_TYPE_MULTILIB]
+        self.install_order = Manifest.INSTALL_ORDER
 
     @abstractmethod
     def _create(self):