From patchwork Thu Feb 25 16:14:33 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Petazzoni X-Patchwork-Id: 588166 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id CE987140317 for ; Fri, 26 Feb 2016 03:16:10 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 1B02E312D0; Thu, 25 Feb 2016 16:16:09 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PNryAlZ4enHO; Thu, 25 Feb 2016 16:16:04 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id BD22E3138B; Thu, 25 Feb 2016 16:16:04 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 107F81C1F0D for ; Thu, 25 Feb 2016 16:16:04 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 077A191FFC for ; Thu, 25 Feb 2016 16:16:04 +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 gQMrxAv-ACRR for ; Thu, 25 Feb 2016 16:16:03 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.free-electrons.com (down.free-electrons.com [37.187.137.238]) by whitealder.osuosl.org (Postfix) with ESMTP id 1F70E91F04 for ; Thu, 25 Feb 2016 16:16:03 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 110) id AFDD8142; Thu, 25 Feb 2016 17:16:01 +0100 (CET) Received: from localhost (AToulouse-657-1-984-111.w86-217.abo.wanadoo.fr [86.217.138.111]) by mail.free-electrons.com (Postfix) with ESMTPSA id 3A6891B; Thu, 25 Feb 2016 17:14:34 +0100 (CET) Date: Thu, 25 Feb 2016 17:14:33 +0100 From: Thomas Petazzoni To: Message-ID: <20160225171433.7e200dfc@free-electrons.com> In-Reply-To: <05f401d16fdf$4ddcc840$e99658c0$@chordia.co.uk> References: <05f401d16fdf$4ddcc840$e99658c0$@chordia.co.uk> Organization: Free Electrons X-Mailer: Claws Mail 3.12.0 (GTK+ 2.24.28; x86_64-pc-linux-gnu) MIME-Version: 1.0 Cc: buildroot@busybox.net Subject: Re: [Buildroot] How to include lsblk from linux-utils? X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Hello Jerry, On Thu, 25 Feb 2016 15:15:04 -0000, jerry@chordia.co.uk wrote: > Using BR 2016-02 how do I get lsblk installed? > > The source package is present but the utilities are not being built. I've > got System Tools >> install utilities selected but no lsblk is visible. You need to add a patch like the below to be able to select lsblk in your build: Best regards, Thomas diff --git a/package/util-linux/Config.in b/package/util-linux/Config.in index 3f9a7db..d4f9a3d 100644 --- a/package/util-linux/Config.in +++ b/package/util-linux/Config.in @@ -139,6 +139,11 @@ config BR2_PACKAGE_UTIL_LINUX_LOSETUP help Set up and control loop devices +config BR2_PACKAGE_UTIL_LINUX_LSBLK + bool "lsblk" + help + List block devices. + config BR2_PACKAGE_UTIL_LINUX_MESG bool "mesg" help diff --git a/package/util-linux/util-linux.mk b/package/util-linux/util-linux.mk index 7342174..141dffd 100644 --- a/package/util-linux/util-linux.mk +++ b/package/util-linux/util-linux.mk @@ -85,6 +85,7 @@ UTIL_LINUX_CONF_OPTS += \ $(if $(BR2_PACKAGE_UTIL_LINUX_LINE),--enable-line,--disable-line) \ $(if $(BR2_PACKAGE_UTIL_LINUX_LOGIN_UTILS),--enable-last --enable-login --enable-runuser --enable-su --enable-sulogin,--disable-last --disable-login --disable-runuser --disable-su --disable-sulogin) \ $(if $(BR2_PACKAGE_UTIL_LINUX_LOSETUP),--enable-losetup,--disable-losetup) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_LSBLK),--enable-lsblk,--disable-lsblk) \ $(if $(BR2_PACKAGE_UTIL_LINUX_MESG),--enable-mesg,--disable-mesg) \ $(if $(BR2_PACKAGE_UTIL_LINUX_MINIX),--enable-minix,--disable-minix) \ $(if $(BR2_PACKAGE_UTIL_LINUX_MORE),--enable-more,--disable-more) \