| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Signed-off-by: David Seifert <soap@gentoo.org>
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
| |
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
| |
Closes: https://github.com/gentoo/gentoo/pull/27949
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
|
| |
Reverts: 27eaf5e24de59baadb8f6042085af172cd56de5d
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
|
| |
Closes: https://github.com/gentoo/gentoo/pull/27797
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
|
|
| |
Avoids noise from memlimit-compress.
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
| |
With older versions of xz, xz -T0 will on 32-bit systems
try to allocate too much memory and bail out.
After discussing with upstream, we set --memlimit-compress=50% as a
way to make things work with both older & newer versions. This limiting
is essentially already present with >= 5.3.3_alpha as -T0 includes it.
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
| |
Fixes: b86d9482f6ff14401970092b3034ef1cc2813163
Fixes: 61f0eab4e3c0272449024e83f32734b0e6d392bb
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
|
|
| |
Note that this will only take effect if compressing
modules with bzip2 (COMPRESS_MODULE_BZIP2 is set) or
compressing the kernel with bzip2 (CONFIG_KERNEL_BZIP2 is set).
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
|
|
| |
Note that this will only take effect if compressing modules with gzip
(COMPRESS_MODULE_GZIP is set) or compressing the kernel with gzip
(CONFIG_KERNEL_GZIP is set).
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
| |
Note that this will only take effect if compressing
modules with xz or zstd (COMPRESS_MODULE_XZ is set or
COMPRESS_MODULE_ZSTD is set respectively)
... or if compiling the kernel with xz or zstd (COMPRESS_KERNEL_XZ
or COMPRESS_KERNEL_ZSTD is set respectiely).
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, in commit ad3b55e32736 we installed vmlinux with debug
symbols, but two issues remained. Firstly, the debug symbols were
stripped (and optionally extracted), and secondly the build-id was
changed due to how estrip works.
In order to make systemtap work without complaining about missing
debuginfo and mismatch of build-id from the running kernel install the
whole vmlinux and exclude it from stripping.
Signed-off-by: Martin Kletzander <nert.pinx@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/26065
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
| |
Unfortunately commit ad3b55e32736 forgot to specify the install
directory path, so fix that.
See: https://github.com/gentoo/gentoo/pull/25789
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Martin Kletzander <nert.pinx@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/25803
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
| |
See: https://github.com/gentoo/gentoo/pull/25789
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
| |
It is used by systemtap to reliably find kernel debuginfo. Thankfully
the build path is one of the searched ones so we do not need to install
it into /boot. There is a use flag for compiling the dist kernels with
debuginfo, but it is not being installed afterwards.
Signed-off-by: Martin Kletzander <nert.pinx@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/25789
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Support HPPA kernel builds.
Notes:
- HPPA 2.0 supports 32-bit and 64-bit kernels (HPPA 2.0 userland remains
32-bit for now as toolchain support isn't there yet for 64-bit).
I've decided to only accommodate 64-bit kernels here unless/until someone
requests & can help figure out an acceptable solution for 32-bit kernels
for HPPA 2.0.
- HPPA 1.x should be fine as there's no need for a cross-compiler there,
unlike HPPA 2.x for 64-bit (sys-devel/kgcc64). It should Just Work,
but not tested.
Not adding a BDEPEND on sys-devel/kgcc64 as it's unclear how to do this
cleanly only for HPPA 2.0.
Tested on RP3440 and C8000.
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
When CONFIG_IKHEADERS is set, a script is run that requires cpio to
be installed. The default config files enable this setting.
Closes: https://bugs.gentoo.org/797613
Signed-off-by: David Michael <fedora.dm0@gmail.com>
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
| |
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
| |
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
| |
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
|
| |
Closes: https://bugs.gentoo.org/771207
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move some of the utility functions from kernel-install.eclass
into dist-kernel-utils.eclass, in order to permit using them without
having all kernel-install phases exported. This will be used in order
to support rebuilding initramfs in sys-fs/zfs-kmod.
Since the eclasses are used only by dist-kernel project eclasses
and ebuilds, update the function prefix while moving them.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
|
|
|
| |
Add a convenience function to merge kernel config files from within
the build tree, and support merging user configs.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
|
|
| |
it breaks external module builds
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
|
|
|
|
|
|
|
|
|
|
| |
without it it's impossible to build external kernel modules
on some arches (zfs-kmod on arm64 for example)
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/17225
Closes: https://bugs.gentoo.org/737302
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
| |
Signed-off-by: David GUGLIELMI <david.guglielmi@gmail.com>
Closes: https://bugs.gentoo.org/720930
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
|
| |
Closes: https://github.com/gentoo/gentoo/pull/16326
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
|
| |
Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
|
| |
Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
|
| |
Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
Introduce a new eclass that contains common logic for building
distribution kernels from source.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|