Commit graph

277 commits

Author SHA1 Message Date
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
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
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
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
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
Eugene Shatokhin
15683e9b64 Updated to version 4.1.6 2015-08-17 19:09:32 +03:00
Eugene Shatokhin
b76c5b5a93 Updated to version 4.1.5 2015-08-11 11:11:09 +03:00
Eugene Shatokhin
70d7def0d2 Updated to version 4.1.4 2015-08-04 18:13:45 +03:00
Eugene Shatokhin
84f1c1c832 Updated to version 4.1.3 2015-07-22 20:11:17 +03:00
Eugene Shatokhin
27c769f334 Updated to version 4.1.2 2015-07-12 18:48:14 +03:00
Eugene Shatokhin
d558706bc9 Use the branch name rather than tag for the patchset and configs
The tag had to contain both the version and the release of the package.
This is inconvenient when mass rebuilds are in action: the release is
incremented automatically then.

Using the top of the appropriate branch is safer. It is also possible to
specify any other revision, so this scheme is more flexible as well.
2015-07-08 15:27:53 +03:00
Eugene Shatokhin
a6ca9ce2cf Prepared the initial variant of the kernel 4.1.1 2015-07-01 16:47:47 +03:00
Eugene Shatokhin
d62eb50f9d Updated to version 4.0.7 2015-06-30 15:25:12 +03:00
Eugene Shatokhin
10ef3c93f1 Updated to version 4.0.6 with additional changes needed for QEMU VMs
See http://bugs.rosalinux.ru/show_bug.cgi?id=5649#c6 for details.
2015-06-23 14:01:32 +03:00
Eugene Shatokhin
550e20dccb Updated to version 4.0.5; updated BFQ to v7r8 2015-06-08 13:07:23 +03:00
Eugene Shatokhin
d2a6992af7 Updated to version 4.0.4; changed the location of the patchset, etc.
It is no longer required to upload each archive
kernel-patches-and-configs.* to FileStore. They are now retrieved from
https://abf.io/soft/kernel-patches-and-configs/ according to the git
tags.

If you are going to build kernel version X.Y.Z release R, you need to
tag the appropriate commit in kernel-patches-and-configs git repo as
"X.Y.Z-R", without quotes.

For experiments and testing, one may still upload the archives with the
pacthes and configs to FileStore and probably edit the URL in SOURCE100
in the spec.
2015-05-20 11:37:44 +03:00
Eugene Shatokhin
c4dad57ac5 Updated to version 4.0.3 2015-05-14 16:30:16 +03:00
Eugene Shatokhin
bbc7fd35fa Updated to version 4.0.2 + enabled early loading of CPU microcode 2015-05-08 11:19:55 +03:00
Eugene Shatokhin
6c27b7beff Updated to version 4.0.1; enabled CONFIG_SPI++ 2015-04-30 18:22:50 +03:00
Eugene Shatokhin
8b9e6f4f94 Revisited the patchset, scripts and spec to build kernel 4.0
Most external components have been removed to simplify maintenance.

The following ones are kept because they are more important and/or
maintained well in upstream:
- BFQ
- AUFS
- ndiswrapper
- several bug fixes

reiser4 is kept too but disabled by default until its maintainers update
it for kernel 4.x.
2015-04-28 16:36:29 +03:00