Commit graph

668 commits

Author SHA1 Message Date
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
Eugene Shatokhin
c7bea583ca Fix removal of the old initrd images 2015-04-23 15:41:41 +03:00
Eugene Shatokhin
ae6ea95100 Remove stale initrd images 2015-04-23 12:11:47 +03:00
Eugene Shatokhin
ba72441225 Call depmod again to make sure all installed modules can be found
Without it, the DKMS-modules built before might have been missed.

For the same reason, kernel-<...>-devel package is now in Requires(post)
for kernel-<...>. The former must be installed completely before we call
depmod for the latter.
2015-04-23 11:54:19 +03:00
Eugene Shatokhin
3ea731f5fe Release up 2015-04-22 15:12:12 +03:00
Eugene Shatokhin
8b2a335235 Use "dkms uninstall" rather than "dkms remove"
dkms remove may be too heavy as it may make it impossible to build the
modules for the kernels that will be installed some time after.
2015-04-22 15:09:58 +03:00
Eugene Shatokhin
b23ab7b0a0 Do not update GRUB configs explicitly
File triggers from grub2 package already handle this.
2015-04-22 15:07:16 +03:00
Eugene Shatokhin
b0fd2a9614 Merge branch 'master' into rosa2014.1 2015-04-22 10:42:59 +03:00
Eugene Shatokhin
b3ad450eba Try harder to clean up after package uninstallation 2015-04-22 10:42:42 +03:00
Eugene Shatokhin
7cc486719f Always regenerate initrd
Even if it already exists. This may happen if kernel-<...>-devel is
installed first, triggers rebuild of DKMS modules and some of these
request remaking of initrd. The initrd that is created then will be
non-functional. But when the user installs kernel-<...> package, that
defunct initrd will be replaced with a working one here.
2015-04-22 10:35:53 +03:00
Eugene Shatokhin
acfd41594c Release up 2015-04-21 20:58:37 +03:00
Eugene Shatokhin
3f8c750033 More fixes for the removal of DKMS-built modules 2015-04-21 20:54:48 +03:00
Eugene Shatokhin
1f89ac43b5 Fix creation of the symlinks + some minor fixes 2015-04-21 19:03:58 +03:00
Eugene Shatokhin
3e9fece6bd DKMS operations should be tied to kernel-<...>-devel packages
Before this commit, DKMS was called to build and install the external
kernel modules when kernel-<flavour> packages were installed, and
only if the development files were also available.

This is error-prone because there is no guarantee the -devel package
creates the necessary files before. As a result, some proprietary
drivers could not be built when the kernel is updated.

This is an attempt to fix the problem. Because kernel-<flavour>-devel
package is enough to build kernel modules with DKMS, I moved these build
and install operations to kernel-<flavour>-devel from kernel-<flavour>.
Some of the related code was simplified as well.
2015-04-21 15:35:28 +03:00
Eugene Shatokhin
c0342f35bc Updated to 3.14.39 2015-04-20 21:14:22 +03:00
Eugene Shatokhin
337110ee34 Remove unnecessary files from /usr/include
.install, ..install.cmd - see
http://bugs.rosalinux.ru/show_bug.cgi?id=630
2015-04-17 14:53:53 +03:00
Eugene Shatokhin
8ecd473a65 kernel-<flavour> packages should suggest kernel-<flavour>-devel as well
We still use DKMS and provide DKMS-packages with widely used proprietary
drivers.

Although we do not recommend installing kernel-<flavour> package without
the corresponding devel package, some users still do so no matter what.
They get problems then due to the proprietary drivers failing to rebuild,
etc.

kernel-<flavour> now has kernel-<flavour>-devel in "Suggests:" to
mitigate this.
2015-04-16 18:27:39 +03:00
Eugene Shatokhin
30244cdc05 Updated to version 3.14.38 2015-04-16 18:12:11 +03:00
Eugene Shatokhin
8e8d20c66a Updated to version 3.14.37
Besides the all-around fixes from the upstream, a patch was added
to fix Kprobes on x86-64:
http://www.spinics.net/lists/kernel/msg1941309.html
2015-04-10 11:47:54 +03:00
Eugene Shatokhin
e6f2856989 Make sure cpupower starts after the list of governors is available
On EeePC 1015 PED (in Live mode), cpupower.service seemed to start too
early, before /sys/devices/.../scaling_available_governors was there,
and failed as a result. There were no such problems on faster machines,
but still.

Now cpupower.service will start only when 'scaling_available_governors'
file is available. cpupower.path unit handles this. If CPU frequency
scaling is not supported the file will never appear and cpupower.service
will not start at all, which is natural.
2015-03-17 20:53:12 +03:00
Eugene Shatokhin
e8480bfda5 Add the architecture to the kernel version string
Might help with http://bugs.rosalinux.ru/show_bug.cgi?id=4823
2015-03-16 18:42:29 +03:00
Eugene Shatokhin
9cc5cc94af build: Properly replace dashes with underscores (should fix bug #5071) 2015-03-13 19:13:08 +03:00
Eugene Shatokhin
ecc4aae2dc cpupower: Select the governor at start time rather than during install
Should fix bug #4810.

cpupower will now select the governor automatically during the start of
the service, based on what is available. This can be overridden with
the variables in /etc/sysconfig/cpupower (see the comments there).
2015-03-13 17:29:40 +03:00
Eugene Shatokhin
97fa969d8a Merge branch 'rosa2014.1' of https://abf.io/import/kernel into rosa2014.1 2015-02-19 18:14:37 +03:00