]> git.ipfire.org Git - thirdparty/dracut.git/commit
dmsquash-live: Support a flattened squashfs.img
authorFrederick Grose <fgrose@sugarlabs.org>
Mon, 20 Aug 2018 13:47:50 +0000 (09:47 -0400)
committerHarald Hoyer <harald@hoyer.xyz>
Tue, 21 Aug 2018 08:52:34 +0000 (10:52 +0200)
commit789668deb3e6f8584ffab964d2204ddcb75f0a06
tree728600bf538fd634523e9ba15fcdf18c8a9ee6ae
parente791d753bed41315cfbd8611e65cc8cd64ea2d15
dmsquash-live: Support a flattened squashfs.img

A simplified root filesystem structure may be provided for OverlayFS
overlays by squashing the root filesystem directly instead of squashing
an embedded image file at /LiveOS/rootfs.img.  Detect and configure
such a squashed root filesystem for live booting.

For OverlayFS boots, avoid the read-only Device-mapper linear device
  at /dev/mapper/live-base.
Create a consistent device link at /dev/live-base for the read-only
  base loop device for all overlayed live root filesystems.
Consistently provide a link at /dev/root for wait_for_dev.

Update documentation.
dracut.cmdline.7.asc
modules.d/90dmsquash-live/dmsquash-live-root.sh