Skip to content

Commit 49d86dc

Browse files
Jeff KirsherJonathan Corbet
authored andcommitted
README: Update version number reference
When 4.0 is released, the README should reflect the new numbering. Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
1 parent 654d2e7 commit 49d86dc

1 file changed

Lines changed: 17 additions & 17 deletions

File tree

README

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
Linux kernel release 3.x <http://kernel.org/>
1+
Linux kernel release 4.x <http://kernel.org/>
22

3-
These are the release notes for Linux version 3. Read them carefully,
3+
These are the release notes for Linux version 4. Read them carefully,
44
as they tell you what this is all about, explain how to install the
55
kernel, and what to do if something goes wrong.
66

@@ -62,11 +62,11 @@ INSTALLING the kernel source:
6262
directory where you have permissions (eg. your home directory) and
6363
unpack it:
6464

65-
gzip -cd linux-3.X.tar.gz | tar xvf -
65+
gzip -cd linux-4.X.tar.gz | tar xvf -
6666

6767
or
6868

69-
bzip2 -dc linux-3.X.tar.bz2 | tar xvf -
69+
bzip2 -dc linux-4.X.tar.bz2 | tar xvf -
7070

7171
Replace "X" with the version number of the latest kernel.
7272

@@ -75,30 +75,30 @@ INSTALLING the kernel source:
7575
files. They should match the library, and not get messed up by
7676
whatever the kernel-du-jour happens to be.
7777

78-
- You can also upgrade between 3.x releases by patching. Patches are
78+
- You can also upgrade between 4.x releases by patching. Patches are
7979
distributed in the traditional gzip and the newer bzip2 format. To
8080
install by patching, get all the newer patch files, enter the
81-
top level directory of the kernel source (linux-3.X) and execute:
81+
top level directory of the kernel source (linux-4.X) and execute:
8282

83-
gzip -cd ../patch-3.x.gz | patch -p1
83+
gzip -cd ../patch-4.x.gz | patch -p1
8484

8585
or
8686

87-
bzip2 -dc ../patch-3.x.bz2 | patch -p1
87+
bzip2 -dc ../patch-4.x.bz2 | patch -p1
8888

8989
Replace "x" for all versions bigger than the version "X" of your current
9090
source tree, _in_order_, and you should be ok. You may want to remove
9191
the backup files (some-file-name~ or some-file-name.orig), and make sure
9292
that there are no failed patches (some-file-name# or some-file-name.rej).
9393
If there are, either you or I have made a mistake.
9494

95-
Unlike patches for the 3.x kernels, patches for the 3.x.y kernels
95+
Unlike patches for the 4.x kernels, patches for the 4.x.y kernels
9696
(also known as the -stable kernels) are not incremental but instead apply
97-
directly to the base 3.x kernel. For example, if your base kernel is 3.0
98-
and you want to apply the 3.0.3 patch, you must not first apply the 3.0.1
99-
and 3.0.2 patches. Similarly, if you are running kernel version 3.0.2 and
100-
want to jump to 3.0.3, you must first reverse the 3.0.2 patch (that is,
101-
patch -R) _before_ applying the 3.0.3 patch. You can read more on this in
97+
directly to the base 4.x kernel. For example, if your base kernel is 4.0
98+
and you want to apply the 4.0.3 patch, you must not first apply the 4.0.1
99+
and 4.0.2 patches. Similarly, if you are running kernel version 4.0.2 and
100+
want to jump to 4.0.3, you must first reverse the 4.0.2 patch (that is,
101+
patch -R) _before_ applying the 4.0.3 patch. You can read more on this in
102102
Documentation/applying-patches.txt
103103

104104
Alternatively, the script patch-kernel can be used to automate this
@@ -120,7 +120,7 @@ INSTALLING the kernel source:
120120

121121
SOFTWARE REQUIREMENTS
122122

123-
Compiling and running the 3.x kernels requires up-to-date
123+
Compiling and running the 4.x kernels requires up-to-date
124124
versions of various software packages. Consult
125125
Documentation/Changes for the minimum version numbers required
126126
and how to get updates for these packages. Beware that using
@@ -137,12 +137,12 @@ BUILD directory for the kernel:
137137
place for the output files (including .config).
138138
Example:
139139

140-
kernel source code: /usr/src/linux-3.X
140+
kernel source code: /usr/src/linux-4.X
141141
build directory: /home/name/build/kernel
142142

143143
To configure and build the kernel, use:
144144

145-
cd /usr/src/linux-3.X
145+
cd /usr/src/linux-4.X
146146
make O=/home/name/build/kernel menuconfig
147147
make O=/home/name/build/kernel
148148
sudo make O=/home/name/build/kernel modules_install install

0 commit comments

Comments
 (0)