http://bugzilla.suse.com/show_bug.cgi?id=951402
http://bugzilla.suse.com/show_bug.cgi?id=951402#c3
Michael Andres
#!/usr/bin/python import sys if True: sendback = sys.stdout print >>sendback print >>sendback, "[sumafake]" print >>sendback, "name=sumafake" print >>sendback, "baseurl=dir:/tmp/sumafake" print >>sendback, "enabled=1" print >>sendback, "autorefresh=1" # bnc#823917: Always disable gpgcheck as SMgr does not sign metadata, # even if the original gpg_key_url is known. print >>sendback, "gpgcheck=1" # fate#314603 check package signature if metadata not signed print >>sendback, "pkg_gpgcheck=1" print >>sendback, "repo_gpgcheck=1" sys.exit(0)
2) Refresh the services
# zypper refs
3) Check the created repo file cat /etc/zypp/repos.d/testservice:sumafake.repo
# grep gpgcheck /etc/zypp/repos.d/testservice:sumafake.repo gpgcheck=1 repo_gpgcheck=1 pkg_gpgcheck=1
4) Change the values for *gpgcheck in the python script; call 'zypper refs' ==> testservice:sumafake.repo must reflect the changes With a broken libzypp the initial values remain unchanged. -- You are receiving this mail because: You are on the CC list for the bug.