diff options
author | MyungJoo Ham <myungjoo.ham@samsung.com> | 2017-03-30 19:55:13 +0900 |
---|---|---|
committer | MyungJoo Ham <myungjoo.ham@samsung.com> | 2017-03-30 19:55:13 +0900 |
commit | 210ffbe30ef97f3454ddebf7214dc6b67f8e6d3d (patch) | |
tree | 83cf6bb12bc48a0d658dde13cd01a94e538f22fb | |
parent | 4f01cd175135e317ecd7a03d849d379f86ee440f (diff) | |
download | mic-sandbox/mzx/pubkey.tar.gz mic-sandbox/mzx/pubkey.tar.bz2 mic-sandbox/mzx/pubkey.zip |
Try to disable gpgchecksandbox/mzx/pubkey
Change-Id: I8f784dcebd3cbdf8001abdc9b57b3beef730ae02
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
-rw-r--r-- | mic/kickstart/__init__.py | 5 | ||||
-rw-r--r-- | plugins/backend/zypppkgmgr.py | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/mic/kickstart/__init__.py b/mic/kickstart/__init__.py index a4b4f80..61ead7d 100644 --- a/mic/kickstart/__init__.py +++ b/mic/kickstart/__init__.py @@ -443,8 +443,9 @@ class MoblinRepoConfig(KickstartConfig): #if repo.proxy_password: # fd.write("proxy_password=" + repo.proxy_password + "\n") if repo.gpgkey: - fd.write("gpgkey=" + repo.gpgkey + "\n") - fd.write("gpgcheck=1\n") + #fd.write("gpgkey=" + repo.gpgkey + "\n") + # Test purpose only + fd.write("gpgcheck=0\n") else: fd.write("gpgcheck=0\n") if type == "source" or type == "debuginfo" or repo.disable: diff --git a/plugins/backend/zypppkgmgr.py b/plugins/backend/zypppkgmgr.py index 9358cbe..a110626 100644 --- a/plugins/backend/zypppkgmgr.py +++ b/plugins/backend/zypppkgmgr.py @@ -368,7 +368,9 @@ class Zypp(BackendPlugin): repo.mirrorlist = mirrorlist # Enable gpg check for verifying corrupt packages - repo.gpgcheck = 1 + + # To test if it works... 20170330 MZX. + repo.gpgcheck = 0 if priority is not None: # priority 0 has issue in RepoInfo.setPriority repo.priority = priority + 1 |