<br><br><div class="gmail_quote">On Tue, Oct 11, 2011 at 8:17 AM, Andrew Bradford <span dir="ltr"><<a href="mailto:bradfa@gmail.com">bradfa@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">On Tue, Oct 11, 2011 at 7:48 AM, Lance Jump <<a href="mailto:lancej29@gmail.com">lancej29@gmail.com</a>> wrote:<br>
> On Tue, Oct 11, 2011 at 7:28 AM, Andrew Bradford <<a href="mailto:bradfa@gmail.com">bradfa@gmail.com</a>> wrote:<br>
</div><div class="im">>> If you have the time and desire, feel free to fix the docbook source<br>
>> and send a patch (or pull request) to the -dev list.<br>
><br>
> I would, but I don't know how to go about it. I wouldn't mind learning if<br>
> you could point me to some instructions. I realize that it is probably<br>
> easier for you just to make the changes yourself rather than teaching me<br>
> how, but, once I know, I might be of help in the future.<br>
<br>
</div>Some old saying about teaching a man to fish... :)<br>
<br>
You'll need to have git installed on your machine. Then grab a copy<br>
of the embedded book git repo:<br>
$ git clone git://<a href="http://git.cross-lfs.org/clfs-embedded.git" target="_blank">git.cross-lfs.org/clfs-embedded.git</a><br>
<br>
This will create a directory called clfs-embedded for you. Navigate<br>
to clfs-embedded/BOOK/bootable/x86/ and edit the file kernel.xml (side<br>
note: the kernel.xml for arm references the kernel.xml for x86 right<br>
now, not ideal, it should refer to a common/kernel.xml but that hasn't<br>
been updated yet). Line 117 should look pretty familiar to you, fix<br>
it. Save. (all our tabs are 2 spaces, may not be the default in your<br>
editor) Build the book into html to make sure it looks correct:<br>
in the BOOK dir just run make, it'll build all versions of the book<br>
and store the html output in a directory called ../render<br>
If make complains about not having some package for doing rendering,<br>
install that and try again (Ubuntu 10.04 should have everything you<br>
need available through apt-get).<br>
<br>
Once the html looks right, add the file you changed (the kernel.xml)<br>
to git's staging area:<br>
$ git add (path to kernel.xml file you just edited)<br>
<br>
Commit the change:<br>
$ git commit<br>
<br>
That will bring up your default editor (most likely vim or nano/pico).<br>
Put a short one liner title on the first line, then a blank line,<br>
then a more descriptive change (such as a link to the trac ticket).<br>
Save your commit note and exit the editor, that triggers the actual<br>
commit.<br>
<br>
You can then push your repo to a site like github and send a pull<br>
request or you can send a patch in an email. To create a patch file<br>
for emailing, run:<br>
$ git format-patch origin/master<br>
<br>
This will create a patch that can take the origin/master (the repo you<br>
cloned) to the state you are at now. It'll be called<br>
0001-Your_Title_here.patch (or something similar). Send that file to<br>
the -dev list.<br>
<br>
That's a rather quick and rough overview of git / how to update the<br>
clfs books. If anything doesn't make sense, let me know and I'll try<br>
to be more descriptive. Some great resources on git:<br>
<a href="http://git-scm.com/" target="_blank">http://git-scm.com/</a><br>
<a href="http://progit.org/book/" target="_blank">http://progit.org/book/</a><br>
<div><div></div><div class="h5"><br></div></div></blockquote><div><br>There are some new skills for me here, but that's what learning is all about. I'll give it a go -- hopefully this weekend.<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div class="h5">
-Andrew<br>
_______________________________________________<br>
Clfs-support mailing list<br>
<a href="mailto:Clfs-support@lists.cross-lfs.org">Clfs-support@lists.cross-lfs.org</a><br>
<a href="http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org" target="_blank">http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org</a><br>
</div></div></blockquote></div><br>