Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] tar: do not build SELinux support for host variant
@ 2017-12-29 20:26 Thomas Petazzoni
  2017-12-30 21:35 ` Thomas Petazzoni
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2017-12-29 20:26 UTC (permalink / raw)
  To: buildroot

If we don't explicitly disable SELinux support in the host-tar build,
it might pick up system-wide installed SELinux libraries, causing the
tar in HOST_DIR/bin/ to depend on the host SELinux libraries, which is
not desirable to make the SDK portable/relocatable.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/tar/tar.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/tar/tar.mk b/package/tar/tar.mk
index 813eabed14..678de978cc 100644
--- a/package/tar/tar.mk
+++ b/package/tar/tar.mk
@@ -50,4 +50,6 @@ HOST_TAR_CONF_ENV = \
 	CC="$(HOSTCC_NOCCACHE)" \
 	CXX="$(HOSTCXX_NOCCACHE)"
 
+HOST_TAR_CONF_OPTS = --without-selinux
+
 $(eval $(host-autotools-package))
-- 
2.14.3

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

end of thread, other threads:[~2018-01-29 21:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-29 20:26 [Buildroot] [PATCH] tar: do not build SELinux support for host variant Thomas Petazzoni
2017-12-30 21:35 ` Thomas Petazzoni
2018-01-08 21:48 ` Peter Korsgaard
2018-01-29 21:35 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox