From 48e0174aaf7201cb0ee0b15381638213171fa208 Mon Sep 17 00:00:00 2001 From: Robert Yang Date: Wed, 8 Feb 2017 19:30:30 -0800 Subject: [PATCH] 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 --- meta/recipes-devtools/btrfs-tools/btrfs-tools_4.8.5.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 04e1e6195c..8ce470df1b 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" -- 2.40.1