Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] apply-patches.sh : applying xz compressed patches
Date: Wed, 13 Feb 2013 23:34:33 +0100	[thread overview]
Message-ID: <511C14F9.2050705@mind.be> (raw)
In-Reply-To: <1360770393-2864-1-git-send-email-jerzy.grzegorek@trzebnica.net>

On 13/02/13 16:46, Jerzy Grzegorek wrote:
> Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>

Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
  (untested)


  Regards,
  Arnout

> ---
>   support/scripts/apply-patches.sh |    6 ++++--
>   1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/support/scripts/apply-patches.sh b/support/scripts/apply-patches.sh
> index 7a6c1fa..7d5856c 100755
> --- a/support/scripts/apply-patches.sh
> +++ b/support/scripts/apply-patches.sh
> @@ -23,8 +23,8 @@
>   # files than series file and archives are considered as a patch.
>   #
>   # Once a patch is found, the script will try to apply it. If its name doesn't
> -# end with '.gz', '.bz', '.bz2', '.zip', '.Z', '.diff*' or '.patch*', it will
> -# be skipped. If necessary, the patch will be uncompressed before being
> +# end with '.gz', '.bz', '.bz2', '.xz', '.zip', '.Z', '.diff*' or '.patch*',
> +# it will be skipped. If necessary, the patch will be uncompressed before being
>   # applied. The list of the patches applied is stored in '.applied_patches_list'
>   # file in the build directory.
>
> @@ -59,6 +59,8 @@ function apply_patch {
>   	type="bzip"; uncomp="bunzip -dc"; ;;
>   	*.bz2)
>   	type="bzip2"; uncomp="bunzip2 -dc"; ;;
> +	*.xz)
> +	type="xz"; uncomp="unxz -dc"; ;;
>   	*.zip)
>   	type="zip"; uncomp="unzip -d"; ;;
>   	*.Z)
>


-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F

      reply	other threads:[~2013-02-13 22:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-13 15:46 [Buildroot] [PATCH] apply-patches.sh : applying xz compressed patches Jerzy Grzegorek
2013-02-13 22:34 ` Arnout Vandecappelle [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=511C14F9.2050705@mind.be \
    --to=arnout@mind.be \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox