[Bug 2381] rootfs fails in ipkg.py due to 'missing' control file
bugzilla-daemon at amethyst.openembedded.net
bugzilla-daemon at amethyst.openembedded.net
Wed Jun 11 11:12:43 UTC 2008
http://bugs.openembedded.net/show_bug.cgi?id=2381
--- Comment #11 from Robert Spanton <rspanton at zepler.net> 2008-06-11 13:12:42 ---
Hi,
Doing the "./control" mods didn't fix my build. I dug a bit more and
discovered that the ArFile class doesn't respect that the ends of data fields
are padded so that they end on a 2 byte offset (see
http://en.wikipedia.org/wiki/Ar_%28Unix%29).
Sticking the following at the end of the _scan function in the ArFile class in
arfile.py fixes stuff for me:
if (self.f.tell() % 2) == 1:
self.f.seek(1,1)
I'll put a patch up when I've verified that this works from a clean checkout.
--
Configure bugmail: http://bugs.openembedded.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Openembedded-issues
mailing list