commit:     0f796c9d2c8dd4d536f3c046ce79d42685579a67
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 11 04:58:00 2022 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Tue Jan 11 05:02:28 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f796c9d

sys-kernel/gentoo-kernel-bin: install dtbs to /boot if present

on arm64 while xpak file provides boot/dtbs but it was not installed.
it may require more work to use mount-boot properly.
we may end up installing to /usr/src/<kern> and copying to /boot/dtbs
with installkernel instead, tbd.

Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.88.ebuild    | 7 ++++++-
 sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.89.ebuild    | 7 ++++++-
 sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.90.ebuild    | 5 +++++
 sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.14.21-r1.ebuild | 7 ++++++-
 sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.14.21.ebuild    | 7 ++++++-
 sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.11.ebuild    | 7 ++++++-
 sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.12.ebuild    | 7 ++++++-
 sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.13.ebuild    | 5 +++++
 sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.168.ebuild    | 7 ++++++-
 sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.169.ebuild    | 7 ++++++-
 sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.170.ebuild    | 5 +++++
 11 files changed, 63 insertions(+), 8 deletions(-)

diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.88.ebuild 
b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.88.ebuild
index f54981556437..0f32c7eb097a 100644
--- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.88.ebuild
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.88.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020-2021 Gentoo Authors
+# Copyright 2020-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -114,6 +114,11 @@ src_test() {
 src_install() {
        mv lib usr "${ED}"/ || die
 
+       # FIXME: requires proper mount-boot
+       if [[ -d boot/dtbs ]]; then
+               mv boot "${ED}"/ || die
+       fi
+
        # strip out-of-source build stuffs from modprep
        # and then copy built files
        find modprep -type f '(' \

diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.89.ebuild 
b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.89.ebuild
index 443e9ff85119..75080d99ff99 100644
--- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.89.ebuild
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.89.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020-2021 Gentoo Authors
+# Copyright 2020-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -114,6 +114,11 @@ src_test() {
 src_install() {
        mv lib usr "${ED}"/ || die
 
+       # FIXME: requires proper mount-boot
+       if [[ -d boot/dtbs ]]; then
+               mv boot "${ED}"/ || die
+       fi
+
        # strip out-of-source build stuffs from modprep
        # and then copy built files
        find modprep -type f '(' \

diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.90.ebuild 
b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.90.ebuild
index c7d60886da7b..75080d99ff99 100644
--- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.90.ebuild
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.90.ebuild
@@ -114,6 +114,11 @@ src_test() {
 src_install() {
        mv lib usr "${ED}"/ || die
 
+       # FIXME: requires proper mount-boot
+       if [[ -d boot/dtbs ]]; then
+               mv boot "${ED}"/ || die
+       fi
+
        # strip out-of-source build stuffs from modprep
        # and then copy built files
        find modprep -type f '(' \

diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.14.21-r1.ebuild 
b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.14.21-r1.ebuild
index b392a3e75a53..e7225ce6d082 100644
--- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.14.21-r1.ebuild
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.14.21-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020-2021 Gentoo Authors
+# Copyright 2020-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -101,6 +101,11 @@ src_test() {
 src_install() {
        mv lib usr "${ED}"/ || die
 
+       # FIXME: requires proper mount-boot
+       if [[ -d boot/dtbs ]]; then
+               mv boot "${ED}"/ || die
+       fi
+
        # strip out-of-source build stuffs from modprep
        # and then copy built files
        find modprep -type f '(' \

diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.14.21.ebuild 
b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.14.21.ebuild
index 550411ea18c7..605adbe12260 100644
--- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.14.21.ebuild
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.14.21.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020-2021 Gentoo Authors
+# Copyright 2020-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -105,6 +105,11 @@ src_test() {
 src_install() {
        mv lib usr "${ED}"/ || die
 
+       # FIXME: requires proper mount-boot
+       if [[ -d boot/dtbs ]]; then
+               mv boot "${ED}"/ || die
+       fi
+
        # strip out-of-source build stuffs from modprep
        # and then copy built files
        find modprep -type f '(' \

diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.11.ebuild 
b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.11.ebuild
index 118b14b8cb5b..2c935a393a94 100644
--- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.11.ebuild
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.11.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020-2021 Gentoo Authors
+# Copyright 2020-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -114,6 +114,11 @@ src_test() {
 src_install() {
        mv lib usr "${ED}"/ || die
 
+       # FIXME: requires proper mount-boot
+       if [[ -d boot/dtbs ]]; then
+               mv boot "${ED}"/ || die
+       fi
+
        # strip out-of-source build stuffs from modprep
        # and then copy built files
        find modprep -type f '(' \

diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.12.ebuild 
b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.12.ebuild
index cac156079420..fc9dbc62cb30 100644
--- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.12.ebuild
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.12.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020-2021 Gentoo Authors
+# Copyright 2020-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -114,6 +114,11 @@ src_test() {
 src_install() {
        mv lib usr "${ED}"/ || die
 
+       # FIXME: requires proper mount-boot
+       if [[ -d boot/dtbs ]]; then
+               mv boot "${ED}"/ || die
+       fi
+
        # strip out-of-source build stuffs from modprep
        # and then copy built files
        find modprep -type f '(' \

diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.13.ebuild 
b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.13.ebuild
index a42b48150042..fc9dbc62cb30 100644
--- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.13.ebuild
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.13.ebuild
@@ -114,6 +114,11 @@ src_test() {
 src_install() {
        mv lib usr "${ED}"/ || die
 
+       # FIXME: requires proper mount-boot
+       if [[ -d boot/dtbs ]]; then
+               mv boot "${ED}"/ || die
+       fi
+
        # strip out-of-source build stuffs from modprep
        # and then copy built files
        find modprep -type f '(' \

diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.168.ebuild 
b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.168.ebuild
index 4ac8f62a02d9..b2772a9e8fe3 100644
--- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.168.ebuild
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.168.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020-2021 Gentoo Authors
+# Copyright 2020-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -114,6 +114,11 @@ src_test() {
 src_install() {
        mv lib usr "${ED}"/ || die
 
+       # FIXME: requires proper mount-boot
+       if [[ -d boot/dtbs ]]; then
+               mv boot "${ED}"/ || die
+       fi
+
        # strip out-of-source build stuffs from modprep
        # and then copy built files
        find modprep -type f '(' \

diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.169.ebuild 
b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.169.ebuild
index 932f75a40a77..5bdada88d281 100644
--- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.169.ebuild
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.169.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020-2021 Gentoo Authors
+# Copyright 2020-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -114,6 +114,11 @@ src_test() {
 src_install() {
        mv lib usr "${ED}"/ || die
 
+       # FIXME: requires proper mount-boot
+       if [[ -d boot/dtbs ]]; then
+               mv boot "${ED}"/ || die
+       fi
+
        # strip out-of-source build stuffs from modprep
        # and then copy built files
        find modprep -type f '(' \

diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.170.ebuild 
b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.170.ebuild
index 5c7e8978af15..5bdada88d281 100644
--- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.170.ebuild
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.170.ebuild
@@ -114,6 +114,11 @@ src_test() {
 src_install() {
        mv lib usr "${ED}"/ || die
 
+       # FIXME: requires proper mount-boot
+       if [[ -d boot/dtbs ]]; then
+               mv boot "${ED}"/ || die
+       fi
+
        # strip out-of-source build stuffs from modprep
        # and then copy built files
        find modprep -type f '(' \

Reply via email to