Dracut-modules-olpc: Difference between revisions

From OLPC
Jump to navigation Jump to search
(Created page with ''''dracut-modules-olpc''' is a collection of [http://fedoraproject.org/wiki/Dracut dracut] modules that implement parts of Bitfrost and the support for olpc-update's vers…')
 
No edit summary
Line 6: Line 6:
* git://dev.laptop.org/users/dsd/dracut-modules-olpc
* git://dev.laptop.org/users/dsd/dracut-modules-olpc
* http://dev.laptop.org/git/users/dsd/dracut-modules-olpc/
* http://dev.laptop.org/git/users/dsd/dracut-modules-olpc/

=== 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

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"

Now you can regenerate the initramfs as follows:
dracut --force --conf /etc/dracut-olpc-runrd.conf output.img $(uname -r)

Or for the activation initramfs:
dracut --force --conf /etc/dracut-olpc-actrd.conf output.img $(uname -r)

The output will be saved as <tt>output.img</tt>.

Revision as of 18:33, 22 February 2011

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:

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

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"

Now you can regenerate the initramfs as follows:

dracut --force --conf /etc/dracut-olpc-runrd.conf output.img $(uname -r)

Or for the activation initramfs:

dracut --force --conf /etc/dracut-olpc-actrd.conf output.img $(uname -r)

The output will be saved as output.img.