Skip to contentSkip to conversation

tar: Fix build determinism, disable rsh

PATCH New Richard Purdie 1 participant 1 message Feb 5, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 meta/recipes-extended/tar/tar_1.32.bb | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-extended/tar/tar_1.32.bb +2 -0
index 18f09b5711c..ebe6cb0dbdd 100644
@@ -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
Signature · 1 line
2.20.1