| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Mike Pagano <mpagano@gentoo.org>
|
|
|
|
|
| |
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
|
|
|
| |
Closes: https://bugs.gentoo.org/913127
Signed-off-by: Alfred Persson Forsberg <cat@catcream.org>
Closes: https://github.com/gentoo/gentoo/pull/32501
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
|
|
| |
Use crossdev.eclass instead of manually parsing category. This makes it
automatically support LLVM/Clang crossdev.
Signed-off-by: Alfred Persson Forsberg <cat@catcream.org>
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
Replace by "linux-fw-redistributable all-rights-reserved" which reflects
usage by the linux-firmware package.
This only affects kernels before 4.14.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
| |
Closes: https://bugs.gentoo.org/909447
Signed-off-by: Mike Pagano <mpagano@gentoo.org>
|
|
|
|
|
|
|
| |
Thanks to codespell.
Signed-off-by: Sam James <sam@gentoo.org>
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
| |
This avoids globbing, see: https://www.shellcheck.net/wiki/SC2223
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
| |
An upper-case name suggests that the variable is exported. This variable
is also not just used for cross-compiling any more.
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
|
|
|
|
|
|
|
| |
Variables like CC can have spaces for additional arguments. This is
particularly useful for reliably setting the sysroot.
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
Clang is supported by the CPU optimization patch. (USE=experimental)
Check for CC=clang and do not drop this patch.
Closes: https://bugs.gentoo.org/888727
Signed-off-by: Mike Pagano <mpagano@gentoo.org>
|
|
|
|
|
| |
Signed-off-by: Sam James <sam@gentoo.org>
Signed-off-by: David Seifert <soap@gentoo.org>
|
|
|
|
|
|
|
| |
* guaranteed by PMS
Closes: https://github.com/gentoo/gentoo/pull/28550
Signed-off-by: David Seifert <soap@gentoo.org>
|
|
|
|
| |
Signed-off-by: Mike Pagano <mpagano@gentoo.org>
|
|
|
|
|
|
|
| |
No-op until >=app-arch/xz-utils-5.3.3_alpha. Recently added support
for this in Portage and pkgcore too for unpacking.
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
|
|
|
|
| |
This patch remove python from the kernel-2.eclass
by forcing the deblob-check script to use awk instead
of python.
Closes: https://bugs.gentoo.org/610008
Signed-off-by: Alice Ferrazzi <alicef@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
| |
According to PMS certain words are reserved for package manager use and may not be used or
relied upon by ebuilds.
See: https://projects.gentoo.org/pms/8/pms.html#x1-13700012.3.17
Closes: https://bugs.gentoo.org/843674
Signed-off-by: Mike Pagano <mpagano@gentoo.org>
|
|
|
|
|
| |
Closes: https://github.com/gentoo/gentoo/pull/24978
Signed-off-by: David Seifert <soap@gentoo.org>
|
|
|
|
| |
Signed-off-by: David Seifert <soap@gentoo.org>
|
|
|
|
|
| |
Bug: https://bugs.gentoo.org/835396
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
Document variables in the eclass, reorder alphabetically.
Make spacing consistent in comment lines.
Closes: https://bugs.gentoo.org/833188
Signed-off-by: Mike Pagano <mpagano@gentoo.org>
|
|
|
|
|
|
|
| |
Fixes:55f5c68c01e791c7339144aadc1f20802791551e
Suggested-by: Manoj Gupta <manojgupta@chromium.org>
Signed-off-by: Adrian Ratiu <adrian.ratiu@collabora.com>
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
|
|
|
|
| |
Signed-off-by: Mike Pagano <mpagano@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Starting with kernel>=v5.7 the build system can override the
tools vars by setting LLVM=1 [1], but older kernels still use
the default GNU tools, so to be able to use a full LLVM/Clang
build, CC & co should be set to their respective portage values.
[1] a0d1c951ef08 kbuild: support LLVM=1 to switch the default tools to Clang/LLVM
Co-authored-by: Manoj Gupta <manojgupta@chromium.org>
Signed-off-by: Adrian Ratiu <adrian.ratiu@collabora.com>
Closes: https://github.com/gentoo/gentoo/pull/23091
Signed-off-by: Mike Pagano <mpagano@gentoo.org>
|
|
|
|
| |
Signed-off-by: Alice Ferrazzi <alicef@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The functionality removed is only to support kernels
< 2.6 These kernels have long been removed from the tree
Detail:
Remove the function compile_headers as it is not called
for kernels > 2.6.18 because that's when the build target
headers_install was introduced.
Remove supporting function compile_headers_tweak_config.
Additionally, remove 2.6 support from install_headers.
Signed-off-by: Mike Pagano <mpagano@gentoo.org>
|
|
|
|
| |
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
As we are moving out to deprecate EAPI=6 from kernel-2.eclass
start removing it from deblob function. Also clean code linked to old
kernel versions. kernel sources that use deblob are already updated to
EAPI=8
Signed-off-by: Alice Ferrazzi <alicef@gentoo.org>
|
|
|
|
|
|
|
| |
There are kernel versions like 4.9.280, therefore shifting version
components by 8 bits in kernel_is() may fail.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
| |
This reverts commit 1646e870d312060d7920869eec8416a8753724b6.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
| |
Reviewed-by: Alice Ferrazzi <alicef@gentoo.org>
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
| |
There are kernel versions like 4.9.280, therefore shifting version
components by 8 bits in kernel_is() may fail.
Reviewed-by: Alice Ferrazzi <alicef@gentoo.org>
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
| |
Closes: https://bugs.gentoo.org/731666
Signed-off-by: Mike Pagano <mpagano@gentoo.org>
|
|
|
|
|
|
| |
Closes: https://bugs.gentoo.org/744808
Signed-off-by: Alice Ferrazzi <alicef@gentoo.org>
|
|
|
|
|
|
| |
Closes: https://bugs.gentoo.org/802591
Signed-off-by: Mike Pagano <mpagano@gentoo.org>
|
|
|
|
|
|
| |
Closes: https://bugs.gentoo.org/799272
Signed-off-by: Mike Pagano <mpagano@gentoo.org>
|
|
|
|
|
|
|
|
|
|
| |
Fix einfo/elog messages to be more aligned with guidance outlined
in the devmanual
Closes: https://bugs.gentoo.org/795354
Reported-by: Pacho Ramos
Signed-off-by: Mike Pagano <mpagano@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the symlink to /usr/src/linux is longer removed bofore linking
(see 7446cb850c5e0412e4d88b3aa5d207751241fb02). the latter ln -sf
does not replace existing symlinks, since destination is a
directory.
Closes: https://bugs.gentoo.org/795057
Signed-off-by: Till Schäfer <till2.schaefer@uni-dortmund.de>
Closes: https://bugs.gentoo.org/795057
Closes: https://github.com/gentoo/gentoo/pull/21171
Signed-off-by: Mike Pagano <mpagano@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
kernel-2 eclass postinst_sources() creates /usr/usr/linux symlink
regardless of USE=symlink. MAKELINK variable controls the creation
of /usr/src/linux, however MAKELINK is always set to 1 only if
/usr/src/linux does not currently exist with no consideration for
USE=symlink.
This change simplify the whole /usr/usr/linux symlink creation to
instead depend on K_SYMLINK which is set if USE=symlink.
This change also refuse to remove existing /usr/usr/linux if it
currently exist while not being a symlink
Note that this is broken since 906501be57c0 ("adding symlink use flag
support")
Bug: https://bugs.gentoo.org/695592
Signed-off-by: Bertrand Jacquin <bertrand@jacquin.bzh>
Closes: https://bugs.gentoo.org/695592
Closes: https://github.com/gentoo/gentoo/pull/13031
Signed-off-by: Mike Pagano <mpagano@gentoo.org>
|
|
|
|
|
|
|
| |
* Breaks unprivileged install
Acked-by: Sam James <sam@gentoo.org>
Signed-off-by: David Seifert <soap@gentoo.org>
|
|
|
|
|
|
|
|
| |
* Invoking maintainer timeout after 14 days.
Closes: https://github.com/gentoo/gentoo/pull/20639
Signed-off-by: David Michael <fedora.dm0@gmail.com>
Signed-off-by: David Seifert <soap@gentoo.org>
|
|
|
|
|
| |
Signed-off-by: Mike Pagano <mpagano@gentoo.org>
Signed-off-by: David Seifert <soap@gentoo.org>
|
|
|
|
|
| |
Signed-off-by: David Michael <fedora.dm0@gmail.com>
Signed-off-by: David Seifert <soap@gentoo.org>
|
|
|
|
|
| |
Signed-off-by: David Michael <fedora.dm0@gmail.com>
Signed-off-by: David Seifert <soap@gentoo.org>
|
|
|
|
|
| |
Signed-off-by: David Michael <fedora.dm0@gmail.com>
Signed-off-by: David Seifert <soap@gentoo.org>
|
|
|
|
|
| |
Signed-off-by: David Michael <fedora.dm0@gmail.com>
Signed-off-by: David Seifert <soap@gentoo.org>
|
|
|
|
|
| |
Signed-off-by: David Michael <fedora.dm0@gmail.com>
Signed-off-by: David Seifert <soap@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This converts installation paths prefixed with EROOT or ED to have
a leading slash, switches DEPEND to BDEPEND for EAPI 7 so tools are
installed in BROOT and natively executable, and makes eapply_user
the default src_prepare behavior for EAPIs since 6.
It also drops the binutils build-time dependency since it was added
in the original kernel.eclass implementation ~20 years ago to
enforce a minimum version to avoid old assembly bugs. All affected
versions are long gone, and it isn't required to install sources
anyway, so skip building the unused binutils dependency.
Closes: https://bugs.gentoo.org/702280
Signed-off-by: David Michael <fedora.dm0@gmail.com>
Signed-off-by: David Seifert <soap@gentoo.org>
|
|
|
|
| |
Signed-off-by: Mike Pagano <mpagano@gentoo.org>
|
|
|
|
| |
Signed-off-by: Sam James <sam@gentoo.org>
|