Commit 1913c6f4488eef9f0ac38702eacf6921290e2400

Authored by Yaowei Bai
Committed by Jonathan Corbet
1 parent 49d86dc92c

README: Change gzip/bzip2 to xz compression format

Kernel.org is only hosting patches and kernel compressed with xz,
so change the old gzip/bzip2 instances to xz.

Signed-off-by: Yaowei Bai <bywxiaobai@163.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>

Showing 1 changed file with 5 additions and 13 deletions Side-by-side Diff

... ... @@ -62,12 +62,8 @@
62 62 directory where you have permissions (eg. your home directory) and
63 63 unpack it:
64 64  
65   - gzip -cd linux-4.X.tar.gz | tar xvf -
  65 + xz -cd linux-4.X.tar.xz | tar xvf -
66 66  
67   - or
68   -
69   - bzip2 -dc linux-4.X.tar.bz2 | tar xvf -
70   -
71 67 Replace "X" with the version number of the latest kernel.
72 68  
73 69 Do NOT use the /usr/src/linux area! This area has a (usually
74 70  
... ... @@ -76,15 +72,11 @@
76 72 whatever the kernel-du-jour happens to be.
77 73  
78 74 - You can also upgrade between 4.x releases by patching. Patches are
79   - distributed in the traditional gzip and the newer bzip2 format. To
80   - install by patching, get all the newer patch files, enter the
81   - top level directory of the kernel source (linux-4.X) and execute:
  75 + distributed in the xz format. To install by patching, get all the
  76 + newer patch files, enter the top level directory of the kernel source
  77 + (linux-4.X) and execute:
82 78  
83   - gzip -cd ../patch-4.x.gz | patch -p1
84   -
85   - or
86   -
87   - bzip2 -dc ../patch-4.x.bz2 | patch -p1
  79 + xz -cd ../patch-4.x.xz | patch -p1
88 80  
89 81 Replace "x" for all versions bigger than the version "X" of your current
90 82 source tree, _in_order_, and you should be ok. You may want to remove