ipkg-utils-native: add patch to stop ipkg-make-index move all ipkg to morgue/
authorKoen Kooi <koen@openembedded.org>
Fri, 30 Jun 2006 07:57:45 +0000 (07:57 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Fri, 30 Jun 2006 07:57:45 +0000 (07:57 +0000)
packages/ipkg-utils/ipkg-utils-native/.mtn2git_empty [new file with mode: 0644]
packages/ipkg-utils/ipkg-utils-native/ipkg-utils-fix.patch [new file with mode: 0644]
packages/ipkg-utils/ipkg-utils-native_1.6+cvs20050404.bb

diff --git a/packages/ipkg-utils/ipkg-utils-native/.mtn2git_empty b/packages/ipkg-utils/ipkg-utils-native/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/ipkg-utils/ipkg-utils-native/ipkg-utils-fix.patch b/packages/ipkg-utils/ipkg-utils-native/ipkg-utils-fix.patch
new file mode 100644 (file)
index 0000000..a9e6fc4
--- /dev/null
@@ -0,0 +1,17 @@
+--- ../../../work/i686-linux/ipkg-utils-native-1.6+cvs20050404-r6/ipkg-utils/ipkg.py   2005-01-08 19:08:52.000000000 +0100
++++ ipkg-utils/ipkg.py 2006-06-29 12:52:58.466446000 +0200
+@@ -150,11 +150,11 @@
+             stat = os.stat(fn)
+             self.size = stat[ST_SIZE]
+             self.filename = os.path.basename(fn)
+-          ## sys.stderr.write("  extracting control.tar.gz from %s\n"% (fn,)) 
++          sys.stderr.write("  extracting control.tar.gz from %s\n"% (fn,)) 
+             if self.isdeb:
+-                control = os.popen("ar p "+fn+" control.tar.gz | tar xfzO - '*control'","r")
++                control = os.popen("ar p "+fn+" control.tar.gz | tar xfzO - './control'","r")
+             else:
+-                control = os.popen("tar xfzO "+fn+" '*control.tar.gz' | tar xfzO - '*control'","r")
++                control = os.popen("tar xfzO "+fn+" 'control.tar.gz' | tar xfzO - './control'","r")
+             line = control.readline()
+             while 1:
+                 if not line: break
index eb11ac5..ab8f4d6 100644 (file)
@@ -1,7 +1,8 @@
 include ipkg-utils_${PV}.bb
+SRC_URI += "file://ipkg-utils-fix.patch;patch=1"
 
 RDEPENDS = ""
-PR = "r6"
+PR = "r7"
 
 inherit native