summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-02-05 18:50:55 +0000
committerSam James <sam@gentoo.org>2021-02-05 18:51:45 +0000
commit13879e90b2639feb21725785ec5070b79e5d8757 (patch)
tree11c6cf83fe70c4d471692bdc253f379a933ca016 /sys-kernel/raspberrypi-sources
parentsys-kernel/raspberrypi-sources: fix symlink with USE=symlink (diff)
downloadgentoo-13879e90b2639feb21725785ec5070b79e5d8757.tar.gz
gentoo-13879e90b2639feb21725785ec5070b79e5d8757.tar.bz2
gentoo-13879e90b2639feb21725785ec5070b79e5d8757.zip
sys-kernel/raspberrypi-sources: rename tarball for 5.10 (for now)
Closes: https://bugs.gentoo.org/762766 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-kernel/raspberrypi-sources')
-rw-r--r--sys-kernel/raspberrypi-sources/Manifest2
-rw-r--r--sys-kernel/raspberrypi-sources/raspberrypi-sources-5.10.11_p20210201.ebuild9
2 files changed, 8 insertions, 3 deletions
diff --git a/sys-kernel/raspberrypi-sources/Manifest b/sys-kernel/raspberrypi-sources/Manifest
index 4c7debcce2d6..0056324f1a80 100644
--- a/sys-kernel/raspberrypi-sources/Manifest
+++ b/sys-kernel/raspberrypi-sources/Manifest
@@ -1,2 +1,2 @@
+DIST linux-5.10.11_p20210201-raspberrypi.tar.gz 186311431 BLAKE2B 1ba95e54232fafc421eee4a1966c9ead0420d51bc32a87050aeb15d8f75217fbaa727f5f41855d3771feb720e6395eef13453ff83b1bd8c486deafec11926e38 SHA512 776b71e7be700c1ec14a0fddbb6374c84d5645323a72871a4e76d095c73c26891e6fac548aebbadd34f0b8d5d4c340935e281cdec314b29bf7d3bf41351958b9
DIST raspberrypi-kernel_1.20201201-1.tar.gz 175159649 BLAKE2B 6d7f4aed5696a2640ef591438b624434efa55af96216d7bf79888486a840171d8cd64548050c10890f1e636e8b42a7c97da0562ca36e44c07c2d24325942d374 SHA512 a8427e209a639b35088f32c4efa13ebd2d0efad7ad6f8ab40fbebec3c857d1acc4947aa0ea42e1edc1f8fd687b1bf8170764c811c0c876e92f0d66c269c91489
-DIST raspberrypi-kernel_1.20210201-1.tar.gz 186311431 BLAKE2B 1ba95e54232fafc421eee4a1966c9ead0420d51bc32a87050aeb15d8f75217fbaa727f5f41855d3771feb720e6395eef13453ff83b1bd8c486deafec11926e38 SHA512 776b71e7be700c1ec14a0fddbb6374c84d5645323a72871a4e76d095c73c26891e6fac548aebbadd34f0b8d5d4c340935e281cdec314b29bf7d3bf41351958b9
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
index 1da54bb05b7a..c5517098fc54 100644
--- a/sys-kernel/raspberrypi-sources/raspberrypi-sources-5.10.11_p20210201.ebuild
+++ b/sys-kernel/raspberrypi-sources/raspberrypi-sources-5.10.11_p20210201.ebuild
@@ -14,13 +14,18 @@ detect_arch
KV_FULL=$(ver_cut 4-)
KV_FULL="raspberrypi-kernel_1.${KV_FULL/p/}-1"
+
DESCRIPTION="Raspberry Pi kernel sources"
HOMEPAGE="https://github.com/raspberrypi/linux"
-SRC_URI="https://github.com/raspberrypi/linux/archive/${KV_FULL}.tar.gz"
-S="${WORKDIR}/linux-${KV_FULL}"
+SRC_URI="https://github.com/raspberrypi/linux/archive/${KV_FULL}.tar.gz -> linux-${PV}-raspberrypi.tar.gz"
+S="${WORKDIR}/linux-${PV}-raspberrypi"
KEYWORDS="~arm ~arm64"
src_unpack() {
default
+
+ # We want to rename the unpacked directory to a nice normalised string
+ # bug #762766
+ mv "${WORKDIR}"/linux-${KV_FULL} "${WORKDIR}"/linux-${PV}-raspberrypi || die
}