[oe-commits] org.oe.dev ipkg-utils: fix ipk (ar) file processing to handle odd-length data blocks.
mwester commit
oe at amethyst.openembedded.net
Tue Jun 17 03:58:58 UTC 2008
ipkg-utils: fix ipk (ar) file processing to handle odd-length data blocks.
Closes bug #4350.
Author: mwester at openembedded.org
Branch: org.openembedded.dev
Revision: d162dc983ded73541698d0c356a5af38c08d5229
ViewMTN: http://monotone.openembedded.org/revision/info/d162dc983ded73541698d0c356a5af38c08d5229
Files:
1
packages/ipkg-utils/ipkg-utils/arfile_even_alignment.patch
packages/ipkg-utils/ipkg-utils_1.6+cvs20050404.bb
Diffs:
#
# mt diff -r6334a7f1af5ffee8c2fd79a25987928dd080fd33 -rd162dc983ded73541698d0c356a5af38c08d5229
#
#
#
# add_file "packages/ipkg-utils/ipkg-utils/arfile_even_alignment.patch"
# content [7e3ea2cc037b123abe16e35f47225a936c98b116]
#
# patch "packages/ipkg-utils/ipkg-utils_1.6+cvs20050404.bb"
# from [07df3ff65c44bb77ace88de2929a1527ec1cead3]
# to [c403e04d11ced9d66b77bf4e3d4802cca1f2af17]
#
============================================================
--- packages/ipkg-utils/ipkg-utils/arfile_even_alignment.patch 7e3ea2cc037b123abe16e35f47225a936c98b116
+++ packages/ipkg-utils/ipkg-utils/arfile_even_alignment.patch 7e3ea2cc037b123abe16e35f47225a936c98b116
@@ -0,0 +1,11 @@
+--- ipkg-utils/arfile.py.orig 2008-06-11 21:07:01.000000000 -0500
++++ ipkg-utils/arfile.py 2008-06-14 19:56:04.000000000 -0500
+@@ -86,6 +86,8 @@
+ return FileSection(self.f, self.f.tell(), size)
+
+ # Skip data and loop
++ if size % 2:
++ size = size + 1
+ data = self.f.seek(size, 1)
+ # print hex(f.tell())
+
============================================================
--- packages/ipkg-utils/ipkg-utils_1.6+cvs20050404.bb 07df3ff65c44bb77ace88de2929a1527ec1cead3
+++ packages/ipkg-utils/ipkg-utils_1.6+cvs20050404.bb c403e04d11ced9d66b77bf4e3d4802cca1f2af17
@@ -5,12 +5,13 @@ SRCDATE = "20050404"
CONFLICTS = "ipkg-link"
RDEPENDS = "python"
SRCDATE = "20050404"
-PR = "r20"
+PR = "r20.1"
SRC_URI = "${HANDHELDS_CVS};module=ipkg-utils \
file://ipkg-utils-fix.patch;patch=1 \
file://ipkg-py-sane-vercompare.patch;patch=1 \
file://ipkg-py-tarfile.patch;patch=1 \
+ file://arfile_even_alignment.patch;patch=1 \
file://ipkg-make-index-track-stamps.patch;patch=1 \
file://fields_tweaks.patch;patch=1 "
More information about the Openembedded-commits
mailing list