mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-30 17:46:38 +00:00
Merge pull request #5832 from neo954/sles-migration
Fix the gpg key import problem on SLES
This commit is contained in:
commit
e48cf47656
@ -61,6 +61,12 @@ cmd:xdsh $$CN "/oldxcat/xcat-core/mklocalrepo.sh"
|
||||
check:rc==0
|
||||
cmd:xdsh $$CN "cd /oldxcat/xcat-dep/sles1`more /etc/*release|grep VERSION_ID|cut -c14`/__GETNODEATTR($$CN,arch)__/;./mklocalrepo.sh"
|
||||
check:rc==0
|
||||
# Workaround github issue #5503
|
||||
cmd:xdsh $$CN "grep -q 11 /etc/SuSE-release && ( sed -i -e 's@gpgcheck=1@gpgcheck=0@' /etc/zypp/repos.d/xcat-core.repo; sed -i -e 's@gpgcheck=1@gpgcheck=0@' /etc/zypp/repos.d/xcat-dep.repo )"
|
||||
cmd:xdsh $$CN "zypper --gpg-auto-import-keys -n --no-gpg-checks refresh"
|
||||
cmd:xdsh $$CN "grep -q 11 /etc/SuSE-release && rpm -e --allmatches gpg-pubkey-ca548a47-5b2c830b"
|
||||
cmd:xdsh $$CN "zypper refresh"
|
||||
check:rc==0
|
||||
cmd:xdsh $$CN "zypper sl -U;zypper --gpg-auto-import-keys search --match-exact -s screen"
|
||||
check:rc==0
|
||||
cmd:xdsh $$CN "zypper -n install xCAT"
|
||||
@ -92,8 +98,8 @@ check:rc==0
|
||||
cmd:xdsh $$CN "cd /root/xcat-dep/sles1`more /etc/*release|grep VERSION_ID|cut -c14`/__GETNODEATTR($$CN,arch)__/;./mklocalrepo.sh"
|
||||
check:rc==0
|
||||
# Workaround github issue #5503
|
||||
cmd:xdsh $$CN "grep -q 11 /etc/SuSE-release && ( sed -i -e 's#gpgcheck=1#gpgcheck=0#' /etc/zypp/repos.d/xcat-core.repo; sed -i -e 's#gpgcheck=1#gpgcheck=0#' /etc/zypp/repos.d/xcat-dep.repo )"
|
||||
cmd:xdsh $$CN "zypper --gpg-auto-import-keys -n refresh"
|
||||
cmd:xdsh $$CN "grep -q 11 /etc/SuSE-release && ( sed -i -e 's@gpgcheck=1@gpgcheck=0@' /etc/zypp/repos.d/xcat-core.repo; sed -i -e 's@gpgcheck=1@gpgcheck=0@' /etc/zypp/repos.d/xcat-dep.repo )"
|
||||
cmd:xdsh $$CN "zypper --gpg-auto-import-keys -n --no-gpg-checks refresh"
|
||||
cmd:xdsh $$CN "grep -q 11 /etc/SuSE-release && rpm -e --allmatches gpg-pubkey-ca548a47-5b2c830b"
|
||||
cmd:xdsh $$CN "zypper refresh;zypper -n update --force-resolution '*xCAT*'"
|
||||
check:rc==0
|
||||
@ -176,6 +182,12 @@ cmd:xdsh $$CN "/oldxcat/xcat-core/mklocalrepo.sh"
|
||||
check:rc==0
|
||||
cmd:xdsh $$CN "cd /oldxcat/xcat-dep/sles1`more /etc/*release|grep VERSION_ID|cut -c14`/__GETNODEATTR($$CN,arch)__/;./mklocalrepo.sh"
|
||||
check:rc==0
|
||||
# Workaround github issue #5503
|
||||
cmd:xdsh $$CN "grep -q 11 /etc/SuSE-release && ( sed -i -e 's@gpgcheck=1@gpgcheck=0@' /etc/zypp/repos.d/xcat-core.repo; sed -i -e 's@gpgcheck=1@gpgcheck=0@' /etc/zypp/repos.d/xcat-dep.repo )"
|
||||
cmd:xdsh $$CN "zypper --gpg-auto-import-keys -n --no-gpg-checks refresh"
|
||||
cmd:xdsh $$CN "grep -q 11 /etc/SuSE-release && rpm -e --allmatches gpg-pubkey-ca548a47-5b2c830b"
|
||||
cmd:xdsh $$CN "zypper refresh"
|
||||
check:rc==0
|
||||
cmd:xdsh $$CN "zypper sl -U;zypper --gpg-auto-import-keys search --match-exact -s screen"
|
||||
check:rc==0
|
||||
cmd:xdsh $$CN "zypper -n install xCAT"
|
||||
@ -207,8 +219,8 @@ check:rc==0
|
||||
cmd:xdsh $$CN "cd /root/xcat-dep/sles1`more /etc/*release|grep VERSION_ID|cut -c14`/__GETNODEATTR($$CN,arch)__/;./mklocalrepo.sh"
|
||||
check:rc==0
|
||||
# Workaround github issue #5503
|
||||
cmd:xdsh $$CN "grep -q 11 /etc/SuSE-release && ( sed -i -e 's#gpgcheck=1#gpgcheck=0#' /etc/zypp/repos.d/xcat-core.repo; sed -i -e 's#gpgcheck=1#gpgcheck=0#' /etc/zypp/repos.d/xcat-dep.repo )"
|
||||
cmd:xdsh $$CN "zypper --gpg-auto-import-keys -n refresh"
|
||||
cmd:xdsh $$CN "grep -q 11 /etc/SuSE-release && ( sed -i -e 's@gpgcheck=1@gpgcheck=0@' /etc/zypp/repos.d/xcat-core.repo; sed -i -e 's@gpgcheck=1@gpgcheck=0@' /etc/zypp/repos.d/xcat-dep.repo )"
|
||||
cmd:xdsh $$CN "zypper --gpg-auto-import-keys -n --no-gpg-checks refresh"
|
||||
cmd:xdsh $$CN "grep -q 11 /etc/SuSE-release && rpm -e --allmatches gpg-pubkey-ca548a47-5b2c830b"
|
||||
cmd:xdsh $$CN "zypper refresh;zypper -n update --force-resolution '*xCAT*'"
|
||||
check:rc==0
|
||||
|
Loading…
x
Reference in New Issue
Block a user