summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-01-05 22:00:22 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-01-05 22:00:22 +0000
commit7b281a392417cf9633be8fb21adaf6bf7fb896bd (patch)
tree7660b624ea735056c81ae7ba681ca2bf28700665 /meta
parent34fa658f1f6fe663e82b90b369d5b8162f038aa7 (diff)
downloadopenembedded-core-7b281a392417cf9633be8fb21adaf6bf7fb896bd.tar.gz
openembedded-core-7b281a392417cf9633be8fb21adaf6bf7fb896bd.tar.bz2
openembedded-core-7b281a392417cf9633be8fb21adaf6bf7fb896bd.zip
native.bbclass: Add virtclass-native to OVERRIDES and use in fakeroot to function correctly
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/native.bbclass1
-rw-r--r--meta/packages/fakeroot/fakeroot_1.9.4.bb1
2 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/native.bbclass b/meta/classes/native.bbclass
index 91ea9b547d..98b62a0549 100644
--- a/meta/classes/native.bbclass
+++ b/meta/classes/native.bbclass
@@ -129,5 +129,6 @@ python __anonymous () {
#else:
# bb.note("%s has rouge PROVIDES of %s which doesn't end in -sdk?" % (pn, prov))
bb.data.setVar("PROVIDES", provides, d)
+ bb.data.setVar("OVERRIDES", bb.data.getVar("OVERRIDES", d, False) + ":virtclass-native", d)
}
diff --git a/meta/packages/fakeroot/fakeroot_1.9.4.bb b/meta/packages/fakeroot/fakeroot_1.9.4.bb
index 04219519ed..669fa5a38f 100644
--- a/meta/packages/fakeroot/fakeroot_1.9.4.bb
+++ b/meta/packages/fakeroot/fakeroot_1.9.4.bb
@@ -4,6 +4,7 @@ SECTION = "base"
LICENSE = "GPL"
# fakeroot needs getopt which is provided by the util-linux package
RDEPENDS = "util-linux"
+RDEPENDS_virtclass-native = "util-linux-native"
PR = "r2"
SRC_URI = "${DEBIAN_MIRROR}/main/f/fakeroot/fakeroot_${PV}.tar.gz \