X-Git-Url: https://git.stricted.de/?a=blobdiff_plain;f=scripts%2Fpatch-kernel;h=d000ea3a41fdb7f202a34e439cf954bd5353b74f;hb=HEAD;hp=20fb25c2338299f33a8954d6b046ce17f7b466fe;hpb=1486a7409b42ec434be310e091ef68660a2f6cd0;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.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"