]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
btrfs-tools: only target requires udev
authorRobert Yang <liezhi.yang@windriver.com>
Thu, 9 Feb 2017 03:30:30 +0000 (19:30 -0800)
committerRobert Yang <liezhi.yang@windriver.com>
Mon, 20 Feb 2017 02:21:12 +0000 (02:21 +0000)
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.yang@windriver.com>
meta/recipes-devtools/btrfs-tools/btrfs-tools_4.8.5.bb

index 7047c4340243627fcb3b830517fe611282fb8a4a..8a85933fe5b77c6c338d1f3e3dd9c8be72eb03c3 100644 (file)
@@ -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"