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

kernel name is missing a dash when setting custom_pkgbase to something with "tkg" #986

Closed
z0n opened this issue Jul 31, 2024 · 0 comments
Closed

Comments

@z0n
Copy link

z0n commented Jul 31, 2024

OS: Arch
Kernel: 6.10.2

When setting the _custom_pkgbase to something with tkg, e.g. linux-tkg, the kernel name will be 6.10.2-273linux-tkg instead of 6.10.2-273-linux-tkg.
Here's where it happens in the prepare script:

if [[ "$_custom_pkgbase" != *tkg* ]]; then
_localversion_tag="-tkg-"
fi
echo "-${pkgrel}${_localversion_tag}${_custom_pkgbase}" > localversion.10-pkgrel

Note that there'll be no - between the ${pkgrel} and ${_custom_pkgbase} if $_custom_pkgbase includes tkg.

Don't have time to create a fix PR, sorry 😅 Should be easy to fix though!

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

No branches or pull requests

1 participant