All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/busybox: select individual libraries when selecting SELinux support.
@ 2019-05-16 15:52 aduskett at gmail.com
  2019-05-17  7:03 ` Thomas Petazzoni
  2019-05-18 20:07 ` Thomas Petazzoni
  0 siblings, 2 replies; 3+ messages in thread
From: aduskett at gmail.com @ 2019-05-16 15:52 UTC (permalink / raw)
  To: buildroot

From: Adam Duskett <Aduskett@gmail.com>

From the help test of individual binaries:

With this option enabled, each applet is a separate binary, which is needed for
proper operation with SELinux

As such, it only makes sense to select this option when SELinux support is
selected as well.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
---
 package/busybox/Config.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/busybox/Config.in b/package/busybox/Config.in
index e5c5f89a4d..bab00bf835 100644
--- a/package/busybox/Config.in
+++ b/package/busybox/Config.in
@@ -42,6 +42,7 @@ config BR2_PACKAGE_BUSYBOX_SELINUX
 	depends on !BR2_STATIC_LIBS
 	depends on BR2_TOOLCHAIN_USES_GLIBC
 	depends on !BR2_arc
+	select BR2_PACKAGE_BUSYBOX_INDIVIDUAL_BINARIES
 	select BR2_PACKAGE_LIBSELINUX
 	help
 	  Enable SELinux support in BusyBox. Please note that
-- 
2.21.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH 1/1] package/busybox: select individual libraries when selecting SELinux support.
  2019-05-16 15:52 [Buildroot] [PATCH 1/1] package/busybox: select individual libraries when selecting SELinux support aduskett at gmail.com
@ 2019-05-17  7:03 ` Thomas Petazzoni
  2019-05-18 20:07 ` Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2019-05-17  7:03 UTC (permalink / raw)
  To: buildroot

Hello,

On Thu, 16 May 2019 11:52:00 -0400
aduskett at gmail.com wrote:

> From: Adam Duskett <Aduskett@gmail.com>
> 
> From the help test of individual binaries:
> 
> With this option enabled, each applet is a separate binary, which is needed for
> proper operation with SELinux
> 
> As such, it only makes sense to select this option when SELinux support is
> selected as well.

The wording here is a bit unfortunate, as one could read this as if you
had added a "depends on BR2_PACKAGE_BUSYBOX_SELINUX" to
"BR2_PACKAGE_BUSYBOX_INDIVIDUAL_BINARIES", so that "individual
binaries" can only be used with SELinux.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH 1/1] package/busybox: select individual libraries when selecting SELinux support.
  2019-05-16 15:52 [Buildroot] [PATCH 1/1] package/busybox: select individual libraries when selecting SELinux support aduskett at gmail.com
  2019-05-17  7:03 ` Thomas Petazzoni
@ 2019-05-18 20:07 ` Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2019-05-18 20:07 UTC (permalink / raw)
  To: buildroot

Hello Adam,

On Thu, 16 May 2019 11:52:00 -0400
aduskett at gmail.com wrote:

> From: Adam Duskett <Aduskett@gmail.com>
> 
> From the help test of individual binaries:
> 
> With this option enabled, each applet is a separate binary, which is needed for
> proper operation with SELinux
> 
> As such, it only makes sense to select this option when SELinux support is
> selected as well.
> 
> Signed-off-by: Adam Duskett <Aduskett@gmail.com>
> ---
>  package/busybox/Config.in | 1 +
>  1 file changed, 1 insertion(+)

Applied to next, after slightly tweaking the commit log to reduce the
confusion it was causing IMO.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-05-18 20:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-16 15:52 [Buildroot] [PATCH 1/1] package/busybox: select individual libraries when selecting SELinux support aduskett at gmail.com
2019-05-17  7:03 ` Thomas Petazzoni
2019-05-18 20:07 ` Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.