Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enabling special kernel as for example the linux mainline one #22

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

Pablo12345678901
Copy link

Added a third case for special kernels (as for example the 'linux mainline one)

If the two first 'wget' attemps fail, the user has the possibility (and the responsability) to provide a custom 'linux..tar.' url in order to download special kernel not listed in the '' repository (as https://git.kernel.org/torvalds/t/linux-6.7-rc7.tar.gz).

Tested with both kernel 6.6.8 and 6.7-rc6 andbluetooth is available.

Two modifications were made : stock the 'wget' download url into a variable and get the end of the tar file (which enable to use both 'tar.xz' as well as 'tar.gz' kernel files). It is important to enable at least the linux mainline kernel for macbook pro users.

…e download by manually writing the url. 2 adaptations made in the wget and tar commands calls : 'wget' call an url, which can be modified by the user in case the script did not worked well AND 'tar' extract from a file for which the extension can be customized (but has to end by 'tar.'something) - which enables the tar.gz as well as the tar.xz files.
…nline one) - if the two first 'wget' attemps fail, the user has the possibility (and the responsability) to provide a custom 'linux.*.tar.*' url in order to download special kernel not listed in the '' repository (as https://git.kernel.org/torvalds/t/linux-6.7-rc7.tar.gz). Tested with both kernel 6.6.8 and 6.7-rc6 andbluetooth is available. Two modifications were made : stock the 'wget' download url into a variable and get the end of the tar file (which enable to use both 'tar.xz' as well as 'tar.gz' kernel files). It is important to enable at least the linux mainline kernel for macbook pro users.
…g it from my linux_config dir and removing it after to left the dir 'clean' - so that way on my GitHub people can see original script and my adaptations to enhance it (enable patch on any custom kernel - for example the linux-mainline or linux-libre one - what the original script cannot).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant