1 |
commit: 13879e90b2639feb21725785ec5070b79e5d8757 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 5 18:50:55 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Feb 5 18:51:45 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13879e90 |
7 |
|
8 |
sys-kernel/raspberrypi-sources: rename tarball for 5.10 (for now) |
9 |
|
10 |
Closes: https://bugs.gentoo.org/762766 |
11 |
Package-Manager: Portage-3.0.14, Repoman-3.0.2 |
12 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
13 |
|
14 |
sys-kernel/raspberrypi-sources/Manifest | 2 +- |
15 |
.../raspberrypi-sources-5.10.11_p20210201.ebuild | 9 +++++++-- |
16 |
2 files changed, 8 insertions(+), 3 deletions(-) |
17 |
|
18 |
diff --git a/sys-kernel/raspberrypi-sources/Manifest b/sys-kernel/raspberrypi-sources/Manifest |
19 |
index 4c7debcce2d..0056324f1a8 100644 |
20 |
--- a/sys-kernel/raspberrypi-sources/Manifest |
21 |
+++ b/sys-kernel/raspberrypi-sources/Manifest |
22 |
@@ -1,2 +1,2 @@ |
23 |
+DIST linux-5.10.11_p20210201-raspberrypi.tar.gz 186311431 BLAKE2B 1ba95e54232fafc421eee4a1966c9ead0420d51bc32a87050aeb15d8f75217fbaa727f5f41855d3771feb720e6395eef13453ff83b1bd8c486deafec11926e38 SHA512 776b71e7be700c1ec14a0fddbb6374c84d5645323a72871a4e76d095c73c26891e6fac548aebbadd34f0b8d5d4c340935e281cdec314b29bf7d3bf41351958b9 |
24 |
DIST raspberrypi-kernel_1.20201201-1.tar.gz 175159649 BLAKE2B 6d7f4aed5696a2640ef591438b624434efa55af96216d7bf79888486a840171d8cd64548050c10890f1e636e8b42a7c97da0562ca36e44c07c2d24325942d374 SHA512 a8427e209a639b35088f32c4efa13ebd2d0efad7ad6f8ab40fbebec3c857d1acc4947aa0ea42e1edc1f8fd687b1bf8170764c811c0c876e92f0d66c269c91489 |
25 |
-DIST raspberrypi-kernel_1.20210201-1.tar.gz 186311431 BLAKE2B 1ba95e54232fafc421eee4a1966c9ead0420d51bc32a87050aeb15d8f75217fbaa727f5f41855d3771feb720e6395eef13453ff83b1bd8c486deafec11926e38 SHA512 776b71e7be700c1ec14a0fddbb6374c84d5645323a72871a4e76d095c73c26891e6fac548aebbadd34f0b8d5d4c340935e281cdec314b29bf7d3bf41351958b9 |
26 |
|
27 |
diff --git a/sys-kernel/raspberrypi-sources/raspberrypi-sources-5.10.11_p20210201.ebuild b/sys-kernel/raspberrypi-sources/raspberrypi-sources-5.10.11_p20210201.ebuild |
28 |
index 1da54bb05b7..c5517098fc5 100644 |
29 |
--- a/sys-kernel/raspberrypi-sources/raspberrypi-sources-5.10.11_p20210201.ebuild |
30 |
+++ b/sys-kernel/raspberrypi-sources/raspberrypi-sources-5.10.11_p20210201.ebuild |
31 |
@@ -14,13 +14,18 @@ detect_arch |
32 |
|
33 |
KV_FULL=$(ver_cut 4-) |
34 |
KV_FULL="raspberrypi-kernel_1.${KV_FULL/p/}-1" |
35 |
+ |
36 |
DESCRIPTION="Raspberry Pi kernel sources" |
37 |
HOMEPAGE="https://github.com/raspberrypi/linux" |
38 |
-SRC_URI="https://github.com/raspberrypi/linux/archive/${KV_FULL}.tar.gz" |
39 |
-S="${WORKDIR}/linux-${KV_FULL}" |
40 |
+SRC_URI="https://github.com/raspberrypi/linux/archive/${KV_FULL}.tar.gz -> linux-${PV}-raspberrypi.tar.gz" |
41 |
+S="${WORKDIR}/linux-${PV}-raspberrypi" |
42 |
|
43 |
KEYWORDS="~arm ~arm64" |
44 |
|
45 |
src_unpack() { |
46 |
default |
47 |
+ |
48 |
+ # We want to rename the unpacked directory to a nice normalised string |
49 |
+ # bug #762766 |
50 |
+ mv "${WORKDIR}"/linux-${KV_FULL} "${WORKDIR}"/linux-${PV}-raspberrypi || die |
51 |
} |