From ee57b63fc8c8f75023a3d8531aa24d824209043f Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Fri, 29 Dec 2017 21:26:08 +0100 Subject: [PATCH] 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. Signed-off-by: Thomas Petazzoni (cherry picked from commit 121807c08927c0a0d04c965beb6a8785ea89e47f) Signed-off-by: Peter Korsgaard --- package/tar/tar.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/tar/tar.mk b/package/tar/tar.mk index cb2ddc0eca..a8a15d9518 100644 --- a/package/tar/tar.mk +++ b/package/tar/tar.mk @@ -44,4 +44,7 @@ define HOST_TAR_EXTRACT_CMDS mv $(@D)/tar-$(TAR_VERSION)/* $(@D) rmdir $(@D)/tar-$(TAR_VERSION) endef + +HOST_TAR_CONF_OPTS = --without-selinux + $(eval $(host-autotools-package)) -- 2.39.2