<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>I am having some trouble attempting to create Kernel patches as
per the Yocto Project Development Manual, section 5.10.3. Creating
the Patch:
<a class="moz-txt-link-freetext" href="http://www.yoctoproject.org/docs/2.1.1/dev-manual/dev-manual.html#creating-the-patch">http://www.yoctoproject.org/docs/2.1.1/dev-manual/dev-manual.html#creating-the-patch</a></p>
<p>When I get to the stage that says: <br>
</p>
<p>
<blockquote type="cite">Stage and commit your changes: These Git
commands display the modified file, stage it, and then commit
the file: <br>
$ git status</blockquote>
I get the response:</p>
<p>$ git status<br>
fatal: Not a git repository (or any of the parent directories):
.git</p>
<p><br>
</p>
I have a rpi-layer (taken from ) which I have generated binaries for
the RasperyPi 3 from. I wanted to modify a couple of kernel modules
to add support for a Quectel EC25 module. I located the relevant
module code and modified it in my temporary source code area:
~/work/rpi-layer/build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/linux-libc-headers/4.4-r0/linux-4.4/drivers/usb/serial<br>
<br>
I guess there is something goofy about the way the raspberrypi layer
works and this is actually a special kernel build which is not held
in a git repository? If that is the case, why can I a .gitignore
file in the ..linux-libc-headers/4.4-r0/linux-4.4 directory? <br>
<br>
I could create a git patch by hand for the next stage but it would
be much easier to modify a clone of the correct repository. <br>
<br>
Can anyone spot my obvious mistake? <br>
<br>
Regards, <br>
<br>
<div class="moz-signature">-- <br>
Thomas A. F. Thorne MEng. AUS MIET<br>
<b>Software Engineer</b><br>
<br>
<b>NET2EDGE</b><br>
<br>
Tel: <a href="tel:+443450130030">+44 3450 130 030</a><br>
Email: <a href="mailto:Thomas.Thorne@Net2Edge.com">Thomas.Thorne@Net2Edge.com</a><br>
Web: <a href="http://www.Net2Edge.com">http://www.Net2Edge.com/</a><br>
<br>
<p><small>Net2Edge Limited is a company registered in England
& Wales (Company No. 2438435, VAT No. GB 537553821)
Passfield Oak, Liphook, Hampshire, GU30 7RL. This email
transmission is confidential and intended solely for the
person or organisation to whom it is addressed. If you are not
the intended recipient, you must not copy, distribute or
disseminate the information, or take any action in reliance of
it. Any views expressed in this message are those of the
individual sender, except where the sender specifically states
them to be the views of any organisation or employer. If you
have received this message in error, do not open any
attachment but please notify the sender (above) and delete
this message from your system. Please rely on your own virus
check. Although all outbound mail is checked for viruses, no
responsibility is taken by the sender for any damage rising
out of any bug or virus infection.</small></p>
</div>
</body>
</html>