]> code.ossystems Code Review - openembedded-core.git/commitdiff
tar: Fix build determinism, disable rsh
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 5 Feb 2020 15:37:19 +0000 (15:37 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 6 Feb 2020 12:16:02 +0000 (12:16 +0000)
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>
meta/recipes-extended/tar/tar_1.32.bb

index 18f09b5711c7c58042edcd313709df7db29e024d..ebe6cb0dbdd7da1261ee0e329d5e4f33344c9fd8 100644 (file)
@@ -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