native.bbclass: Add virtclass-native to OVERRIDES and use in fakeroot to function correctly

This commit is contained in:
Richard Purdie
2009-01-05 22:00:22 +00:00
parent 34fa658f1f
commit 7b281a3924
2 changed files with 2 additions and 0 deletions

View File

@@ -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)
}

View File

@@ -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 \