mirror of
https://git.yoctoproject.org/poky
synced 2026-04-26 09:32:14 +02:00
native.bbclass: Add virtclass-native to OVERRIDES and use in fakeroot to function correctly
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user