Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 624110 - sys-kernel/rt-sources does not auto-symlink
Summary: sys-kernel/rt-sources does not auto-symlink
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Karl Lindén
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-07 14:45 UTC by Audiodef
Modified: 2017-07-11 14:13 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Fixes kernel-2 postinst so symlink is auto-created (fix-kernel-2-postinst.patch,430 bytes, patch)
2017-07-08 17:39 UTC, Audiodef
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Audiodef 2017-07-07 14:45:09 UTC
sys-kernel/rt-sources does not auto-create the /usr/src/linux symlink. I have noticed this on multiple machines for quite some time now. I have always had to manually ln -s the symlink after emerging rt-sources.
Comment 1 Audiodef 2017-07-07 18:53:04 UTC
Ebuild is missing kernel-2_pkg_postinst call. Adding this should fix symlink creation.
Comment 2 Jonas Stein gentoo-dev 2017-07-08 12:40:22 UTC
Thank you for the report and your solution. 
Could you please attach your solution as patch to the ticket? (.diff)
Comment 3 Audiodef 2017-07-08 17:38:11 UTC
NP. Here it is:

--- /usr/portage/sys-kernel/rt-sources/rt-sources-4.11.8_p4.ebuild      2017-07-04 12:18:31.000000000 -0500
+++ rt-sources-4.11.8_p4.ebuild 2017-07-08 12:35:59.271135814 -0500
@@ -32,7 +32,7 @@
 UNIPATCH_STRICTORDER="yes"
 
 pkg_postinst() {
-
+       kernel-2_pkg_postinst
        ewarn
        ewarn "${PN} are *not* supported by the Gentoo Kernel Project in any way."
        ewarn "If you need support, please contact the RT project developers directly."
Comment 4 Audiodef 2017-07-08 17:39:17 UTC
Created attachment 482236 [details, diff]
Fixes kernel-2 postinst so symlink is auto-created
Comment 5 Arisu Tachibana Gentoo Infrastructure gentoo-dev 2017-07-11 14:13:01 UTC
commit d2c1b561d29efaf5dbdcfdafd2813b65b4d4c524

sys-kernel/rt-sources: version bumps, eapi 6 and fix bug 624110
Gentoo-Bug: 624110
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Closes: #5072