]> git.ipfire.org Git - thirdparty/dracut.git/blame_incremental - HACKING
Revert "github workflow"
[thirdparty/dracut.git] / HACKING
... / ...
CommitLineData
1Right now, most of the testing is done using a qemu/kvm guest and
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
4using qemu's -kernel and -initrd options.
5
6dracut exists and will build an image. It is command-line equivalent
7to most mkinitrd implementations and should be pretty straight-forward
8to use.
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
15 dracutmodules="foo bar baz"
16
17Note that dracut calls functional components in modules.d "modules"
18while kernel modules are called "drivers".
19
20Requirements:
21* udev
22* nfs module: nfs daemon and rpc helper
23* iscsi: iscsi