[Buildroot] [PATCH] util-linux: disable installing binaries by default
Sven Neumann
s.neumann at raumfeld.com
Wed Apr 25 15:25:59 UTC 2012
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 at 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 at 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
More information about the buildroot
mailing list