]> git.ipfire.org Git - thirdparty/dracut.git/commit
add apply-live-updates.sh to pre-pivot hook 012
authorWill Woods <wwoods@redhat.com>
Mon, 1 Aug 2011 20:21:09 +0000 (16:21 -0400)
committerHarald Hoyer <harald@redhat.com>
Fri, 12 Aug 2011 06:03:55 +0000 (08:03 +0200)
commitf116ca115c9684ce8586edf692ffd88a436682df
tree42fa0d79df5b24b4270817abb14b004b22711a6b
parenta12db35efa6a9e8d718188dff48fb3e5db163290
add apply-live-updates.sh to pre-pivot hook

If we're about to start a Live image (i.e. if /dev/mapper/live-rw
exists) this script will take any files found in /updates (inside the
initramfs!) and and copy them into $NEWROOT.

This allows for hotfixes to be applied to existing Live images without
rebuilding the entire image.

Signed-off-by: Will Woods <wwoods@redhat.com>
modules.d/90dmsquash-live/apply-live-updates.sh [new file with mode: 0755]
modules.d/90dmsquash-live/module-setup.sh