]> git.ipfire.org Git - thirdparty/dracut.git/commit
Add support for in-initramfs live images with "root=live:/path/name.img"
authorWill Woods <wwoods@redhat.com>
Tue, 8 Mar 2011 23:35:17 +0000 (18:35 -0500)
committerHarald Hoyer <harald@redhat.com>
Wed, 9 Mar 2011 11:10:22 +0000 (12:10 +0100)
commit0ddd68f7e6d80877885bd84201b349619ad6cbb2
tree7f212e7ad70e819694e7712dcb23c7dd670ae928
parent533318113b147ec81f71797b57a353eaf857243c
Add support for in-initramfs live images with "root=live:/path/name.img"

This allows creation of initramfs images which contain a Live system.
The primary use for this is keeping very large initramfs-based systems
(e.g. anaconda, the Fedora installer) compressed in-memory, by using a
compressed filesystem image like squashfs or btrfs.

dmsquash-live-genrules.sh will initqueue dmsquash-live-root itself
(rather than making udev rules) if the given live "device" is actually
an existing, plain file.

parse-dmsquash-live.sh will only accept paths that end in ".img".
dmsquash-live-root will only handle images named "*squashfs.img",
"*ext3fs.img", or "*btrfs.img".
modules.d/90dmsquash-live/dmsquash-live-genrules.sh
modules.d/90dmsquash-live/dmsquash-live-root
modules.d/90dmsquash-live/parse-dmsquash-live.sh