projects
/
tools
/
mic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
621a50c
)
Replace '--checksig --nogpg' with '-K --nosignature'
author
Zhang Qiang
<qiang.z.zhang@intel.com>
Fri, 30 Sep 2011 06:13:58 +0000
(14:13 +0800)
committer
Zhang Qiang
<qiang.z.zhang@intel.com>
Fri, 30 Sep 2011 06:13:58 +0000
(14:13 +0800)
--nogpg is obsoleted by --nosignature for a long time, and '--nogpg'
is removed since rpm 4.9.
mic/utils/rpmmisc.py
patch
|
blob
|
history
diff --git
a/mic/utils/rpmmisc.py
b/mic/utils/rpmmisc.py
index f14827d33597a5d24899805b693d4e22398254df..f1448e9e8d690eb920b5fef4688878fed4d4b5a0 100644
(file)
--- a/
mic/utils/rpmmisc.py
+++ b/
mic/utils/rpmmisc.py
@@
-366,7
+366,7
@@
def getBaseArch():
return basearch
def checkRpmIntegrity(bin_rpm, package):
- return runner.quiet([bin_rpm, "-
-checksig", "--nogpg
", package])
+ return runner.quiet([bin_rpm, "-
K", "--nosignature
", package])
def checkSig(ts, package):
""" Takes a transaction set and a package, check it's sigs,