This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mkv
Recipients lars.gustaebel, mkv
Date 2009-05-21.14:44:25
SpamBayes Score 2.0584368e-07
Marked as misclassified No
Message-id <1242917067.53.0.223941172582.issue6054@psf.upfronthosting.co.za>
In-reply-to
Content
I'm creating a debian package (.deb) for a system which uses busybox's
dpkg. A deb is an ar-archive (not tar, unix ar) archive, which in turn
contains two tar archives. dpkg will first extract a tar archive called
control.tar.gz (or bz2) from the package, and from that tar it will
extract a file stored with the path "./control". 

The problem is that with the current implementation of tarfile it's
impossible to create a tar archive which would contain a file stored
with the path "./control". This means it's impossible to use tarfile to
create deb packages which would work with busybox' dpkg. 

I'm not 100% sure if that precise path is requirement of the deb file
format, or if it is because of how busybox' dpkg is implemented. However
I have not seen a packaging guide or a deb package which wouldn't have
the control file stored as ./control in the tar archive.
History
Date User Action Args
2009-05-21 14:44:27mkvsetrecipients: + mkv, lars.gustaebel
2009-05-21 14:44:27mkvsetmessageid: <1242917067.53.0.223941172582.issue6054@psf.upfronthosting.co.za>
2009-05-21 14:44:25mkvlinkissue6054 messages
2009-05-21 14:44:25mkvcreate