If kernel-install is configured to use the uki layout the extension of the efi
file that we install has to be .efi otherwise kernel-install returns an error.
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
- Enable module signing configure options if requested by the user.
- Define the user variables MODULES_SIGN_HASH and MODULES_SIGN_KEY.
For controlling the used hashing algorithm and allowing the use of
external keys. These variables are the same as in linux-mod-r1.eclass
- Warn the user if we are letting the kernel build system generate the signing
key. This key will end up binary packages. Plus external modules will have to
be resigned if gentoo-kernel is re-emerged (i.e. a new key was generated).
Bug: https://bugs.gentoo.org/814344
Bug: https://bugs.gentoo.org/881651
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
- Let the kernel build system handle stripping of the modules.
This is necessary for successfully signing and compressing modules.
Inspired by linux-mod-r1.eclass.
- If the build system has generated keys or certificates, install them.
This is required to successfully sign external kernel modules.
Closes: https://bugs.gentoo.org/814344
Closes: https://bugs.gentoo.org/881651
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
None of the ebuilds inheriting gnustep-base or gnustep-2 in EAPI 7 needs
any of the remaining eutils features.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
This was only needed for estack which is also inherited directly.
None of the ebuilds inheriting golang-vcs needs any eutils feature.
Closes: https://bugs.gentoo.org/908654
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Rationale for exclusion of NOSA:
- Section 3G: "Each Contributor represents that that its Modification
is believed to be Contributor's original creation [...]"
- FSF: "[...] not a free software license because it includes
a provision requiring changes to be your 'original creation'.
Free software development depends on combining code from third
parties, and the NASA license doesn't permit this."
https://www.gnu.org/licenses/license-list.html#NASA
Rationale for exclusion of Watcom-1.0:
- Section 2.2(c): "You must make Source Code of all Your Deployed
Modifications publicly available [...]"
- FSF: "This is not a free software license. It requires you to publish
the source code publicly whenever you 'Deploy' the covered software,
and 'Deploy' is defined to include many kinds of private use."
https://www.gnu.org/licenses/license-list.html#Watcom
- Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=376431#22
- Presumably this also fails the "Desert Island" and "Dissident" tests:
https://wiki.gentoo.org/wiki/License_groups#tests
Add NOSA back to the BINARY-REDISTRIBUTABLE group (but not Watcom-1.0
because of its patent clauses).
Closes: https://bugs.gentoo.org/908499
Signed-off-by: Ulrich Müller <ulm@gentoo.org>