Commit graph

488 commits

Author SHA1 Message Date
Evgenii Shatokhin
b4c584e752 Explicitly comment out the patch specific to GCC8+
%apply_patches does not take %if constructs into account, still tries
to apply the patch even if the condition is not met, and fails.
The following warning is printed:

  /bin/cat: %PATCH105: No such file or directory

Commented out the patch so that it would remain visible but ignored.

Fixes: d7f0f244 "Use the patch specific for GCC8+ only for ROSA 2019.0
or newer"
2020-03-24 15:15:07 +03:00
Evgenii Shatokhin
37fc86adf3 Include kunit/* headers into the devel package
Although we currently have CONFIG_KUNIT unset, the header files are
present. Keep them in the devel package then.
2020-03-23 13:20:33 +03:00
Evgenii Shatokhin
d7f0f24406 Use the patch specific for GCC8+ only for ROSA 2019.0 or newer
The compiler from 2016.1 may not recognize options
"-Wno-format-truncation -Wno-format-overflow" and could return errors as
a result.
2020-03-23 13:09:34 +03:00
Evgenii Shatokhin
fa04f49332 Allow building perf with support for SystemTap events
Not strictly necessary but may be nice to have as SystemTap is still
widely used for system analysis.
2020-03-23 12:36:31 +03:00
Evgenii Shatokhin
f0865151b4 Add explicit build dependencies on libcap, libzstd and python3
Some components (e.g. perf) do need these now.
2020-03-23 12:29:43 +03:00
Evgenii Shatokhin
49be02914e Updated to version 5.5.11, the first take
Besides the kernel update to v5.5.11, AUFS was updated to version
5.5-20200302.
2020-03-22 20:05:44 +03:00
Evgenii Shatokhin
0529a3126f Updated the patch for objtool to match kernel 5.5.x 2020-03-22 16:31:03 +03:00
Evgenii Shatokhin
cc0337cd2d Updated to version 5.4.27 2020-03-22 16:22:11 +03:00
Evgenii Shatokhin
a9887f313e Do not package include/Kbuild
Starting from fcbb8461fd23 "kbuild: remove header compile test",
include/Kbuild is no longer provided. Do not expect it to be present.
2020-03-08 00:04:18 +03:00
Evgenii Shatokhin
4f446b16a2 Fix objtool-related errors in 'make prepare' for devel packages 2020-03-07 19:46:37 +03:00
Evgenii Shatokhin
0567905952 Updated to version 5.4.24 2020-03-05 20:17:14 +03:00
Evgenii Shatokhin
fb8b200c45 Updated to version 5.4.23 2020-03-04 20:33:44 +03:00
Evgenii Shatokhin
6de43c529c Updated to version 5.4.15 2020-01-26 15:48:04 +03:00
Evgenii Shatokhin
f43efd1fb9 Updated to version 5.4.14 2020-01-25 18:59:33 +03:00
Evgenii Shatokhin
7721e9b326 Updated to version 5.4.11 2020-01-12 18:31:46 +03:00
Evgenii Shatokhin
2000d52297 Updated to version 5.4.10 2020-01-09 15:04:24 +03:00
Evgenii Shatokhin
8b89d3d56e Updated to version 5.4.6 2019-12-29 23:02:23 +03:00
Evgenii Shatokhin
e800b436b3 aufs: do not export flush_delayed_fput() twice 2019-12-15 22:37:36 +03:00
Evgenii Shatokhin
ed58046586 Updated to version 5.4.3 2019-12-15 20:19:17 +03:00
Evgenii Shatokhin
128ca62bd5 Release up 2019-12-05 16:27:16 +03:00
Alexander Stefanov
be290c8b6b strip kernel modules 2019-12-05 16:26:21 +03:00
Mikhail Novosyolov
10439db74b Fix more copy-paste junk from desktop flavour
Extends commit 7a2dc04b08
2019-11-18 11:57:42 +03:00
Evgenii Shatokhin
b2dde1adf9 Updated to version 5.3.11 2019-11-17 14:11:50 +03:00
Mikhail Novosyolov
7a2dc04b08 Fix copy-paste typo (fix filelist of debuginfo package) 2019-11-17 14:07:12 +03:00
Mikhail Novosyolov
6b1134b068 upd: 5.3.7 -> 5.3.10 2019-11-17 14:06:21 +03:00
Evgenii Shatokhin
5b2e17af96 Added more filters to kernel.rpmlintrc
* "E: unstripped-binary-or-object" - debuginfo package has such files
* "W: non-executable-script", "W: script-without-shebang" - kernel
packages have many special scripts which are not expected to be called
directly.
2019-11-17 14:04:29 +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
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