<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 12/20/2015 11:18 PM, Philip Brown
wrote:<br>
</div>
<blockquote cite="mid:56772918.9050305@kiwienglish.es" type="cite">On
12/20/2015 09:55 PM, stan wrote:
<br>
<blockquote type="cite">On Sun, 20 Dec 2015 10:48:40 +0100
<br>
Philip Brown <a class="moz-txt-link-rfc2396E" href="mailto:philipbrown.es@gmail.com"><philipbrown.es@gmail.com></a> wrote:
<br>
<br>
<blockquote type="cite">Hi,
<br>
<br>
I would appreciate a little help please.
<br>
I am building the kernel with the following commands:
<br>
<br>
fedpkg clone -a kernel
<br>
cd kernel
<br>
git checkout -b f23 --track origin/f23
<br>
fedpkg local
<br>
<br>
and this builds a 4.2.8-300 release, however I need to build a
<br>
4.2.7-300 release which fedora is currently running on.
<br>
<br>
how would I alter my command to achieve this.
<br>
</blockquote>
I haven't used fedpkg. I was actually unaware of it until your
post.
<br>
But a quick look at the man page suggests that it can build srpm
<br>
files. So, you can go to koji,
<br>
<a class="moz-txt-link-freetext" href="http://koji.fedoraproject.org/koji/packageinfo?packageID=8">http://koji.fedoraproject.org/koji/packageinfo?packageID=8</a>
<br>
select the kernel you want, and download the srpm. Once you
have that,
<br>
it appears that you can build the srpm using
<br>
fedpkg build --srpm [srpm name]
<br>
<br>
If the kernel has been built, there will already be a binary rpm
there
<br>
for the common architectures. You could forego the build, and
just
<br>
download and install the binary rpm.
<br>
</blockquote>
I'm quite new to all this kernel building guff, so I will
definetly be looking into what you are saying. For the moment I
have had to build a kernel as I have had to apply a patch to get
my wacom tablet running.
<br>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
just to answer this question as I received an answer from Josh at
the kernel mailing list which is as follows:<br>
<br>
<span><span style="display:inline">You need to look in koji for the
specific build, and use the sha1sum
hash that version was built from. <br>
You can do this by navigating the
build webpages, or using the koji command line client. <br>
The command line client
method is below:
<br>
<br>
[jwboyer@vader ~]$ koji buildinfo kernel-4.2.7-300.fc23 | head
-n 5
<br>
BUILD: kernel-4.2.7-300.fc23 [704495]
<br>
State: COMPLETE
<br>
Built by: jforbes
<br>
Volume: DEFAULT
Task: 12130200 build (f23-candidate,/kernel:<wbr>827b8d0864402142f735d3e8cef8d2<wbr>0ae094e2d7)
<br>
<br>
The hash is listed there ^^^^.
<br>
Then go to your checkout you've done with fedpkg and run:
<br>
<br>
git reset --hard 827b8d0864402142f735d3e8cef8d2<wbr>0ae094e2d7
<br>
<br>
and your local repo will be reset to the same commit that was
used to
build 4.2.7-300.fc23.</span></span><br>
<br>
<pre class="moz-signature" cols="72">--
</pre>
</body>
</html>