From 0d67ffe596dc195ea5389485f5ca5b374a943611 Mon Sep 17 00:00:00 2001 From: Baruch Siach Date: Thu, 2 Jul 2015 16:18:44 +0300 Subject: [PATCH] cryptsetup: remove e2fsprogs dependency cryptsetup does not actually depend on e2fsprogs, but on libuuid that is a dependency of e2fsprogs. Remove the e2fsprogs dependency, and add a direct dependency on util-linux (libuuid provider). Cc: Martin Hicks Signed-off-by: Baruch Siach Signed-off-by: Thomas Petazzoni --- package/cryptsetup/Config.in | 5 +++-- package/cryptsetup/cryptsetup.mk | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/package/cryptsetup/Config.in b/package/cryptsetup/Config.in index 13b0184cff..d7ccd379e6 100644 --- a/package/cryptsetup/Config.in +++ b/package/cryptsetup/Config.in @@ -2,10 +2,11 @@ config BR2_PACKAGE_CRYPTSETUP bool "cryptsetup" select BR2_PACKAGE_POPT select BR2_PACKAGE_LVM2 - select BR2_PACKAGE_E2FSPROGS + select BR2_PACKAGE_UTIL_LINUX + select BR2_PACKAGE_UTIL_LINUX_LIBUUID select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE depends on BR2_TOOLCHAIN_HAS_THREADS # lvm2 - depends on BR2_USE_MMU # lvm2, e2fsprogs + depends on BR2_USE_MMU # lvm2 depends on !BR2_STATIC_LIBS # lvm2 depends on BR2_USE_WCHAR # util-linux # Triggers the _gp link issue diff --git a/package/cryptsetup/cryptsetup.mk b/package/cryptsetup/cryptsetup.mk index 754bea5755..3655d5dfbd 100644 --- a/package/cryptsetup/cryptsetup.mk +++ b/package/cryptsetup/cryptsetup.mk @@ -8,7 +8,7 @@ CRYPTSETUP_VERSION_MAJOR = 1.6 CRYPTSETUP_VERSION = $(CRYPTSETUP_VERSION_MAJOR).7 CRYPTSETUP_SOURCE = cryptsetup-$(CRYPTSETUP_VERSION).tar.xz CRYPTSETUP_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/cryptsetup/v$(CRYPTSETUP_VERSION_MAJOR) -CRYPTSETUP_DEPENDENCIES = lvm2 popt e2fsprogs host-pkgconf \ +CRYPTSETUP_DEPENDENCIES = lvm2 popt util-linux host-pkgconf \ $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext) CRYPTSETUP_LICENSE = GPLv2+ (programs), LGPLv2.1+ (library) CRYPTSETUP_LICENSE_FILES = COPYING COPYING.LGPL