Dracut-modules-olpc

From OLPC
Revision as of 18:49, 22 November 2011 by 165.98.96.90 (talk)
Jump to navigation Jump to search

dracut-modules-olpc is a collection of dracut modules that implement parts of Bitfrost and the support for olpc-update's versioned filesystem layout.

Current maintainer: User:DanielDrake

Source:

Questions and contributions should be sent to the devel mailing list.

Rebuilding OLPC initramfs

This procedure can be followed either on your regular Fedora x86 system, or on the XO itself.

Install the package

# yum install dracut-modules-olpc

Now, as root, you can regenerate the initramfs as follows:

dracut --force --conf /etc/dracut-olpc-runrd.conf output.img

Or for the activation initramfs:

dracut --force --conf /etc/dracut-olpc-actrd.conf output.img

The output will be saved as output.img.

Special considerations for Fedora 14 and older

If working on your main system, configure dracut so that it does not include OLPC's modules in your "normal" initramfs next time you update your kernel. Modify /etc/dracut.conf and add:

omit_dracutmodules="olpc-boot olpc-common olpc-customization olpc-python olpc-activation olpc-busybox"

If you do not do this, your system may fail to boot next time you install or upgrade your kernel.