Summary: | sys-kernel/raspberrypi-sources-5.4.79_p20201201[symlink]: wrong symlink in /usr/src | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Another Mortal <a.m> |
Component: | Current packages | Assignee: | Sam James <sam> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | crabbedhaloablution, ionen, shortie8 |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=770460 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
0001-sys-kernel-raspberrypi-sources-fix-symlink-with-USE-.patch
raspberrypi-sources.diff |
Description
Another Mortal
2020-12-31 10:35:40 UTC
Created attachment 680425 [details, diff]
0001-sys-kernel-raspberrypi-sources-fix-symlink-with-USE-.patch
eselect kernel seems to handle this fine, so it's just USE=symlink and the snapshot
Here's a patch but not convinced it's 100% right, hope it helps anyway.
rt-sources also uses KV_FULL for comparison.
(In reply to Ionen Wolkens from comment #1) > not convinced it's 100% right Probably not worth it until a version bump, but renaming the tarball to linux-... and using kernel-2's native src_unpack() to move the source directory to regular linux-${KV_FULL} may make more sense (might require fiddling with other variables, haven't tried). Created attachment 680500 [details, diff] raspberrypi-sources.diff Thankz for the symlink. But I think it was still not configuring properly. This patch grows on yours with some configuring. It uses either `cat /proc/cpuinfo` or a BOARD variable can be passed by /etc/portage/make.conf, like BOARD="pi4-64" I think this should stabilize it too.... A pre patched ebuild can be found here, for quick testing maybe. wget https://raw.githubusercontent.com/ShorTie8/Gentoo-imager/master/overlay/sys-kernel/raspberrypi-sources/raspberrypi-sources-5.4.79_p20201201.ebuild The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13879e90b2639feb21725785ec5070b79e5d8757 commit 13879e90b2639feb21725785ec5070b79e5d8757 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-02-05 18:50:55 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-02-05 18:51:45 +0000 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> sys-kernel/raspberrypi-sources/Manifest | 2 +- .../raspberrypi-sources-5.10.11_p20210201.ebuild | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40696e5680e8d00928e9ebca1fea5c4ed2035673 commit 40696e5680e8d00928e9ebca1fea5c4ed2035673 Author: Ionen Wolkens <sudinave@gmail.com> AuthorDate: 2020-12-31 12:32:55 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-02-05 18:51:39 +0000 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@gmail.com> Signed-off-by: Sam James <sam@gentoo.org> .../raspberrypi-sources-5.10.11_p20210201.ebuild | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) |