summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2020-02-05 15:37:19 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-02-06 12:16:02 +0000
commitd14a4b0db92a9a7d1ff72a2e0faca7f1a23a0b68 (patch)
treecf043bf3db89cc74aded1de441e05c590363bb23
parent39e25b045231385c1e2a442fde2c5d4ee07640a8 (diff)
downloadopenembedded-core-contrib-d14a4b0db92a9a7d1ff72a2e0faca7f1a23a0b68.tar.gz
tar: Fix build determinism, disable rsh
rsh is insecure and obsolete but tar will enable support if the binary is on the host system. Some systems point it at ssh. Lets explictly disable it for now unless someone actually needs/uses this at which point it could become a packageconfig. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-extended/tar/tar_1.32.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-extended/tar/tar_1.32.bb b/meta/recipes-extended/tar/tar_1.32.bb
index 18f09b5711..ebe6cb0dbd 100644
--- a/meta/recipes-extended/tar/tar_1.32.bb
+++ b/meta/recipes-extended/tar/tar_1.32.bb
@@ -22,6 +22,8 @@ PACKAGECONFIG[acl] = "--with-posix-acls,--without-posix-acls,acl"
EXTRA_OECONF += "DEFAULT_RMT_DIR=${sbindir}"
+CACHED_CONFIGUREVARS += "tar_cv_path_RSH=no"
+
# Let aclocal use the relative path for the m4 file rather than the
# absolute since tar has a lot of m4 files, otherwise there might
# be an "Argument list too long" error when it is built in a long/deep