Skip to contentSkip to conversation

tar: do not build SELinux support for host variant

PATCH New Thomas Petazzoni 2 participants 4 messages Dec 29, 2017 – Jan 29, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tar: do not build SELinux support for host variant

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.

---
 package/tar/tar.mk | 2 ++
 1 file changed, 2 insertions(+)
package/tar/tar.mk +2 -0
index 813eabed14..678de978cc 100644
@@ -50,4 +50,6 @@ HOST_TAR_CONF_ENV = \
 	CC="$(HOSTCC_NOCCACHE)" \
 	CXX="$(HOSTCXX_NOCCACHE)"
 
+HOST_TAR_CONF_OPTS = --without-selinux
+
 $(eval $(host-autotools-package))
Signature · 1 line
2.14.3
author Applied
#1 lore raw

PATCH 1/1 tar: do not build SELinux support for host variant

Hello,

Quoted 9 lines · Thomas Petazzoni

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.

---
 package/tar/tar.mk | 2 ++
 1 file changed, 2 insertions(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#2 lore raw

PATCH 1/1 tar: do not build SELinux support for host variant

In reply to Thomas Petazzoni
Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

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.

Committed to 2017.11.x, thanks.

Signature · 1 line
Bye, Peter Korsgaard
#3 lore raw

PATCH 1/1 tar: do not build SELinux support for host variant

In reply to Thomas Petazzoni
Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

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.

Committed to 2017.02.x, thanks.

Signature · 1 line
Bye, Peter Korsgaard