Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 354fa22f authored by Shawn Landden's avatar Shawn Landden Committed by Michal Marek
Browse files

scripts/patch-kernel: digest kernel.org hosted .xz patches



kernel.org is hosting patches and kernel compressed with xz (lzma2+).
Allow scripts/patch-kernel to decompress these files.

Signed-off-by: default avatarShawn Landden <shawnlandden@gmail.com>
Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
parent 468db961
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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"