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

Re: [PATCH] linux-tools: Add xz support



On Mon, 2012-08-20 at 18:40 +0200, Sedat Dilek wrote:
> This patch supports xz-compressed upstream (vanilla) tarball source
> to generate an xz-compressed linux-tools orig-tarball.
> 
> Furthermore, patches are now allowed in xz-format, too.
> 
> As suggested by Ben I have replaced all occurences of tar with "-a"
> option for compressing/decompressing tarballs.
> 
> From man tar(1):
> 
>      -a, --auto-compress
>                 use archive suffix to determine the compression program
> 
> After applying this patch, follow these instructions (here: Linux-v3.5):
> 
>   $ cd linux-tools/
>   $ make -f debian/rules debian/control-real
>   $ ./debian/bin/genorig.py /path/to/linux-3.5.tar.xz
>   $ fakeroot debian/rules orig
>   $ debuild
> 
> Tested against linux-tools SVN trunk revision 19348.
[...]

Applied, thanks.  I also enabled xz-compression of the debian directory
tarball.  Note that binary packages are still gzip-compressed, though
they're small enough that this doesn't seem particularly worth changing.

genorig in the linux source package is also missing upstream xz support.
The two scripts are really very similar but have diverged a little...

Ben.

-- 
Ben Hutchings
The most exhausting thing in life is being insincere. - Anne Morrow Lindberg

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: