Commit graph

471 commits

Author SHA1 Message Date
Mikhail Novosyolov
cc3afd8669 Fix parsing hexdump output
hexdump output on i586 contained odd symbol '|' in the line where the word 'Modules' began,
it broke previously used awk command.
2019-11-12 01:32:36 +03:00
Mikhail Novosyolov
4dc2157aaa upd: 5.3.7 -> 5.3.10 2019-11-12 01:07:30 +03:00
Mikhail Novosyolov
f76f4d007e Off unneeded logging to decrease build log size 2019-11-11 23:48:27 +03:00
Mikhail Novosyolov
9a76adb348 Better removal of private keys 2019-11-11 23:04:21 +03:00
Mikhail Novosyolov
f8e79286b3 Rename from nrj-desktop to nickel if built with hardening
Nickel may be not the best name but I don't have better ideas.
2019-11-11 22:56:06 +03:00
Mikhail Novosyolov
f05348d4fa Verify that modules are signed (multithreaded) 2019-11-11 22:55:51 +03:00
Mikhail Novosyolov
3a8564ce81 Implement signing kernel modules 2019-11-11 20:40:40 +03:00
Mikhail Novosyolov
95836da65c Merge branch 'master' of abf.io:kernels_stable/kernel-5.3
eshatokhin@: CONFIG_SECURITY_SELINUX_BOOTPARAM_VALUE is not used since
mainline commit be6ec88f41ba "selinux: Remove SECURITY_SELINUX_BOOTPARAM_VALUE",
so it is not set here.
2019-11-11 15:27:16 +03:00
Evgenii Shatokhin
5b69a49e46 Updated to version 5.3.7 2019-10-18 13:57:15 +03:00
Mikhail Novosyolov
d43e01981e Fix kernel opts for booting in enforcing selinux mode
1f5dcdbf22

eshatokhin@: CONFIG_SECURITY_SELINUX_BOOTPARAM_VALUE is not used since
mainline commit be6ec88f41ba "selinux: Remove SECURITY_SELINUX_BOOTPARAM_VALUE",
so it is not set here.
2019-10-07 11:18:31 +03:00
Mikhail Novosyolov
1f5dcdbf22 Fix kernel opts for booting in enforcing selinux mode 2019-10-07 01:35:53 +03:00
Evgenii Shatokhin
7a64052e96 Updated to version 5.3.4 2019-10-06 17:17:55 +03:00
Evgenii Shatokhin
6e76e58193 Revisited the list of files for the devel package 2019-09-24 18:37:26 +03:00
Evgenii Shatokhin
a89c2e9bda Removed sanitize-memory.patch
Starting from the mainline kernel 5.3, it is no longer needed. See

  commit 6471384af2a6530696fc0203bafe4de41a23c9ef
  Author: Alexander Potapenko <glider@google.com>
  Date:   Thu Jul 11 20:59:19 2019 -0700

      mm: security: introduce init_on_alloc=1 and init_on_free=1 boot options
2019-09-24 18:36:02 +03:00
Evgenii Shatokhin
4ca3b2aeb5 Updated to version 5.3.1 2019-09-24 18:31:28 +03:00
Evgenii Shatokhin
17e88f1815 Updated to version 5.2.14 2019-09-11 15:49:01 +03:00
Evgenii Shatokhin
ea6f6b95f9 Updated to version 5.2.7 2019-08-07 15:59:12 +03:00
Evgenii Shatokhin
55fa1145d5 Re-diffed fs-aufs.patch for the kernel 5.2.5+ 2019-08-05 11:48:36 +03:00
Evgenii Shatokhin
bbfcc7091f Updated to version 5.2.6 2019-08-05 11:35:18 +03:00
Evgenii Shatokhin
9d21195523 Updated to version 5.2.5 2019-07-31 16:56:44 +03:00
Evgenii Shatokhin
d0260ef581 Updated to version 5.2.2 2019-07-22 13:30:14 +03:00
Evgenii Shatokhin
7b533a4517 Stable-based kernels have no Ubuntu-specific files 2019-07-22 10:55:21 +03:00
Evgenii Shatokhin
668c472445 Fixed the name of the list file 2019-07-21 23:50:25 +03:00
Evgenii Shatokhin
326a5ab596 Updated to version 5.1.19 2019-07-21 21:46:26 +03:00
Evgenii Shatokhin
2dee2c0e88 Revisited configs to support kernel 5.1.x 2019-07-21 21:44:03 +03:00
Evgenii Shatokhin
3fe250e5a9 kernel.spec: Fixed the name of the source archive 2019-07-21 21:43:25 +03:00
Evgenii Shatokhin
2242fbf2b9 Updated AUFS to version 5.1-20190610 2019-07-16 19:03:29 +03:00
Evgenii Shatokhin
06fd3cb1e3 Removed an unneeded patch for Perf
perf-python-ext-link-with-dl.patch
2019-07-16 18:52:15 +03:00
Evgenii Shatokhin
41549c8479 Removed 3 patches which are likely obsolete now
Namely:
* revert-mm-meminit-only-set-page-reserved-in-the-memblock-re.patch
* x86-increase-default-minimum-vmalloc-area-by-64MB-to-192MB.patch
* block-floppy-disable-pnp-modalias.patch
2019-07-16 18:43:01 +03:00
Evgenii Shatokhin
4b4eb0976c Added a patch to help fix the build with GCC 8+ 2019-07-16 18:36:37 +03:00
Evgenii Shatokhin
a2f6633407 Revisited the spec file
Now that we have only "nrj-desktop" kernel flavour here, let us remove the
machinery to build several flavours using the same spec file. It should make
its maintenance easier.

