From 258fd94109fd801afdf94d4a2938ca34b6079932 Mon Sep 17 00:00:00 2001 From: Zhang Qiang Date: Fri, 30 Sep 2011 14:13:58 +0800 Subject: [PATCH] Replace '--checksig --nogpg' with '-K --nosignature' --nogpg is obsoleted by --nosignature for a long time, and '--nogpg' is removed since rpm 4.9. --- mic/utils/rpmmisc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mic/utils/rpmmisc.py b/mic/utils/rpmmisc.py index f14827d..f1448e9 100644 --- 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, -- 2.34.1