mirror of
https://git.yoctoproject.org/poky
synced 2026-09-29 07:36:20 +02:00
createrepo-native: Add fix for empty data fields when creating repositories
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5108 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
17
meta/packages/yum/createrepo-native/fix.patch
Normal file
17
meta/packages/yum/createrepo-native/fix.patch
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
---
|
||||||
|
createrepo/yumbased.py | 2 ++
|
||||||
|
1 file changed, 2 insertions(+)
|
||||||
|
|
||||||
|
Index: createrepo-0.9/createrepo/yumbased.py
|
||||||
|
===================================================================
|
||||||
|
--- createrepo-0.9.orig/createrepo/yumbased.py 2008-08-26 11:41:13.000000000 +0100
|
||||||
|
+++ createrepo-0.9/createrepo/yumbased.py 2008-08-26 11:37:01.000000000 +0100
|
||||||
|
@@ -37,6 +37,8 @@ class CreateRepoPackage(YumLocalPackage)
|
||||||
|
self._hdrend = None
|
||||||
|
|
||||||
|
def _xml(self, item):
|
||||||
|
+ if item == []:
|
||||||
|
+ return []
|
||||||
|
return xml.sax.saxutils.escape(item)
|
||||||
|
|
||||||
|
def _do_checksum(self):
|
||||||
@@ -1,5 +1,7 @@
|
|||||||
SRC_URI = "http://linux.duke.edu/projects/metadata/generate/createrepo-${PV}.tar.gz \
|
SRC_URI = "http://linux.duke.edu/projects/metadata/generate/createrepo-${PV}.tar.gz \
|
||||||
|
file://fix.patch;patch=1 \
|
||||||
file://pathfix.patch;patch=1 "
|
file://pathfix.patch;patch=1 "
|
||||||
|
PR = "r1"
|
||||||
|
|
||||||
inherit autotools native
|
inherit autotools native
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user