diff options
author | Jeremy Katz <katzj@redhat.com> | 2009-01-05 13:24:46 -0500 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2009-01-05 13:28:20 -0500 |
commit | 55ca5f4f14885c72b63d884a633f36cf6ef72d40 (patch) | |
tree | c13245058d20d941dd69d394b297bcbd640fa748 /HACKING | |
parent | 654568b39e6ce714f4685c654e218ab7013a8d5f (diff) |
Update the documentation a bit for current status
Diffstat (limited to 'HACKING')
-rw-r--r-- | HACKING | 22 |
1 files changed, 12 insertions, 10 deletions
@@ -1,18 +1,20 @@ Right now, I'm doing most of my testing using a qemu/kvm guest and -generating the initramfs on another box. I then can boot the guest +generating the initramfs on another box but the support is all present +to build for the "running" machine. For the former, you can boot the guest using qemu's -kernel and -initrd options. Currently supported rootfs types are regular partitions, root-on-lvm and root-on-lvm-on-encrypted-pv. -generate.sh exists and will build an image. Right now, it depends on -some existing pieces of the Fedora initrd infrastructure, but moving -those out is a priority now that the basic functionality has been -proven. +dracut exists and will build an image. It is command-line equivalent +to most mkinitrd implementations and should be pretty straight-forward +to use. + +To use, just run dracut with an output file name and, optionally, a +kernel version (it defaults to using the current). The appropriate +modules will be copied over and things should be good to go. If you'd +like to customize the list of modules copied in, edit /etc/dracut.conf +and set + modules="foo bar baz" -To use, just run generate.sh with an output file for the initrd. It -will copy over some binaries as well as the appropriate shared library -dependencies. If you are doing a rootfs type that requires modules -(on Fedora, this is just encrypted root now), you'll want to have the -modules tree to copy in in a modules/ sub directory. Requirements: * udev |