Not able to build a fedora kernel
Hi,
I want build a fedora kernel. For this I used the steps described in https://fedoraproject.org/wiki/Buildi... . But it failed when I executed "git checkout origin/f22". The command "fedpkg clone -a kernel" was successful. I think command "fedpkg clone kernel " is not required as I tried to check out the code as anonymous user.
The following is the error: [kanda@localhost kernel]$ git checkout origin/f22 Note: checking out 'origin/f22'.
You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example:
git checkout -b new_branch_name
HEAD is now at 61b3efd... - CVE-2015-3290 CVE-2015-3291 NMI issues (rhbz 1243465 1245927) [kanda@localhost kernel]$
Any idea on how to resolve the issue?
Regards, Kanda
Everything you've posted looks all right, so far … what is the error?
Hi BRPocock, Thanks for looking into this issue. If there is nothing wrong in command "git checkout origin/f22" output, I expected "fedpkg local" command to build kernel. But it has thrown error as follows:
[kanda@localhost kernel]$ fedpkg local Could not execute local: Repo in inconsistent state: HEAD is a detached symbolic reference as it points to '359ba4a5a5d81afae63c91ddc2661772966442ee'
I am new to fedora and also for kernel build. So I am sure I might be missing somthing. Any help is a big help.
Regards, Kanda