X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=scripts%2Fpatch-kernel;h=d000ea3a41fdb7f202a34e439cf954bd5353b74f;hb=d5aeee8cb28317ef608ecac421abc4d986d585d2;hp=20fb25c2338299f33a8954d6b046ce17f7b466fe;hpb=219f358e0ba9a98640341e030533089860af1cc6;p=firefly-linux-kernel-4.4.55.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"