lorax/share
Will Woods d0960bba14 Add 'squashfs' compression type
This adds the 'squashfs' compression type, which builds runtime images
that stay compressed in RAM. It accomplishes this by building the images
almost exactly like the Live images are built:

1) Create an empty ext4 filesystem on a large sparse file
2) Copy the runtime files into the ext4 filesystem
3) Place the ext4 image at "LiveOS/rootfs.img"
4) Create a squashfs.img which contains LiveOS/rootfs.img

To make this bootable, we need dracut's startup scripts. So before
creating the runtime image, we make a dracut initramfs.img by chrooting
into the runtime and running dracut.

Finally, we add squashfs.img to initramfs.img, along with an extra file
(/etc/cmdline) which directs dracut to use /squashfs.img as its root
device. And there we go! Easy, right?!
2011-06-15 17:37:57 -04:00
..
config_files Disable rsyslogd rate limiting on imuxsock. 2011-04-27 15:03:10 +02:00
ramdisk.ltmpl Add 'squashfs' compression type 2011-06-15 17:37:57 -04:00