Skip to contentSkip to conversation

btrfs-progs: drop dependency on acl and attr

PATCH New Christophe Vu-Brugier 3 participants 3 messages Jul 6, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 btrfs-progs: drop dependency on acl and attr

btrfs-progs does not depend on libacl since version v4.0.1:

ab5984f btrfs-progs: convert: drop dependency on sys/acl.h
https://git.kernel.org/cgit/linux/kernel/git/kdave/btrfs-progs.git/commit/?id=ab5984ff6cce6f12063720b6dafc1afcd6606853

Moreover, btrfs-progs does not depend on attr since version v3.14:

b5fe148 btrfs-progs: include <sys/xattr.h> instead of <attr/xattr.h>
https://git.kernel.org/cgit/linux/kernel/git/kdave/btrfs-progs.git/commit/?id=b5fe148715ea295e2b951ec6c90409b9d81978d8

---
 package/btrfs-progs/Config.in      | 2 --
 package/btrfs-progs/btrfs-progs.mk | 2 +-
 2 files changed, 1 insertion(+), 3 deletions(-)
package/btrfs-progs/Config.in +0 -2
index 9a2bd6c..dc0fa81 100644
@@ -3,8 +3,6 @@ config BR2_PACKAGE_BTRFS_PROGS
 	depends on BR2_USE_WCHAR # util-linux
 	depends on BR2_USE_MMU # util-linux
 	depends on BR2_TOOLCHAIN_HAS_THREADS
-	select BR2_PACKAGE_ACL
-	select BR2_PACKAGE_ATTR
 	select BR2_PACKAGE_E2FSPROGS
 	select BR2_PACKAGE_LZO
 	select BR2_PACKAGE_UTIL_LINUX
package/btrfs-progs/btrfs-progs.mk +1 -1
index 0190baa..b8833a7 100644
@@ -7,7 +7,7 @@
 BTRFS_PROGS_VERSION = 4.1
 BTRFS_PROGS_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/people/kdave/btrfs-progs
 BTRFS_PROGS_SOURCE = btrfs-progs-v$(BTRFS_PROGS_VERSION).tar.xz
-BTRFS_PROGS_DEPENDENCIES = host-pkgconf acl attr e2fsprogs lzo util-linux zlib
+BTRFS_PROGS_DEPENDENCIES = host-pkgconf e2fsprogs lzo util-linux zlib
 BTRFS_PROGS_CONF_OPTS = --disable-backtrace
 BTRFS_PROGS_LICENSE = GPLv2
 BTRFS_PROGS_LICENSE_FILES = COPYING
Signature · 1 line
2.1.4
#1 lore raw

PATCH 1/1 btrfs-progs: drop dependency on acl and attr

Quoted 11 lines · Christophe Vu-Brugier

btrfs-progs does not depend on libacl since version v4.0.1:

ab5984f btrfs-progs: convert: drop dependency on sys/acl.h
https://git.kernel.org/cgit/linux/kernel/git/kdave/btrfs-progs.git/commit/?id=ab5984ff6cce6f12063720b6dafc1afcd6606853

Moreover, btrfs-progs does not depend on attr since version v3.14:

b5fe148 btrfs-progs: include <sys/xattr.h> instead of <attr/xattr.h>
https://git.kernel.org/cgit/linux/kernel/git/kdave/btrfs-progs.git/commit/?id=b5fe148715ea295e2b951ec6c90409b9d81978d8

Indeed, thanks for looking into this.
Regards.

#2 lore raw

PATCH 1/1 btrfs-progs: drop dependency on acl and attr

In reply to Christophe Vu-Brugier

Dear Christophe Vu-Brugier,

Quoted 7 lines · Christophe Vu-Brugier

btrfs-progs does not depend on libacl since version v4.0.1:

ab5984f btrfs-progs: convert: drop dependency on sys/acl.h
https://git.kernel.org/cgit/linux/kernel/git/kdave/btrfs-progs.git/commit/?id=ab5984ff6cce6f12063720b6dafc1afcd6606853

Moreover, btrfs-progs does not depend on attr since version v3.14:

Quoted 8 lines

b5fe148 btrfs-progs: include <sys/xattr.h> instead of <attr/xattr.h>
https://git.kernel.org/cgit/linux/kernel/git/kdave/btrfs-progs.git/commit/?id=b5fe148715ea295e2b951ec6c90409b9d81978d8

---
 package/btrfs-progs/Config.in      | 2 --
 package/btrfs-progs/btrfs-progs.mk | 2 +-
 2 files changed, 1 insertion(+), 3 deletions(-)

Applied, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com