Keep the kernel config in a single file for each arch as well.

The changes made to kernel.spec are similar to a combination of the
following commits from import/kernel-desktop-4.15 (it was quite difficult
to port these here one by one, so I ported them together):

bf1aa99555f5 "Simplify the spec file: we have only one kernel flavour per project"
f72456261c92 "Do not waste time creating modules.description"
ef83d37d46c4 "Do not build kernel-source"
eeaf8147710f "Removed the remnant of the old %preun"
2dbf502fd987 "Do not escape '$' in the scriptlets"
2019-07-16 18:30:53 +03:00
Evgenii Shatokhin
be1c28ceaf Do not build kernel-doc by default
Looks like noone uses it, now that the docs are easily available online.
2019-07-16 17:21:32 +03:00
Evgenii Shatokhin
d89a767934 Updated to version 5.1.18 2019-07-16 17:16:42 +03:00
Evgenii Shatokhin
28a85b7184 Use more specific filters in .rpmlintrc
Suggested-by: alekseyz@
2019-07-08 17:15:36 +03:00
Evgenii Shatokhin
c54c60353e Updated to version 5.1.12 2019-06-19 17:13:07 +03:00
Evgenii Shatokhin
54c6ec6402 Updated to version 5.1.7 2019-06-04 15:23:23 +03:00
Evgenii Shatokhin
c65c436818 Updated to version 5.0.19 2019-05-27 11:52:36 +03:00
Evgenii Shatokhin
d8a9643bc5 Updated to version 5.0.16 2019-05-15 22:32:22 +03:00
Evgenii Shatokhin
70c21251c5 Updated to version 5.0.13 2019-05-06 10:54:30 +03:00
Evgenii Shatokhin
9fbfe1cbcd Package bash completion file for cpupower 2019-04-10 15:19:42 +03:00
Evgenii Shatokhin
8b63e5513b Fix invocations of access_ok() in fs-aufs4.patch
It was needed to adapt to the changes made by mainline commit
96d4f267e40f "Remove 'type' argument from access_ok() function".
2019-04-09 19:24:05 +03:00
Evgenii Shatokhin
27010ed411 Updated to version 5.0.7
AUFS was updated to version "4.20.4+-20190311" as well.
2019-04-09 18:56:43 +03:00
Evgenii Shatokhin
4dc86f69fc Do not install files for 'csky' arch yet 2019-02-23 19:47:53 +03:00
Evgenii Shatokhin
6f36e14874 Updated to version 4.20.12 2019-02-23 16:54:33 +03:00
Evgenii Shatokhin
847ae8701e Updated to 4.20.10 - the first take; sorted the configs
AUFS was updated to "4.20.4+-20190211" in the process.

As for the sorted entries in the config files - this helps a lot during
rebases to the newer stable kernel branches.

Signed-off-by: Evgenii Shatokhin <eshatokhin@virtuozzo.com>
2019-02-23 11:44:19 +03:00
Evgenii Shatokhin
c5e1469ee5 Removed nrj-laptop flavour
It was long since obsolete but sometimes difficult to maintain.
Now that the common Ubuntu-like kernels are the main ones in ROSA, one
common flavour of stable-based kernels is enough.

Stable-based kernels are often inferior to Ubuntu-based ones in terms of
stability, performance and hardware support. Now they are only intended for
debugging and experiments with some new features.

Signed-off-by: Evgenii Shatokhin <eshatokhin@virtuozzo.com>
2019-02-20 09:46:06 +03:00
Evgenii Shatokhin
635df6ce01 Updated to version 4.19.23 2019-02-16 18:57:50 +03:00
Evgenii Shatokhin
ed012ca1b8 Updated to version 4.19.14 2019-01-11 12:26:49 +03:00
Evgenii Shatokhin
cad40ee513 Updated to version 4.19.6
Besides the upstream update, I have disabled building of nrj-laptop
kernels here.

Now that the main kernels used in ROSA are based on the sources from
Ubuntu, the stable-based kernels like this one are mostly intended for
debugging. No need to build nrj-laptop flavour each time. Let us make
things a bit easier for other ABF users at least.

Signed-off-by: Evgenii Shatokhin <eshatokhin@virtuozzo.com>
2018-12-02 20:05:14 +03:00
Evgenii Shatokhin
cbb03baaf2 Fixed the paths to the BPF Perf examples, they changed in 4.18.0-9 2018-12-01 18:49:18 +03:00