<div dir="ltr"><br><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-04-18 3:21 GMT+02:00 Blank Field <span dir="ltr"><<a href="mailto:ihatethisfield@gmail.com" target="_blank">ihatethisfield@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><p dir="ltr">Doesn't patch support syntax like patch -p1 filename.patch?<br>
Does vanilla linux really can do stuff like make rpm? If so, since when?</p></blockquote><div>I think that is the syntax i use back then.</div><div>What do you mean by vanilla linux? You're talking about the kernel or the distrib gnu/linux in general?</div><div>Rpm is supported by the majority of the distros if i remember correctly.</div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class=""><div class="h5">
<div class="gmail_quote">On Apr 18, 2016 4:18 AM, "Brett Peckinpaugh" <<a href="mailto:erylflynn@gmail.com" target="_blank">erylflynn@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Thanks for any help in advance.<br>
<br>
I am trying to create a patched kernel for Fedora 23.  I have downloaded from the Kernel archive the 4.5.1 source files.  I can compile to rpm, install and run from this source. When I attempt to patch I fail at different steps based on which ACS patch I try.<br>
<br>
I compile by the following steps.<br>
make menuconfig<br>
make rpm<br>
<br>
To patch:<br>
make menuconfig<br>
cat pathtofile/acs_patch.diff | patch -p1<br>
make rpm<br>
<br>
Depending on the ACS patch, sometimes it fails at the cat step, sometimes it fails at the make rpm step.<br>
<br>
First, is what I am doing on the right track? If not is there a guide to do this? If I am on the right track, which ACS patch should I use, and if I run into issues what should I do or look for?  I can't seem to locate logs for when it fails to help me trouble shoot what is wrong.<br></blockquote></div></div></div></blockquote><div><br></div>Why do you cat the patch?<div>You might not have the right version for your kernel, either try the one from the linux-vfio repo from arch,</div><div>or just put the modifications in the correct file by hand and be done with it.</div><div>The patch command should return you something if you had errors during the patching. </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class=""><div class="h5"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
_______________________________________________<br>
vfio-users mailing list<br>
<a href="mailto:vfio-users@redhat.com" target="_blank">vfio-users@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/vfio-users" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/vfio-users</a><br>
</blockquote></div>
</div></div><br>_______________________________________________<br>
vfio-users mailing list<br>
<a href="mailto:vfio-users@redhat.com">vfio-users@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/vfio-users" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/vfio-users</a><br>
<br></blockquote></div><br></div></div>