From: Robert Yang Date: Thu, 9 Feb 2017 03:30:30 +0000 (-0800) Subject: btrfs-tools: only target requires udev X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~22411 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48e0174aaf7201cb0ee0b15381638213171fa208;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 Signed-off-by: Ross Burton --- 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 04e1e6195c0..8ce470df1bd 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"