RH7: Add prerequisite of creating rpmbuild directories for RHEL 7.7 support

This commit is contained in:
Prashant Anant Mhetar (Wipro Ltd) 2019-08-05 01:18:38 -07:00 коммит произвёл johnsongeorge-w
Родитель a183dcb778
Коммит d14c38145a
3 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -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
)

Просмотреть файл

@ -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
)

Просмотреть файл

@ -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
)