Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 740724 - sys-apps/bolt-0.9-r1 patch for Linux-5.6+ (CONFIG_THUNDERBOLT vs CONFIG_USB4)
Summary: sys-apps/bolt-0.9-r1 patch for Linux-5.6+ (CONFIG_THUNDERBOLT vs CONFIG_USB4)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Stabilization (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthew Thode ( prometheanfire )
URL: https://github.com/torvalds/linux/com...
Whiteboard:
Keywords: PATCH, STABLEREQ
Depends on:
Blocks:
 
Reported: 2020-09-06 15:00 UTC by redflyhacker
Modified: 2021-01-19 17:40 UTC (History)
2 users (show)

See Also:
Package list:
sys-apps/bolt-0.9-r2 *
Runtime testing required: ---


Attachments
bolt-0.9-r2.ebuild (bolt-0.9-r2.ebuild,1.31 KB, text/plain)
2020-09-06 15:02 UTC, redflyhacker
no flags Details
bolt-0.9-r2.patch (bolt-0.9-r2.patch,581 bytes, patch)
2020-09-06 15:03 UTC, redflyhacker
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description redflyhacker 2020-09-06 15:00:35 UTC
Currently sys-apps/bolt-0.9-r1 checks the kernel config for CONFIG_THUNDERBOLT. As of Linux-5.6, this has been renamed to CONFIG_USB4 (see https://github.com/torvalds/linux/commit/690ac0d20d4022bb3c7d84e0e3760eb40aa8028d#diff-8b4f05ac295ebbe9b019b2dfb9b5362d)

Reproducible: Always

Steps to Reproduce:
emerge -v bolt
Actual Results:  
>>> Running pre-merge checks for sys-apps/bolt-0.9-r1
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     5.8.7-gentoo
 * Checking for suitable kernel configuration options...
 *   This package requires the thunderbolt kernel driver.
 * Please check to make sure these options are set correctly.
 * Failure to do so may cause unexpected problems.
 * Checking for suitable kernel configuration options...

Expected Results:  
>>> Running pre-merge checks for sys-apps/bolt-0.9-r2
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     5.8.7-gentoo
 * Checking for suitable kernel configuration options...                                                                                                                                                                                                                [ ok ]
 * Checking for suitable kernel configuration options...
Comment 1 redflyhacker 2020-09-06 15:02:18 UTC
Created attachment 658810 [details]
bolt-0.9-r2.ebuild
Comment 2 redflyhacker 2020-09-06 15:03:27 UTC
Created attachment 658812 [details, diff]
bolt-0.9-r2.patch
Comment 3 redflyhacker 2020-09-06 15:08:39 UTC
The attached ebuild has been tested with sys-kernel/gentoo-sources-5.4.60 and sys-kernel/gentoo-sources-5.8.7. According to https://github.com/torvalds/linux/commit/690ac0d20d4022bb3c7d84e0e3760eb40aa8028d#diff-8b4f05ac295ebbe9b019b2dfb9b5362d the kernel config change exists as of Linux v5.6-rc1, hence the new test for <linux-5.6.
Comment 4 redflyhacker 2020-10-15 08:04:00 UTC
The attached ebuild has since been tested with sys-kernel/gentoo-sources-5.8.9, sys-kernel/gentoo-sources-5.8.10, sys-kernel/gentoo-sources-5.8.11, sys-kernel/gentoo-sources-5.8.12, sys-kernel/gentoo-sources-5.8.13, and very recently sys-kernel/gentoo-sources-5.9.0 as well. Thus far all seems well.
Comment 5 Larry the Git Cow gentoo-dev 2020-10-16 02:04:42 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e5f5de3f8caaf44243b5b4c5c6dcad5f62c76c8

commit 3e5f5de3f8caaf44243b5b4c5c6dcad5f62c76c8
Author:     Matthew Thode <prometheanfire@gentoo.org>
AuthorDate: 2020-10-16 02:03:52 +0000
Commit:     Matthew Thode <prometheanfire@gentoo.org>
CommitDate: 2020-10-16 02:04:27 +0000

    sys-apps/bolt: 0.9-r2 - work with newer kernels
    
    Closes: https://bugs.gentoo.org/740724
    Package-Manager: Portage-3.0.8, Repoman-3.0.1
    Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>

 sys-apps/bolt/bolt-0.9-r2.ebuild | 57 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 57 insertions(+)
Comment 6 Andreas Sturmlechner gentoo-dev 2021-01-19 17:19:44 UTC
Must not forget to stabilise this before we get a new stable kernel series (5.10 is LTS).
Comment 7 Larry the Git Cow gentoo-dev 2021-01-19 17:40:04 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43686703c9ffa0f342e62293b2be7524cf634dbd

commit 43686703c9ffa0f342e62293b2be7524cf634dbd
Author:     Matthew Thode <prometheanfire@gentoo.org>
AuthorDate: 2021-01-19 17:39:47 +0000
Commit:     Matthew Thode <prometheanfire@gentoo.org>
CommitDate: 2021-01-19 17:39:59 +0000

    sys-apps/bolt: 0.9-r2 stable
    
    Closes: https://bugs.gentoo.org/740724
    Package-Manager: Portage-3.0.13, Repoman-3.0.2
    Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>

 sys-apps/bolt/bolt-0.9-r1.ebuild | 52 ----------------------------------------
 sys-apps/bolt/bolt-0.9-r2.ebuild |  4 ++--
 2 files changed, 2 insertions(+), 54 deletions(-)