diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-01-05 22:00:22 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-01-05 22:00:22 +0000 |
commit | 7b281a392417cf9633be8fb21adaf6bf7fb896bd (patch) | |
tree | 7660b624ea735056c81ae7ba681ca2bf28700665 /meta | |
parent | 34fa658f1f6fe663e82b90b369d5b8162f038aa7 (diff) | |
download | poky-7b281a392417cf9633be8fb21adaf6bf7fb896bd.tar.gz |
native.bbclass: Add virtclass-native to OVERRIDES and use in fakeroot to function correctly
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/native.bbclass | 1 | ||||
-rw-r--r-- | meta/packages/fakeroot/fakeroot_1.9.4.bb | 1 |
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 () { | |||
129 | #else: | 129 | #else: |
130 | # bb.note("%s has rouge PROVIDES of %s which doesn't end in -sdk?" % (pn, prov)) | 130 | # bb.note("%s has rouge PROVIDES of %s which doesn't end in -sdk?" % (pn, prov)) |
131 | bb.data.setVar("PROVIDES", provides, d) | 131 | bb.data.setVar("PROVIDES", provides, d) |
132 | bb.data.setVar("OVERRIDES", bb.data.getVar("OVERRIDES", d, False) + ":virtclass-native", d) | ||
132 | } | 133 | } |
133 | 134 | ||
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" | |||
4 | LICENSE = "GPL" | 4 | LICENSE = "GPL" |
5 | # fakeroot needs getopt which is provided by the util-linux package | 5 | # fakeroot needs getopt which is provided by the util-linux package |
6 | RDEPENDS = "util-linux" | 6 | RDEPENDS = "util-linux" |
7 | RDEPENDS_virtclass-native = "util-linux-native" | ||
7 | PR = "r2" | 8 | PR = "r2" |
8 | 9 | ||
9 | SRC_URI = "${DEBIAN_MIRROR}/main/f/fakeroot/fakeroot_${PV}.tar.gz \ | 10 | SRC_URI = "${DEBIAN_MIRROR}/main/f/fakeroot/fakeroot_${PV}.tar.gz \ |