]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
tar: do not build SELinux support for host variant
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 29 Dec 2017 20:26:08 +0000 (21:26 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 8 Jan 2018 15:10:11 +0000 (16:10 +0100)
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>
(cherry picked from commit 121807c08927c0a0d04c965beb6a8785ea89e47f)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/tar/tar.mk

index cb2ddc0ecab2da595ef26d4fad63e5eb49e20147..a8a15d9518d25d874b8619678cff7b11fc3baab3 100644 (file)
@@ -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))