On 02/17/2017 11:14 PM, Burton, Ross wrote:
On 15 February 2017 at 06:25, Robert Yang <liezhi.y...@windriver.com
<mailto:liezhi.y...@windriver.com>> wrote:
The log said that udev was added to DEPENDS because btrfs-tools installs
a udev rule, this was incorrect, and it caused a side effect:
$ bitbake btrfs-tools-native
ERROR: Nothing PROVIDES 'udev-native' (but
virtual:native:btrfs-tools_4.8.5.bb <http://btrfs-tools_4.8.5.bb> DEPENDS on
or otherwise requires it). Close matches:
[snip]
Are you sure? The configure.ac <http://configure.ac> does this:
Sorry, I only looked at the log, now updated in the repo:
git://git.openembedded.org/openembedded-core-contrib rbt/6fixes
http://cgit.openembedded.org/openembedded-core-contrib/log/?h=rbt/6fixes
Robert Yang (6):
python-native: PROVIDES python-io-native
btrfs-tools: remove udev from DEPENDS
tcl: extend to nativesdk
gawk/json-glib/libcheck: extend to nativesdk
tcl: fix sed in do_install()
binconfig.bbclass: fix get_binconfig_mangle()
Author: Robert Yang <liezhi.y...@windriver.com>
Date: Wed Feb 8 19:30:30 2017 -0800
btrfs-tools: only target requires udev
The native doesn't have to depend on udev, fixed:
$ bitbake btrfs-tools-native
ERROR: Nothing PROVIDES 'udev-native' (but
virtual:native:btrfs-tools_4.8.5.bb DEPENDS on or otherwise requires it). Close
matches:
[snip]
Signed-off-by: Robert Yang <liezhi.y...@windriver.com>
diff --git a/meta/recipes-devtools/btrfs-tools/btrfs-tools_4.8.5.bb
b/meta/recipes-devtools/btrfs-tools/btrfs-tools_4.8.5.bb
index 7047c434024..8a85933fe5b 100644
--- a/meta/recipes-devtools/btrfs-tools/btrfs-tools_4.8.5.bb
+++ b/meta/recipes-devtools/btrfs-tools/btrfs-tools_4.8.5.bb
@@ -10,7 +10,8 @@ HOMEPAGE = "https://btrfs.wiki.kernel.org"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=fcb02dc552a041dee27e4b85c7396067"
SECTION = "base"
-DEPENDS = "util-linux attr e2fsprogs lzo acl udev"
+DEPENDS = "util-linux attr e2fsprogs lzo acl"
+DEPENDS_append_class-target = " udev"
RDEPENDS_${PN} = "libgcc"
SRCREV = "144a19145e248513c7a676defad59836830535c6"
// Robert
UDEVDIR=
if pkg-config udev --atleast-version 190; then
UDEVDIR="$(pkg-config udev --variable=udevdir)"
fi
AC_SUBST(UDEVDIR)
Ross
--
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core