Commit graph

656 commits

Author SHA1 Message Date
Evgenii Shatokhin
e42e28c709 Keep the patches in the kernel project instead of a separate one
Earlier, the patches were kept in the respective branches of a separate
project, https://abf.io/soft/kernel-patches-and-configs. And before that -
in the custom tarballs.

Now all the patches are kept here along with the spec file and are
applied the default way rather than by separate scripts. This should
make the maintenance of the patches as well as the experiments with the
new ones a lot easier.

The previous scheme seemed to offer a bit more flexibility (different
patch sets for different cases) at the cost of maintenance. But as it
turned out,  that flexibility was not worth it and was rarely used,
at most.
2016-07-26 11:24:24 +03:00
Evgenii Shatokhin
09495972a4 Get rid of %kgit and similar stuff
The intent behind these things was to simplify building of pre-release
kernels and such. Over time, it became too cumbersome to use though.

Let us get rid of all that stuff and make the spec a bit cleaner.
2016-07-22 22:05:03 +03:00
Evgenii Shatokhin
a09fd0a0d4 Fixed the glob expression for the .config files 2016-07-22 21:33:33 +03:00
Evgenii Shatokhin
05855ebd63 Do not include include/soc into devel RPMs, it is for ARM only 2016-07-22 16:51:18 +03:00
Evgenii Shatokhin
ac9c3f22c5 Clean up after the config files have been generated
Otherwise these no longer needed configuration files get installed,
which is not good.
2016-07-22 16:37:05 +03:00
Evgenii Shatokhin
6b2dbb8ee0 Removed more ARM-specific stuff 2016-07-22 15:04:54 +03:00
Evgenii Shatokhin
f30b4e83b7 Fixed building of the RPM with the sources
It needs a valid .config file for the kernel, so use the config for
nrj-desktop for that.
2016-07-22 13:50:32 +03:00
Evgenii Shatokhin
7427d5561d Explicitly specify 'x86' in the path to bzImage 2016-07-21 17:28:38 +03:00
Evgenii Shatokhin
6e763e9b52 Arrange seamless updates of the older PAE kernels
kernel*-latest packages now also obsolete & provide kernel*-pae*-latest.
This way, the older kernel*-pae*-latest packages will be properly
replaced with the appropriate new packages in the users' systems.
2016-07-21 16:09:18 +03:00
Evgenii Shatokhin
ec9b2ccf64 Minor fixes for the builds with debug info enabled
"rpmbuild -ba --with debug kernel.spec" can now be used to build the
kernel with debug info.
2016-07-21 15:59:26 +03:00
Evgenii Shatokhin
cf2326e1e1 Cosmetic 2016-07-21 15:58:13 +03:00
Evgenii Shatokhin
05a8c49046 Revisited the set of kernel flavours and the generation of config files
Until now, the build system for the kernel supported a number of
flavours: nrj and non-nrj ones, desktop-, laptop-, server- and
netbook-oriented, etc.

It turned out over the years, however, that our users mostly need the
following:

* a kernel to use on the desktops (home and office use) with reasonable
  default settings for performance and responsiveness;
* a kernel for laptops, with a bit more emphasis on power consumption.

Other variants were rarely used. We also did not have enough time to
properly support all these.

Besides, the kernels for ARM and other architectures need a somewhat
different build process than for x86. So, they are better off to be in
separate ABF projects, even if they are needed. No signs of ROSA on ARM
yet, btw.

So, I kept only nrj-desktop and nrj-laptop flavours and only x86.

Non-PAE systems also seem to be rare now, so I enabled PAE by default
for the 32-bit kernels. Non-PAE kernels are no longer built. If they are
needed, we may use a separate git branch or an ABF project for that.

To simplify debugging, maintenance and experimentation with the kernel
builds further, I revisited the process of preparing the kernel
configuration files. The goal is to get rid of a separate git repo with
the default configs (kernel-patches-and-configs) and keep everything in
this project.

The default config files are now kept here. For x86_64:
* kernel-x86_64.config contains the options for both nrj-desktop and
  nrn-laptop flavours;
* kernel-{nrj_desktop|nrj_laptop}-x86_64.config files contain the
  flavour-specific options.

This way, it is easier to track which config options changed when,
easier to experiment with the custom configs and so on.

The kernel will be built with debug info if rpmbuild is called with
"--with debug".
2016-07-21 13:56:25 +03:00
Evgenii Shatokhin
f2aa050ba4 Updated to version 4.6.3 2016-06-25 19:48:19 +03:00
Evgenii Shatokhin
1e672fdde1 Set version to 4.6.2 2016-06-13 16:47:16 +03:00
Evgenii Shatokhin
3eb54f5393 Revisited mrproper patch for the kernel 4.6 2016-06-13 15:31:59 +03:00
Evgenii Shatokhin
eb018d749d Added the files for the kernel 4.6 2016-06-13 15:31:29 +03:00
Evgenii Shatokhin
05f8225876 Updated to version 4.5.7 2016-06-09 13:16:00 +03:00
Evgenii Shatokhin
3339476d72 Updated to version 4.5.5 2016-05-19 15:47:49 +03:00
Evgenii Shatokhin
0721f8787e Updated to version 4.5.4 2016-05-14 15:35:28 +03:00
Evgenii Shatokhin
9ff16ac3df Added a missing file for Perf to the list 2016-05-11 11:52:53 +03:00
Evgenii Shatokhin
65b6dd6ede Added the files for version 4.5.3 2016-05-10 18:57:25 +03:00
Evgenii Shatokhin
4d11ec3cd3 Revisited the patch for mrproper, etc., for the kernel 4.4.7 2016-04-15 13:31:35 +03:00
Evgenii Shatokhin
4743610ad0 Updated to versin 4.4.7 2016-04-14 22:01:00 +03:00
Evgenii Shatokhin
8df8c86d64 Updated to version 4.4.6 2016-03-29 16:35:24 +03:00
Evgenii Shatokhin
7bcac56523 Updated to version 4.4.4 2016-03-04 22:58:38 +03:00
Evgenii Shatokhin
1a1fbaf82b Updated to version 4.4.3 2016-02-26 13:12:50 +03:00
Evgenii Shatokhin
091bfa4d2f Updated to version 4.4.2 2016-02-18 16:08:50 +03:00
Evgenii Shatokhin
9fda153220 Fixed the 'mrproper' patch for 4.4.x 2016-02-02 18:07:44 +03:00
Evgenii Shatokhin
bc9d8c7ecd Added the files 2016-02-01 18:32:44 +03:00
Evgenii Shatokhin
7d7eb52d59 Do not build kernel*-latest for the unofficial kernels
Only kernel*-<major>.<minor>-latest should be built. Same for the
development packages.

