]> git.ipfire.org Git - thirdparty/dracut.git/blame - HACKING
network-manager: remove useless use of basename
[thirdparty/dracut.git] / HACKING
CommitLineData
881d2b0b 1Right now, most of the testing is done using a qemu/kvm guest and
55ca5f4f
JK
2generating the initramfs on another box but the support is all present
3to build for the "running" machine. For the former, you can boot the guest
3b403b32 4using qemu's -kernel and -initrd options.
78ad9ceb 5
55ca5f4f
JK
6dracut exists and will build an image. It is command-line equivalent
7to most mkinitrd implementations and should be pretty straight-forward
3b403b32 8to use.
55ca5f4f
JK
9
10To use, just run dracut with an output file name and, optionally, a
11kernel version (it defaults to using the current). The appropriate
12modules will be copied over and things should be good to go. If you'd
13like to customize the list of modules copied in, edit /etc/dracut.conf
14and set
e19d6bf6 15 dracutmodules="foo bar baz"
78ad9ceb 16
3b403b32 17Note that dracut calls functional components in modules.d "modules"
e19d6bf6 18while kernel modules are called "drivers".
aec35295
JK
19
20Requirements:
21* udev
881d2b0b
HH
22* nfs module: nfs daemon and rpc helper
23* iscsi: iscsi