summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/createrepo/createrepo/dumpMetadata-disable-signature-validation.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support/createrepo/createrepo/dumpMetadata-disable-signature-validation.patch')
-rw-r--r--meta/recipes-support/createrepo/createrepo/dumpMetadata-disable-signature-validation.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/meta/recipes-support/createrepo/createrepo/dumpMetadata-disable-signature-validation.patch b/meta/recipes-support/createrepo/createrepo/dumpMetadata-disable-signature-validation.patch
deleted file mode 100644
index 905531f848..0000000000
--- a/meta/recipes-support/createrepo/createrepo/dumpMetadata-disable-signature-validation.patch
+++ /dev/null
@@ -1,31 +0,0 @@
1dumpMetadata: disable signature validation
2
3Makes it possible to work on RPM repositories that contain signed packages
4without the need of importing the public part of the signing key into the RPM
5database.
6
7Upstream-Status: Pending
8
9Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10---
11 dumpMetadata.py | 4 +++-
12 1 file changed, 3 insertions(+), 1 deletion(-)
13
14diff --git a/dumpMetadata.py b/dumpMetadata.py
15index e40e8ac..ca6a82d 100644
16--- a/dumpMetadata.py
17+++ b/dumpMetadata.py
18@@ -92,7 +92,9 @@ def returnHdr(ts, package):
19 fdno = package # let's assume this is an fdno and go with it :)
20 except OSError:
21 raise MDError, "Error opening file"
22- ts.setVSFlags((rpm.RPMVSF_NOMD5|rpm.RPMVSF_NEEDPAYLOAD))
23+ ts.setVSFlags((rpm.RPMVSF_NOMD5|rpm.RPMVSF_NEEDPAYLOAD|
24+ rpm.RPMVSF_NODSA|rpm.RPMVSF_NORSA|
25+ rpm.RPMVSF_NODSAHEADER|rpm.RPMVSF_NORSAHEADER))
26 try:
27 hdr = ts.hdrFromFdno(fdno)
28 except rpm.error:
29--
302.1.4
31