aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/patch-kernel4
1 files changed, 4 insertions, 0 deletions
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 () {
116 ext=".bz2" 116 ext=".bz2"
117 name="bzip2" 117 name="bzip2"
118 uncomp="bunzip2 -dc" 118 uncomp="bunzip2 -dc"
119 elif [ -r ${filebase}.xz ]; then
120 ext=".xz"
121 name="xz"
122 uncomp="xz -dc"
119 elif [ -r ${filebase}.zip ]; then 123 elif [ -r ${filebase}.zip ]; then
120 ext=".zip" 124 ext=".zip"
121 name="zip" 125 name="zip"