Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
soc:2009:pravin:notes:start [2009/06/14 16:35]
mdc
soc:2009:pravin:notes:start [2009/09/11 15:21]
less1
Line 1: Line 1:
-====== ​Pravin Shindeboot.kernel.org - Universal ​remote ​network booting ​for the masses ​======+====== ​place to log useful random commands ====== 
 + 
 +Useful to find the dependency of given executable on other shared libraries. 
 +<​code>​ 
 +ldd 
 +</​code>​ 
 + 
 +===== Useful information ===== 
 +AndyTimBy the way, if you ever get the ^M problem again. 
 +AndyTim: Try following it by a ^J 
 + 
 + 
 +===== Links to watch-out ===== 
 +  - [[http://​unit.aist.go.jp/​itri/​knoppix/​http-fuse/​index-en.html|HTTP-FUSE-KNOPPIX]] someone has done if before also. 
 +  - [[http://​paste.etherboot.org/?​page=view&​id=1239849078]] script to create automatic gpxe bootable USB 
 + 
 +===== For Shell script ===== 
 +If you want to terminate execution of a shell script on encounter any error then 
 +<​code>​ 
 +#​!/​bin/​bash 
 +set -e 
 +</​code>​ 
 + 
 +===== Useful git commands ===== 
 +To create  
 +<​code>​ 
 +git clone --bare git://git.kernel.org/​pub/​scm/​boot/​syslinux/​syslinux.git syslinux.git 
 +</​code>​ 
 +The "--bare" means you don't need a working tree, only the internal .git/ files. ​ Since you'll never been working directly in this directoy on rom, it makes sense not to have a working tree. 
 + 
 +==== creating blank repository on remote ​server ==== 
 +<​code>​ 
 +git init --bare 
 +</​code>​ 
 + 
 +Adding remote head to cloned repository 
 +<​code>​ 
 +git remote add master git+ssh://​pravin@git.etherboot.org//​pub/​scm/​people/​pravin/​BKO.git 
 +</​code>​ 
 + 
 +For pushing the local master repository from local to remote server repository, it can be done with 
 +<​code>​ 
 +git push master master 
 +</​code>​ 
 + 
 +Where you are pushing local branch called "​master"​ onto remote branch called "​master"​ 
 + 
 +===== git submoduling ===== 
 + 
 +to register the git submodules 
 +<​code>​ 
 +git submodule init 
 +git submodule update 
 +</​code>​ 
 + 
 +==== git bisect ==== 
 +This command is quite useful ​for finding broken commit. 
 +Here is the [[http://​jbowes.wordpress.com/​2007/​02/​18/​git-bisect-a-practical-example-with-yum/​|blog]] which mentions how to use it. 
 + 
 +===== useful commands for qemu ===== 
 +One can use qemu monitor for debugging.\\ 
 +Here is the [[http://​en.wikibooks.org/​wiki/​QEMU/​Monitor|wikibook]] for using monitor with qemu.
  
 ===== Notes ===== ===== Notes =====

Navigation

* [[:start|Home]] * [[:about|About our Project]] * [[:download|Download]] * [[:screenshots|Screenshots]] * Documentation * [[:howtos|HowTo Guides]] * [[:appnotes|Application Notes]] * [[:faq:|FAQs]] * [[:doc|General Doc]] * [[:talks|Videos, Talks, and Papers]] * [[:hardwareissues|Hardware Issues]] * [[:mailinglists|Mailing lists]] * [[http://support.etherboot.org/|Bugtracker]] * [[:contributing|Contributing]] * [[:editing_permission|Wiki Edit Permission]] * [[:wiki:syntax|Wiki Syntax]] * [[:contact|Contact]] * [[:relatedlinks|Related Links]] * [[:commerciallinks|Commercial Links]] * [[:acknowledgements|Acknowledgements]] * [[:logos|Logo Art]]

QR Code
QR Code soc:2009:pravin:notes:start (generated for current page)