Excise excess logging verbosity when installing kernel modules.
[dracut.git] / HACKING
blob261376783ae1af24050343840ff163c1b7ef2d07
1 Right now, I'm doing most of my testing using a qemu/kvm guest and
2 generating the initramfs on another box but the support is all present
3 to build for the "running" machine.  For the former, you can boot the guest
4 using qemu's -kernel and -initrd options.  Currently supported rootfs
5 types are regular partitions, root-on-lvm and root-on-lvm-on-encrypted-pv.
7 dracut exists and will build an image.  It is command-line equivalent
8 to most mkinitrd implementations and should be pretty straight-forward
9 to use.  
11 To use, just run dracut with an output file name and, optionally, a
12 kernel version (it defaults to using the current).   The appropriate
13 modules will be copied over and things should be good to go.  If you'd
14 like to customize the list of modules copied in, edit /etc/dracut.conf
15 and set
16   dracutmodules="foo bar baz"
18 Note that dracut calls functional components in modules.d "modules" 
19 while kernel modules are called "drivers".
21 Requirements:
22 * udev