From Fedora Project Wiki

Line 11: Line 11:
Note that several related packages will be installed as well.  After the git source code management tool has been installed, then you use anonymous git access to the Dracut repository.
Note that several related packages will be installed as well.  After the git source code management tool has been installed, then you use anonymous git access to the Dracut repository.


  git clone http://dracut.git.sourceforge.net/git/dracut.git
  git clone http://dracut.git.sourceforge.net/git/dracut


If you have committer access to Dracut, then you will want to use the git+ssh access url.
If you have committer access to Dracut, then you will want to use the git+ssh access url.


  git clone git+ssh://dracut.git.sourceforge.net/git/dracut.git
  git clone git+ssh://dracut.git.sourceforge.net/git/dracut


  git clone http://dracut.git.sourceforge.net/git/dracut.git
  git clone http://dracut.git.sourceforge.net/git/dracut


Once you've committed changes locally, you can push them with
Once you've committed changes locally, you can push them with
Line 25: Line 25:
If you would just like to browse the Dracut git repository via the web, then please use one of the following two [http://dracut.git.sourceforge.net/git/gitweb.cgi?p=dracut Dracut git URLs] .
If you would just like to browse the Dracut git repository via the web, then please use one of the following two [http://dracut.git.sourceforge.net/git/gitweb.cgi?p=dracut Dracut git URLs] .


http://dracut.git.sourceforge.net/git/dracut.git
http://dracut.git.sourceforge.net/git/dracut
 
http://dracut.git.sourceforge.net/git/gitweb.cgi?p=dracut
http://dracut.git.sourceforge.net/git/gitweb.cgi?p=dracut
http://dracut.git.sourceforge.net/git/gitweb.cgi?p=dracut;a=summary


== Debugging ==
== Debugging ==

Revision as of 12:17, 2 July 2009

Reporting Problems

Before filing a bug, please read up on BugReporting, which will tell you how to fill out useful bug reports that will help us quickly solve your problem. Also try searching bugzilla for other reports about your problem, as some bugs are often filed by several people.

Getting the Source

The primary methods of distributing the Dracut source are source RPMs in the Fedora development tree and git. To access the current source code in in non-rpm format, you'll need to install git.

yum install git

Note that several related packages will be installed as well. After the git source code management tool has been installed, then you use anonymous git access to the Dracut repository.

git clone http://dracut.git.sourceforge.net/git/dracut

If you have committer access to Dracut, then you will want to use the git+ssh access url.

git clone git+ssh://dracut.git.sourceforge.net/git/dracut
git clone http://dracut.git.sourceforge.net/git/dracut

Once you've committed changes locally, you can push them with

git push

If you would just like to browse the Dracut git repository via the web, then please use one of the following two Dracut git URLs .

http://dracut.git.sourceforge.net/git/dracut http://dracut.git.sourceforge.net/git/gitweb.cgi?p=dracut http://dracut.git.sourceforge.net/git/gitweb.cgi?p=dracut;a=summary

Debugging

Template:Admon/not

rdinitdebug
set -x for the dracut shell
rdbreak=[pre-udev|pre-mount|mount|pre-pivot|]
drop the shell on defined breakpoint
rdudevinfo
set udev to loglevel info
dudevdebug
set udev to loglevel debug
rdnetdebug
debug network scripts in dracut