From d14c38145ab2704011f66ffe83080603ff9d9586 Mon Sep 17 00:00:00 2001 From: "Prashant Anant Mhetar (Wipro Ltd)" Date: Mon, 5 Aug 2019 01:18:38 -0700 Subject: [PATCH] RH7: Add prerequisite of creating rpmbuild directories for RHEL 7.7 support --- rh5/pbuild/config.py | 2 +- rh6/pbuild/config.py | 2 +- rh7/pbuild/config.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/rh5/pbuild/config.py b/rh5/pbuild/config.py index 80d9118..5759902 100644 --- a/rh5/pbuild/config.py +++ b/rh5/pbuild/config.py @@ -484,7 +484,7 @@ class Configuration: process = subprocess.Popen( [ 'ssh', '-A', host, - 'grep github.com, ~/.ssh/known_hosts > /dev/null 2> /dev/null || ssh -o StrictHostKeyChecking=no -o HashKnownHosts=no -T git@github.com; grep github.com, ~/.ssh/known_hosts > /dev/null 2> /dev/null || ssh -o StrictHostKeyChecking=no -T git@github.com' + 'grep github.com, ~/.ssh/known_hosts > /dev/null 2> /dev/null || ssh -o StrictHostKeyChecking=no -o HashKnownHosts=no -T git@github.com; grep github.com, ~/.ssh/known_hosts > /dev/null 2> /dev/null || ssh -o StrictHostKeyChecking=no -T git@github.com; mkdir -p /root/rpmbuild; mkdir -p /root/rpmbuild/SPECS; mkdir -p /root/rpmbuild/SOURCES; mkdir -p /root/rpmbuild/SRPMS; mkdir -p /root/rpmbuild/RPMS;' ], stdin=subprocess.PIPE ) diff --git a/rh6/pbuild/config.py b/rh6/pbuild/config.py index 80d9118..5759902 100644 --- a/rh6/pbuild/config.py +++ b/rh6/pbuild/config.py @@ -484,7 +484,7 @@ class Configuration: process = subprocess.Popen( [ 'ssh', '-A', host, - 'grep github.com, ~/.ssh/known_hosts > /dev/null 2> /dev/null || ssh -o StrictHostKeyChecking=no -o HashKnownHosts=no -T git@github.com; grep github.com, ~/.ssh/known_hosts > /dev/null 2> /dev/null || ssh -o StrictHostKeyChecking=no -T git@github.com' + 'grep github.com, ~/.ssh/known_hosts > /dev/null 2> /dev/null || ssh -o StrictHostKeyChecking=no -o HashKnownHosts=no -T git@github.com; grep github.com, ~/.ssh/known_hosts > /dev/null 2> /dev/null || ssh -o StrictHostKeyChecking=no -T git@github.com; mkdir -p /root/rpmbuild; mkdir -p /root/rpmbuild/SPECS; mkdir -p /root/rpmbuild/SOURCES; mkdir -p /root/rpmbuild/SRPMS; mkdir -p /root/rpmbuild/RPMS;' ], stdin=subprocess.PIPE ) diff --git a/rh7/pbuild/config.py b/rh7/pbuild/config.py index 80d9118..5759902 100644 --- a/rh7/pbuild/config.py +++ b/rh7/pbuild/config.py @@ -484,7 +484,7 @@ class Configuration: process = subprocess.Popen( [ 'ssh', '-A', host, - 'grep github.com, ~/.ssh/known_hosts > /dev/null 2> /dev/null || ssh -o StrictHostKeyChecking=no -o HashKnownHosts=no -T git@github.com; grep github.com, ~/.ssh/known_hosts > /dev/null 2> /dev/null || ssh -o StrictHostKeyChecking=no -T git@github.com' + 'grep github.com, ~/.ssh/known_hosts > /dev/null 2> /dev/null || ssh -o StrictHostKeyChecking=no -o HashKnownHosts=no -T git@github.com; grep github.com, ~/.ssh/known_hosts > /dev/null 2> /dev/null || ssh -o StrictHostKeyChecking=no -T git@github.com; mkdir -p /root/rpmbuild; mkdir -p /root/rpmbuild/SPECS; mkdir -p /root/rpmbuild/SOURCES; mkdir -p /root/rpmbuild/SRPMS; mkdir -p /root/rpmbuild/RPMS;' ], stdin=subprocess.PIPE )