]> git.ipfire.org Git - thirdparty/dracut.git/commit
dmsquash-live: add /dev/mapper/live-base
authorBrian C. Lane <bcl@redhat.com>
Tue, 8 Oct 2013 13:13:44 +0000 (15:13 +0200)
committerHarald Hoyer <harald@redhat.com>
Tue, 8 Oct 2013 13:13:44 +0000 (15:13 +0200)
commit3622d6d7b0806023d60f62fc90b859adaefe5e59
tree26e49f56b17df37c7e8f485966968e626b76e7ae
parentb6c8976811caec5cc352bb8f27cc6f53202ee9be
dmsquash-live: add /dev/mapper/live-base

This is similar to the reason for adding the
/run/initramfs/live-baseloop symlink -- access to the original live
image without overlays.

livemedia-creator does not create a osmin.img, so there is no mountable
device for it to use when rsyncing the live image to the target. It
needs a device that points to the original live image without overlays.

Note that lmc won't be creating osmin.img, since really isn't needed any
longer. Its purpose was to provide a minimal image that could be dd'd to
the target. Now that we use rsync this is no longer necessary.

The included patch adds a /dev/mapper/live-base device that Anaconda can
use whether or not there is an osmin present.
modules.d/90dmsquash-live/dmsquash-live-root.sh