diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-01-10 12:54:02 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-01-13 12:54:24 +0100 |
commit | c71a27d1d6c1936dd41cb8e3b645e68d4b7a08ba (patch) | |
tree | 1dfbfd6f3a22ab52551599dc4e4ea3bb12ced867 /sys-kernel | |
parent | app-misc/fdupes: Synced live ebuild (diff) | |
download | gentoo-c71a27d1d6c1936dd41cb8e3b645e68d4b7a08ba.tar.gz gentoo-c71a27d1d6c1936dd41cb8e3b645e68d4b7a08ba.tar.bz2 gentoo-c71a27d1d6c1936dd41cb8e3b645e68d4b7a08ba.zip |
dist-kernel-utils.eclass: Introduce eclass for helper functions
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>
Diffstat (limited to 'sys-kernel')
19 files changed, 26 insertions, 26 deletions
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.3-r1.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.3-r1.ebuild index 1b430cf56222..03567d5adc28 100644 --- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.3-r1.ebuild +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.3-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020 Gentoo Authors +# Copyright 2020-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -33,7 +33,7 @@ src_unpack() { src_test() { kernel-install_test "${PV}" \ - "${WORKDIR}/usr/src/linux-${PV}/$(kernel-install_get_image_path)" \ + "${WORKDIR}/usr/src/linux-${PV}/$(dist-kernel_get_image_path)" \ "lib/modules/${PV}" } diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.3.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.3.ebuild index 68ca59b57351..33d3968c45a9 100644 --- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.3.ebuild +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020 Gentoo Authors +# Copyright 2020-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -37,7 +37,7 @@ src_unpack() { src_test() { kernel-install_test "${PV}" \ - "${WORKDIR}/usr/src/linux-${PV}/$(kernel-install_get_image_path)" \ + "${WORKDIR}/usr/src/linux-${PV}/$(dist-kernel_get_image_path)" \ "lib/modules/${PV}" } diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.4-r1.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.4-r1.ebuild index 8ff91a4ba931..fa7357082db9 100644 --- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.4-r1.ebuild +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.4-r1.ebuild @@ -35,7 +35,7 @@ src_unpack() { src_test() { kernel-install_test "${PV}" \ - "${WORKDIR}/usr/src/linux-${PV}/$(kernel-install_get_image_path)" \ + "${WORKDIR}/usr/src/linux-${PV}/$(dist-kernel_get_image_path)" \ "lib/modules/${PV}" } diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.4.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.4.ebuild index 89b5eb86defb..31b6fee9f812 100644 --- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.4.ebuild +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.4.ebuild @@ -39,7 +39,7 @@ src_unpack() { src_test() { kernel-install_test "${PV}" \ - "${WORKDIR}/usr/src/linux-${PV}/$(kernel-install_get_image_path)" \ + "${WORKDIR}/usr/src/linux-${PV}/$(dist-kernel_get_image_path)" \ "lib/modules/${PV}" } diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.5-r1.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.5-r1.ebuild index 8ff91a4ba931..fa7357082db9 100644 --- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.5-r1.ebuild +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.5-r1.ebuild @@ -35,7 +35,7 @@ src_unpack() { src_test() { kernel-install_test "${PV}" \ - "${WORKDIR}/usr/src/linux-${PV}/$(kernel-install_get_image_path)" \ + "${WORKDIR}/usr/src/linux-${PV}/$(dist-kernel_get_image_path)" \ "lib/modules/${PV}" } diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.5.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.5.ebuild index 89b5eb86defb..31b6fee9f812 100644 --- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.5.ebuild +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.5.ebuild @@ -39,7 +39,7 @@ src_unpack() { src_test() { kernel-install_test "${PV}" \ - "${WORKDIR}/usr/src/linux-${PV}/$(kernel-install_get_image_path)" \ + "${WORKDIR}/usr/src/linux-${PV}/$(dist-kernel_get_image_path)" \ "lib/modules/${PV}" } diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.6-r1.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.6-r1.ebuild index 8ff91a4ba931..fa7357082db9 100644 --- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.6-r1.ebuild +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.6-r1.ebuild @@ -35,7 +35,7 @@ src_unpack() { src_test() { kernel-install_test "${PV}" \ - "${WORKDIR}/usr/src/linux-${PV}/$(kernel-install_get_image_path)" \ + "${WORKDIR}/usr/src/linux-${PV}/$(dist-kernel_get_image_path)" \ "lib/modules/${PV}" } diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.6.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.6.ebuild index 89b5eb86defb..31b6fee9f812 100644 --- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.6.ebuild +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.6.ebuild @@ -39,7 +39,7 @@ src_unpack() { src_test() { kernel-install_test "${PV}" \ - "${WORKDIR}/usr/src/linux-${PV}/$(kernel-install_get_image_path)" \ + "${WORKDIR}/usr/src/linux-${PV}/$(dist-kernel_get_image_path)" \ "lib/modules/${PV}" } diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.80-r2.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.80-r2.ebuild index 303c752a7bc6..ed835559ae22 100644 --- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.80-r2.ebuild +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.80-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020 Gentoo Authors +# Copyright 2020-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -44,7 +44,7 @@ src_unpack() { src_test() { kernel-install_test "${PV}" \ - "${WORKDIR}/usr/src/linux-${PV}/$(kernel-install_get_image_path)" \ + "${WORKDIR}/usr/src/linux-${PV}/$(dist-kernel_get_image_path)" \ "lib/modules/${PV}" } diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.83-r1.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.83-r1.ebuild index 5ba1bd156ea4..f507f70d33cb 100644 --- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.83-r1.ebuild +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.83-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020 Gentoo Authors +# Copyright 2020-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -48,7 +48,7 @@ src_unpack() { src_test() { kernel-install_test "${PV}" \ - "${WORKDIR}/usr/src/linux-${PV}/$(kernel-install_get_image_path)" \ + "${WORKDIR}/usr/src/linux-${PV}/$(dist-kernel_get_image_path)" \ "lib/modules/${PV}" } diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.83.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.83.ebuild index 1e1643331694..4a18c43a2642 100644 --- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.83.ebuild +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.83.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020 Gentoo Authors +# Copyright 2020-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -44,7 +44,7 @@ src_unpack() { src_test() { kernel-install_test "${PV}" \ - "${WORKDIR}/usr/src/linux-${PV}/$(kernel-install_get_image_path)" \ + "${WORKDIR}/usr/src/linux-${PV}/$(dist-kernel_get_image_path)" \ "lib/modules/${PV}" } diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.85-r1.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.85-r1.ebuild index 2378adc3f352..34f4ca186da9 100644 --- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.85-r1.ebuild +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.85-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020 Gentoo Authors +# Copyright 2020-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -48,7 +48,7 @@ src_unpack() { src_test() { kernel-install_test "${PV}" \ - "${WORKDIR}/usr/src/linux-${PV}/$(kernel-install_get_image_path)" \ + "${WORKDIR}/usr/src/linux-${PV}/$(dist-kernel_get_image_path)" \ "lib/modules/${PV}" } diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.85.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.85.ebuild index d6e61fa69369..f89e59e7db2b 100644 --- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.85.ebuild +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.85.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020 Gentoo Authors +# Copyright 2020-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -44,7 +44,7 @@ src_unpack() { src_test() { kernel-install_test "${PV}" \ - "${WORKDIR}/usr/src/linux-${PV}/$(kernel-install_get_image_path)" \ + "${WORKDIR}/usr/src/linux-${PV}/$(dist-kernel_get_image_path)" \ "lib/modules/${PV}" } diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.86-r1.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.86-r1.ebuild index cced2ee66bff..8ec8fdea9936 100644 --- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.86-r1.ebuild +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.86-r1.ebuild @@ -50,7 +50,7 @@ src_unpack() { src_test() { kernel-install_test "${PV}" \ - "${WORKDIR}/usr/src/linux-${PV}/$(kernel-install_get_image_path)" \ + "${WORKDIR}/usr/src/linux-${PV}/$(dist-kernel_get_image_path)" \ "lib/modules/${PV}" } diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.86.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.86.ebuild index 6021b37ab4b4..b8eb2c63573a 100644 --- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.86.ebuild +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.86.ebuild @@ -46,7 +46,7 @@ src_unpack() { src_test() { kernel-install_test "${PV}" \ - "${WORKDIR}/usr/src/linux-${PV}/$(kernel-install_get_image_path)" \ + "${WORKDIR}/usr/src/linux-${PV}/$(dist-kernel_get_image_path)" \ "lib/modules/${PV}" } diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.87-r1.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.87-r1.ebuild index cced2ee66bff..8ec8fdea9936 100644 --- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.87-r1.ebuild +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.87-r1.ebuild @@ -50,7 +50,7 @@ src_unpack() { src_test() { kernel-install_test "${PV}" \ - "${WORKDIR}/usr/src/linux-${PV}/$(kernel-install_get_image_path)" \ + "${WORKDIR}/usr/src/linux-${PV}/$(dist-kernel_get_image_path)" \ "lib/modules/${PV}" } diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.87.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.87.ebuild index 6021b37ab4b4..b8eb2c63573a 100644 --- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.87.ebuild +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.87.ebuild @@ -46,7 +46,7 @@ src_unpack() { src_test() { kernel-install_test "${PV}" \ - "${WORKDIR}/usr/src/linux-${PV}/$(kernel-install_get_image_path)" \ + "${WORKDIR}/usr/src/linux-${PV}/$(dist-kernel_get_image_path)" \ "lib/modules/${PV}" } diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.88-r1.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.88-r1.ebuild index cced2ee66bff..8ec8fdea9936 100644 --- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.88-r1.ebuild +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.88-r1.ebuild @@ -50,7 +50,7 @@ src_unpack() { src_test() { kernel-install_test "${PV}" \ - "${WORKDIR}/usr/src/linux-${PV}/$(kernel-install_get_image_path)" \ + "${WORKDIR}/usr/src/linux-${PV}/$(dist-kernel_get_image_path)" \ "lib/modules/${PV}" } diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.88.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.88.ebuild index 6021b37ab4b4..b8eb2c63573a 100644 --- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.88.ebuild +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.88.ebuild @@ -46,7 +46,7 @@ src_unpack() { src_test() { kernel-install_test "${PV}" \ - "${WORKDIR}/usr/src/linux-${PV}/$(kernel-install_get_image_path)" \ + "${WORKDIR}/usr/src/linux-${PV}/$(dist-kernel_get_image_path)" \ "lib/modules/${PV}" } |