Skip to content

Commit

Permalink
sys-kernel/raspberrypi-sources: rename tarball for 5.10 (for now)
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/762766
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
thesamesam committed Feb 5, 2021
1 parent 40696e5 commit 13879e9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sys-kernel/raspberrypi-sources/Manifest
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit 13879e9

Please sign in to comment.