commit:     40696e5680e8d00928e9ebca1fea5c4ed2035673
Author:     Ionen Wolkens <sudinave <AT> gmail <DOT> com>
AuthorDate: Thu Dec 31 12:32:55 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Feb  5 18:51:39 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40696e56

sys-kernel/raspberrypi-sources: fix symlink with USE=symlink

Closes: https://bugs.gentoo.org/762766
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Ionen Wolkens <sudinave <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../raspberrypi-sources-5.10.11_p20210201.ebuild                  | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

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 523b8ac20a1..1da54bb05b7 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
@@ -12,12 +12,12 @@ inherit kernel-2 eapi7-ver
 detect_version
 detect_arch
 
-MY_PV=$(ver_cut 4-)
-MY_PV=${MY_PV/p/}
+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/raspberrypi-kernel_1.${MY_PV}-1.tar.gz";
-S="${WORKDIR}/linux-raspberrypi-kernel_1.${MY_PV}-1"
+SRC_URI="https://github.com/raspberrypi/linux/archive/${KV_FULL}.tar.gz";
+S="${WORKDIR}/linux-${KV_FULL}"
 
 KEYWORDS="~arm ~arm64"
 

Reply via email to