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"
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>
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>
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>
GTK2 is very old and support for it in ROSA may break at any moment.
Perf is mostly used from command line anyway. Let us not build the GUI.
Signed-off-by: Evgenii Shatokhin <eshatokhin@virtuozzo.com>
When a newer kernel branch is published into the official repositories,
its kernel-headers, cpupower, perf anf kernel-doc packages will be used
instead. One could turn off building of the last three, but there was no
such switch for kernel-headers. Add it.
'#CONFIG_64BIT is not set' is present in the template config for i586
but it seems to be removed somehow when preparing the actual config. I
haven't investigated why and how.
For now, let us simply restore it.