summaryrefslogtreecommitdiffstats
path: root/support
diff options
context:
space:
mode:
authorJerzy Grzegorek <jerzy.grzegorek@trzebnica.net>2013-03-25 13:28:00 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2013-03-26 23:35:48 +0100
commitcc0fd417d4521100779a500a9c7d770f3f371c24 (patch)
treebc386896670762d334afb7be8c093f6385f00748 /support
parente5407614efabd9a6a3d8277e9567fe412f459fbf (diff)
downloadbuildroot-novena-cc0fd417d4521100779a500a9c7d770f3f371c24.tar.gz
buildroot-novena-cc0fd417d4521100779a500a9c7d770f3f371c24.zip
apply-patches.sh: applying xz-ed patches
Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> [yann.morin.1998@free.fr: space-damage] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'support')
-rwxr-xr-xsupport/scripts/apply-patches.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/support/scripts/apply-patches.sh b/support/scripts/apply-patches.sh
index 7a6c1fa98..7d5856c65 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)