summary refs log tree commit diff
path: root/README
diff options
context:
space:
mode:
authorYaowei Bai <bywxiaobai@163.com>2015-03-03 22:08:03 +0800
committerJonathan Corbet <corbet@lwn.net>2015-03-20 07:41:56 -0600
commit1913c6f4488eef9f0ac38702eacf6921290e2400 (patch)
tree4a6d347ac589a394d389456b026b23a6410dbe92 /README
parent49d86dc92c6edc1ed674dca623d1e55d95e0c877 (diff)
downloadlinux-1913c6f4488eef9f0ac38702eacf6921290e2400.tar.gz
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>
Diffstat (limited to 'README')
-rw-r--r--README18
1 files changed, 5 insertions, 13 deletions
diff --git a/README b/README
index 67fc7a8badaf..69c68fb4a109 100644
--- a/README
+++ b/README
@@ -62,11 +62,7 @@ INSTALLING the kernel source:
    directory where you have permissions (eg. your home directory) and
    unpack it:
 
-     gzip -cd linux-4.X.tar.gz | tar xvf -
-
-   or
-
-     bzip2 -dc linux-4.X.tar.bz2 | tar xvf -
+     xz -cd linux-4.X.tar.xz | tar xvf -
 
    Replace "X" with the version number of the latest kernel.
 
@@ -76,15 +72,11 @@ INSTALLING the kernel source:
    whatever the kernel-du-jour happens to be.
 
  - You can also upgrade between 4.x releases by patching.  Patches are
-   distributed in the traditional gzip and the newer bzip2 format.  To
-   install by patching, get all the newer patch files, enter the
-   top level directory of the kernel source (linux-4.X) and execute:
-
-     gzip -cd ../patch-4.x.gz | patch -p1
-
-   or
+   distributed in the xz format.  To install by patching, get all the
+   newer patch files, enter the top level directory of the kernel source
+   (linux-4.X) and execute:
 
-     bzip2 -dc ../patch-4.x.bz2 | patch -p1
+     xz -cd ../patch-4.x.xz | patch -p1
 
    Replace "x" for all versions bigger than the version "X" of your current
    source tree, _in_order_, and you should be ok.  You may want to remove