[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: creating a .deb with only tar and ar



On Thu, Jul 02, 1998 at 04:33:21PM -0400, Ben Pfaff wrote:
>    > Yes. It encodes some bytes in the headers.  Standard ar will ignore
>    > them for extraction but dpkg won't accept a straight 'ar' file as
>    > legit.
> 
>    It should be clearly documented how to put those bytes in place if it's not
>    then.  This kind of thing Should Be Clearly Avalabile To All.
> 
> You mean like in deb(8)?  Or does 
> 
>        The  file is an ar archive with a magic number of !<arch>.
>        Note that many modern versions of ar create archives  with
>        different  magic  numbers.   Archives  created in this way
>        will not be recognised by dpkg-deb, though these  ar  pro-
>        grams do understand the magic number used by dpkg-deb.
>  
> not fully describe the situation?

It describes the situation, but not how to make the magic number be
something dpkg will recognize if you're not using dpkg-dev to build the
sucker.  Unless of course someone wants to make dpkg-dev available in
nondebian.tar.gz for people not using Debian to be able to make .deb files
for it.  That's really something that Debian is missing IMO.

Attachment: pgpgcQe9SkPSf.pgp
Description: PGP signature


Reply to: