Skip to contentSkip to conversation

coreutils: Add xattr PACKAGECONFIG

PATCH In review Scott Ellis 2 participants 2 messages Jan 18, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 coreutils: Add xattr PACKAGECONFIG

From Yocto poky where it also stops this warning

WARNING: QA Issue: coreutils rdepends on libattr, but it isn't a build dependency? [build-deps]

---
meta/recipes-core/coreutils/coreutils_8.24.bb | 9 +++++++--

1 file changed, 7 insertions(+), 2 deletions(-)
meta/recipes-core/coreutils/coreutils_8.24.bb +0 -0
index f042346..6a09c59 100644
@@ -28,14 +28,19 @@ SRC_URI[manpages.sha256sum] = "cf0333b5f134a331e0b46e2ddf90666f8bdc3281c1ca2c7cc

EXTRA_OECONF_class-native = "--without-gmp"
EXTRA_OECONF_class-target = "--enable-install-program=arch --libexecdir=${libdir}"

-# acl is not a default feature
+# acl and xattr are not default features
#
-PACKAGECONFIG_class-target ??= "${@bb.utils.contains('DISTRO_FEATURES', 'acl', 'acl', '', d)}" +PACKAGECONFIG_class-target ??= "\
+ ${@bb.utils.contains('DISTRO_FEATURES', 'acl', 'acl', '', d)} \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'xattr', 'xattr', '', d)} \
+"
+
PACKAGECONFIG_class-native ??= ""

# with, without, depends, rdepends
#
PACKAGECONFIG[acl] = "--enable-acl,--disable-acl,acl," +PACKAGECONFIG[xattr] = "--enable-xattr,--disable-xattr,attr,"

# [ df mktemp base64 gets a special treatment and is not included in this bindir_progs = "arch basename chcon cksum comm csplit cut dir dircolors dirname du \
--
2.5.0

#1 lore raw

Hi Scott,

Quoted 7 lines · Scott Ellis

From Yocto poky where it also stops this warning

WARNING: QA Issue: coreutils rdepends on libattr, but it isn't a build dependency? [build-deps]

In the future can you not submit patches by copying and pasting the patch into your webmail client unless you know that it doesn't mangle the patch.

In this case it appears that your client removed all the leading whitespace, which meant the patch was malformed. It was trivial enough to fix in this case, but in the future it's best if you can just configure git-send-email to send emails directly so they don't get messed up.

Thanks,

Ross