Commit graph

11 commits

Author SHA1 Message Date
Evgenii Shatokhin
72f5272106 Enable encryption support in ext4 2016-11-16 16:09:23 +03:00
Evgenii Shatokhin
0260460708 Updated to version 4.8.4, the first take
Besides the upstream kernel update to 4.8.x, the following changes were
made:

* BFQ was updated to v8r4
* AUFS was updated to version 4.8-20161010
2016-10-23 22:01:06 +03:00
Evgenii Shatokhin
156e7930a5 Disable FW_LOADER_USER_HELPER_FALLBACK
It causes problems with WiFi:
http://forum.rosalab.ru/viewtopic.php?f=53&t=5372&p=76294#p76294
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1398458
2016-09-18 22:39:48 +03:00
Evgenii Shatokhin
779aaf6307 Enabled support for SMB2, SMB3 as well as FS cache for CIFS 2016-09-05 18:00:59 +03:00
Evgenii Shatokhin
1ecfcf2705 Made "schedutil", "conservative" and "powersave" CPU governors built-in
They were built as cpufreq_* modules before, unlike "ondemand" and such.
Making them all builtin makes it easier experimenting with them.
2016-08-31 16:34:11 +03:00
Evgenii Shatokhin
e7a7e32ae0 Revisited the patches and configs for the kernel 4.7.x 2016-08-23 16:24:13 +03:00
Evgenii Shatokhin
9d9b9b948c Revisited memory sanitization mechanism for 4.6.x
1. Got rid of statistics to simplify maintenance. Changing global
kernel structures is not a thing to take lightly.

2. Removed sanitization of pages. Starting from kernel 4.6, page
poisoning should be used instead. To enable it, set page_poison=on in
the boot options for the kernel.

3. The sanitization patch is now applied only if enhanced security is
enabled (disabled by default for ROSA Fresh, enabled for cert. builds).

You can also use "rpmbuild -ba --with enhanced_security <...>" to force
enable the feature.
2016-07-29 13:39:16 +03:00
Evgenii Shatokhin
fc4df3e1ea Build support for SELinux instead of TOMOYO
This helps unify the kernels for the ordinary systems and for the
certified systems a bit more.

SELinux components are built-in but disabled by default. To enable
SELinux, it should be enough to add "selinux=1" to the kernel options
at boot time (or in the bootloader configuration file).
2016-07-26 16:14:14 +03:00
Evgenii Shatokhin
457c8e99e4 Enabled INTEGRITY and IMA
This helps unify the kernels for the ordinary systems and for the
certified systems a bit more.
2016-07-26 12:54:15 +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
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