X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=scripts%2Fpatch-kernel;h=d000ea3a41fdb7f202a34e439cf954bd5353b74f;hb=79afd8efdb4895747f98b1b9f7712489ce57d46c;hp=20fb25c2338299f33a8954d6b046ce17f7b466fe;hpb=441c196e84b11aad3123baa9320eee7abc6b5c98;p=karo-tx-linux.git diff --git a/scripts/patch-kernel b/scripts/patch-kernel index 20fb25c23382..d000ea3a41fd 100755 --- a/scripts/patch-kernel +++ b/scripts/patch-kernel @@ -116,6 +116,10 @@ findFile () { ext=".bz2" name="bzip2" uncomp="bunzip2 -dc" + elif [ -r ${filebase}.xz ]; then + ext=".xz" + name="xz" + uncomp="xz -dc" elif [ -r ${filebase}.zip ]; then ext=".zip" name="zip"