We now encourage the users to install kernel*-<major>.<minor>-latest
explicitly if they want a different branch of the kernel. Less confusion
as a result.
2016-02-01 11:25:32 +03:00
Evgenii Shatokhin
fe07eaa93e Updated to version 4.3.5 with an additional patch
The patch fixes https://bugzilla.kernel.org/show_bug.cgi?id=109661.
2016-02-01 11:07:14 +03:00
Evgenii Shatokhin
e999e66e57 Updated to version 4.3.4 2016-01-24 17:57:30 +03:00
Evgenii Shatokhin
63cf78ae77 Re-enable Perf 2016-01-06 17:46:38 +03:00
Evgenii Shatokhin
1d784d44e7 Restore the previously removed file 2016-01-06 17:21:52 +03:00
Evgenii Shatokhin
6446a9ce84 Release up 2015-12-30 17:47:13 +03:00
Evgenii Shatokhin
5cda17edee Disable perf until its build instructions are fixed
See the errors:
https://abf.io/build_lists/2611347
https://abf.io/build_lists/2611348
2015-12-28 10:25:53 +03:00
Evgenii Shatokhin
d994f3505a Adjust the file lists for the kernel 4.3.x 2015-12-27 21:42:29 +03:00
Evgenii Shatokhin
9c7799e33e Fixed the 'mrproper' patch for 4.3.x 2015-12-27 16:57:51 +03:00
Evgenii Shatokhin
22faf98a4f Added patch 4.3.3 2015-12-27 16:57:25 +03:00
Evgenii Shatokhin
febdcfd3d6 Set version to 4.3.x 2015-12-14 18:46:15 +03:00
Evgenii Shatokhin
eebb10fcb7 Updated to version 4.2.6 2015-11-22 19:00:59 +03:00
Evgenii Shatokhin
c094a04559 Use '-latest' in the names of the meta packages
It seems, rpm does not like it when the name of the package ends with,
say, "-3.14". For example, it does not process the update from
kernel-nrj-desktop-3.14-3.14.57-2 to
kernel-nrj-desktop-3.14-3.14.57-3 correctly: the former package is not
removed as both are installed as a result.

kernel-nrj-desktop-3.14-latest-3.14.57-2 and
kernel-nrj-desktop-3.14-latest-3.14.57-3 seem to be processed OK, so let
us use this variant.
2015-11-20 17:06:21 +03:00
Evgenii Shatokhin
de24ad0c59 spec: Add two more meta packages
kernel-{flavour}-{major}.{minor} will require the latest kernel package
for kernel {major}.{minor}.x series.

kernel-{flavour}-{major}.{minor}-devel will do the same for -devel
packages.

This should allow the users to keep, say, kernel 4.1.x and get updates
for it even if 4.2.x is in the repositories.

If it is desired to have the latest of the available kernels,
kernel-{flavour}-latest should be used, the same way as before.
2015-11-19 19:50:44 +03:00
Evgenii Shatokhin
896da05487 Remove .get_maintainer.ignore earlier in the build 2015-10-13 10:17:01 +03:00
Evgenii Shatokhin
bc997ed52a Removed unneeded file 2015-10-12 21:57:51 +03:00
Evgenii Shatokhin
2bd12b8b3e Make sure kernel/time/timeconst.bc is present in devel tree
This file is needed for the build system to create
include/generated/timeconst.h.
2015-10-12 16:52:36 +03:00
Evgenii Shatokhin
8e6a66b365 Adapted the spec: syscall defs are now in arch/x86/entry/syscalls
Commit 1f57d5d85ba7f1f467173ff33f51d01a91f9aaf1 upstream:
"x86/asm/entry: Move the arch/x86/syscalls/ definitions to
arch/x86/entry/syscalls/"
2015-10-12 10:16:42 +03:00
Evgenii Shatokhin
1191044421 Updated to version 4.2.3 with additional changes
The kernel was updated to version 4.2.3.

3rd party additions (ndiswrapper) have been dropped.

The fixes for e1000e and mt7601u have been added as well, see
"kernel-patches-and-configs" project, branch v4.2.x.
2015-10-11 21:48:13 +03:00
Eugene Shatokhin
b49f9545ae Updated to version 4.1.8 2015-09-22 18:04:48 +03:00
Eugene Shatokhin
591f61b95c Updated to version 4.1.7 2015-09-14 15:52:22 +03:00