From patchwork Fri Dec 6 19:57:09 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 298236 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 6E22A2C00A7 for ; Sat, 7 Dec 2013 06:57:22 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 7561D8B1DB; Fri, 6 Dec 2013 19:57:20 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8Hvct5CufI8z; Fri, 6 Dec 2013 19:57:20 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id C55878BD91; Fri, 6 Dec 2013 19:57:19 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 6707A1CE869 for ; Fri, 6 Dec 2013 19:57:16 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 5F66A8B8FA for ; Fri, 6 Dec 2013 19:57:16 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rGNOfPkYaNN1 for ; Fri, 6 Dec 2013 19:57:15 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wg0-f44.google.com (mail-wg0-f44.google.com [74.125.82.44]) by whitealder.osuosl.org (Postfix) with ESMTPS id A37F38B7AC for ; Fri, 6 Dec 2013 19:57:15 +0000 (UTC) Received: by mail-wg0-f44.google.com with SMTP id a1so1125157wgh.23 for ; Fri, 06 Dec 2013 11:57:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=JrOIvUqrcy9tfi4hTgiqbMawkD2vPUfaZWGXPc5k/Fg=; b=ML8NlydeCTJAP0PdzMgA+Ha30f4kC3jP4/i1QrEzZk76Ey8P+HcvVephHZl5jxxIz3 9dlLp85ul2uT7jtG+em9CL1xTzRcjb8vswehd4CpH/EceayAfhui/9XgwHf7SQatY2pk kT/M/cNyay6TqRq/Cbnwrw45Dy0me1nDXRFDs5Phd7lMdfh5rW8WO0IRDn76HhtcaIdV Jfz7NtbejMw3ub/N/hpZZEUqV9V0V4eT9cYwnioJw+AHZ49PIYGnX25IrCtID9A4EKmI op1gJ5O1uNooLgnmbBL0JGSbO4rDKGhlB4NSlLmwt0aepob6AFSW9QxrlgU+ViWIKr7R bf6Q== X-Received: by 10.180.105.199 with SMTP id go7mr3954313wib.53.1386359834211; Fri, 06 Dec 2013 11:57:14 -0800 (PST) Received: from gourin.bzh.lan (ks3095497.kimsufi.com. [94.23.60.27]) by mx.google.com with ESMTPSA id uc18sm9150911wib.11.2013.12.06.11.57.13 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 06 Dec 2013 11:57:13 -0800 (PST) From: "Yann E. MORIN" To: buildroot@busybox.net Date: Fri, 6 Dec 2013 20:57:09 +0100 Message-Id: <7877131b94507ff84d258422f549b689e29e71a3.1386359706.git.yann.morin.1998@free.fr> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: References: Cc: Thomas Petazzoni , "Yann E. MORIN" Subject: [Buildroot] [PATCH 2/3] package/parted: relax dependency on readline X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net From: "Yann E. MORIN" parted can be configured without support for readline (ie. can be not interactive), so we can relax the dependency on lvm2, and make it an optional feature. (Based on a code-snippet from Thomas.) Cc: Thomas Petazzoni Signed-off-by: "Yann E. MORIN" --- package/parted/Config.in | 1 - package/parted/parted.mk | 9 ++++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/package/parted/Config.in b/package/parted/Config.in index 321fdf7..45170aa 100644 --- a/package/parted/Config.in +++ b/package/parted/Config.in @@ -2,7 +2,6 @@ config BR2_PACKAGE_PARTED bool "parted" depends on BR2_LARGEFILE depends on BR2_USE_WCHAR - select BR2_PACKAGE_READLINE select BR2_PACKAGE_UTIL_LINUX select BR2_PACKAGE_UTIL_LINUX_LIBUUID help diff --git a/package/parted/parted.mk b/package/parted/parted.mk index 231ab35..afb8287 100644 --- a/package/parted/parted.mk +++ b/package/parted/parted.mk @@ -7,11 +7,18 @@ PARTED_VERSION = 3.1 PARTED_SOURCE = parted-$(PARTED_VERSION).tar.xz PARTED_SITE = $(BR2_GNU_MIRROR)/parted -PARTED_DEPENDENCIES = readline util-linux +PARTED_DEPENDENCIES = util-linux PARTED_INSTALL_STAGING = YES PARTED_LICENSE = GPLv3+ PARTED_LICENSE_FILES = COPYING +ifeq ($(BR2_PACKAGE_READLINE),y) +PARTED_DEPENDENCIES += readline +PARTED_CONF_OPT += --with-readline +else +PARTED_CONF_OPT += --without-readline +endif + ifeq ($(BR2_PACKAGE_LVM2),y) PARTED_DEPENDENCIES += lvm2 PARTED_CONF_OPT += --enable-device-mapper