>> I would appreciate a little help please. >> I am building the kernel with the following commands: > > Emailing kernel-owner doesn't work 99% of the time. It's better to > email the Fedora kernel list for these kinds of questions (now CC'd). > >> fedpkg clone -a kernel >> cd kernel >> git checkout -b f23 --track origin/f23 >> fedpkg local >> >> and this builds a 4.2.8-300 release, however I need to build a >> 4.2.7-300 release which fedora is currently running on. >> >> how would I alter my command to achieve this. > > You need to look in koji for the specific build, and use the sha1sum > hash that version was built from. You can do this by navigating the > build webpages, or using the koji command line client. The client > method is below: > > [jwboyer@vader ~]$ koji buildinfo kernel-4.2.7-300.fc23 | head -n 5 > BUILD: kernel-4.2.7-300.fc23 [704495] > State: COMPLETE > Built by: jforbes > Volume: DEFAULT > Task: 12130200 build (f23-candidate, > /kernel:827b8d0864402142f735d3e8cef8d20ae094e2d7) > > The hash is listed there ^^^^. > > Then go to your checkout you've done with fedpkg and run: > > git reset --hard 827b8d0864402142f735d3e8cef8d20ae094e2d7 The way I tend to do this is to create a branch at the point I want to move out from. So the above similar command would be: git checkout -b <new branch name> <git hash> So you could do: git checkout -b f23-4.2.7 827b8d0864402142f735d3e8cef8d20ae094e2d7 Which puts you into a branch from that point, you can then commit your own patches etc. "fedpkg switch-branch f23" to get back to main f23 branch "fedpkg --dist f23 srpm" to create a src.rpm of the branch with any changes you might have committed "git branch -D f23-4.2.7" to delete the branch you created _______________________________________________ kernel mailing list kernel@xxxxxxxxxxxxxxxxxxxxxxx http://lists.fedoraproject.org/admin/lists/kernel@xxxxxxxxxxxxxxxxxxxxxxx