dmsquash-live: force load squashfs kernel module
https://bugzilla.redhat.com/show_bug.cgi?id=922248master
parent
ee2321c91e
commit
85804a9197
|
@ -49,9 +49,12 @@ ln -s $livedev /run/initramfs/livedev
|
||||||
|
|
||||||
# determine filesystem type for a filesystem image
|
# determine filesystem type for a filesystem image
|
||||||
det_img_fs() {
|
det_img_fs() {
|
||||||
|
udevadm settle
|
||||||
blkid -s TYPE -u noraid -o value "$1"
|
blkid -s TYPE -u noraid -o value "$1"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
modprobe squashfs
|
||||||
|
|
||||||
for arg in $CMDLINE; do case $arg in ro|rw) liverw=$arg ;; esac; done
|
for arg in $CMDLINE; do case $arg in ro|rw) liverw=$arg ;; esac; done
|
||||||
# mount the backing of the live image first
|
# mount the backing of the live image first
|
||||||
mkdir -m 0755 -p /run/initramfs/live
|
mkdir -m 0755 -p /run/initramfs/live
|
||||||
|
|
Loading…
Reference in New Issue