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

Re: Creating a source tarball for repackaged source using dpkg-source -b



On (09/03/07 23:50), James Westby wrote:
> On (09/03/07 23:54), Benjamin Mesing wrote:
> > How do I invoke dpkg-source to create the .orig.tar.gz file?
> > 
> 
> I would say that you don't need dpkg-source to, tar + gzip should work
> just fine.
> 
> Most (all?) builder scripts are happy with just finding an appropriately
> named tarball in the correct place.

Sorry, I was referring to things like dpkg-buildpackage, debuild etc.
They all call dpkg-source from an unpacked directory and create the
tarball if it is not present. However most work if you provide a tarball
to start with, and they will use that. I find this good as it means you
can create the tarball in the simple manner so that you know what
happens, and that you don't need to worry about the options to pass to
dpkg-source.

If you are actually looking to do it with dpkg-source then that is
possible to. It would probably be a good learning experience, but if you
are just looking to get on with it, then you may find the method I
outlined easier.

Thanks,

James

-- 
  James Westby   --    GPG Key ID: B577FE13    --     http://jameswestby.net/
  seccure key - (3+)k7|M*edCX/.A:n*N!>|&7U.L#9E)Tu)T0>AM - secp256r1/nistp256



Reply to: