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

[Feature request] Allow an easy way to build a kernel that isn't from a version tagged git clone while keeping the tkg patch version schemes working #1057

Open
BillFleming opened this issue Dec 27, 2024 · 1 comment · May be fixed by #1081

Comments

@BillFleming
Copy link

When attempting to use some alternate kernel sources where the branch/tag isn't the version number this currently completely breaks the script. One example is here:
https://gitlab.collabora.com/hardware-enablement/rockchip-3588/linux

On a particular month it might be version 6.12 or 6.13 (but the branch will be just untagged rk3588) but the script can't figure it out correctly which version it is so the patch steps would fail.
You can't pull down the branch normally from the tkg script which is ok, but if you pull it down outside of the script then try to run the script on it the version problem still remains.

Basically we need something like a new _version="6.12" variable that is some version override. Then optionally a separate tag/branch variable to pull down the rk3588 branch if that is needed.

FYI: You can run linux-tkg on arm and get a working bootable arch package if you supply the correct config file to it. 😁 🐸

AdelKS added a commit to AdelKS/linux-tkg that referenced this issue Feb 24, 2025
we read the kernel version from the Makefile now

Issue: Frogging-Family#1057
AdelKS added a commit to AdelKS/linux-tkg that referenced this issue Feb 24, 2025
we read the kernel version from the Makefile now

Issue: Frogging-Family#1057
@AdelKS
Copy link
Collaborator

AdelKS commented Feb 24, 2025

I may have answered your request with #1081 but we still cannot provide commit hashes as a version, only tags

@AdelKS AdelKS linked a pull request Feb 26, 2025 that will close this issue
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 a pull request may close this issue.

2 participants