From: Sven Neumann <s.neumann@raumfeld.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] util-linux: disable installing binaries by default
Date: Wed, 25 Apr 2012 17:25:59 +0200 [thread overview]
Message-ID: <1335367559.2428.16.camel@sven> (raw)
In-Reply-To: <2cb3fdaa67b81857b507a44dacdc154d@zacarias.com.ar>
On Wed, 2012-04-25 at 11:45 -0300, Gustavo Zacarias wrote:
> On 2012-04-25 11:26, Sven Neumann wrote:
>
> > On Wed, 2012-04-25 at 10:15 -0300, Gustavo Zacarias wrote:
> >> +config BR2_PACKAGE_UTIL_LINUX_LIBBLKID
> >> + select BR2_PACKAGE_UTIL_LINUX_LIBUUID
> >> + bool "libblkid and blkid utilities"
> >> + default y
> >>
> > Actually it only installs libblkid. If you want the blkid utility you
> > also need to select BR2_PACKAGE_UTIL_LINUX_BINARIES.
> >
> >
> > Regards,
> > Sven
>
> I know.
> Problem is i can't (or don't know how to) make a bool in Kconfig depend
> on some other option nicely.
> And i'd rather avoid adding more options as i've said.
> So i can leave it as is or just remove the blkid/uuid utilities mention
> in Config.in
Or add code that installs the blkid utility if
BR2_PACKAGE_UTIL_LINUX_LIBUUID is selected:
Author: Sven Neumann <s.neumann@raumfeld.com>
Date: Fri Apr 20 14:50:21 2012 +0200
util-linux: install the blkid binary if libblkid is selected
Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
diff --git a/package/util-linux/util-linux.mk
b/package/util-linux/util-linux.mk
index a0101a3..3f2c4d6 100644
--- a/package/util-linux/util-linux.mk
+++ b/package/util-linux/util-linux.mk
@@ -87,6 +87,7 @@ ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBBLKID),y)
define UTIL_LINUX_INSTALL_LIBBLKID
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/libblkid \
DESTDIR=$(TARGET_DIR) install
+ $(INSTALL) -D -m 0755 $(@D)/misc-utils/blkid $(TARGET_DIR)/sbin
endef
endif
Regards,
Sven
next prev parent reply other threads:[~2012-04-25 15:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-25 13:15 [Buildroot] [PATCH] util-linux: disable installing binaries by default Gustavo Zacarias
2012-04-25 14:26 ` Sven Neumann
2012-04-25 14:45 ` Gustavo Zacarias
2012-04-25 15:25 ` Sven Neumann [this message]
2012-04-25 15:33 ` Gustavo Zacarias
-- strict thread matches above, loose matches on Subject: below --
2011-09-15 15:52 Gustavo Zacarias
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1335367559.2428.16.camel@sven \
--to=s.neumann@raumfeld.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox