projects
/
platform
/
upstream
/
dracut.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee2321c
)
dmsquash-live: force load squashfs kernel module
author
Harald Hoyer
<harald@redhat.com>
Sat, 16 Mar 2013 09:31:37 +0000
(10:31 +0100)
committer
Harald Hoyer
<harald@redhat.com>
Sat, 16 Mar 2013 09:31:37 +0000
(10:31 +0100)
https://bugzilla.redhat.com/show_bug.cgi?id=922248
modules.d/90dmsquash-live/dmsquash-live-root.sh
patch
|
blob
|
history
diff --git
a/modules.d/90dmsquash-live/dmsquash-live-root.sh
b/modules.d/90dmsquash-live/dmsquash-live-root.sh
index
0b1ed20
..
a79b0d9
100755
(executable)
--- a/
modules.d/90dmsquash-live/dmsquash-live-root.sh
+++ b/
modules.d/90dmsquash-live/dmsquash-live-root.sh
@@
-49,9
+49,12
@@
ln -s $livedev /run/initramfs/livedev
# determine filesystem type for a filesystem image
det_img_fs() {
+ udevadm settle
blkid -s TYPE -u noraid -o value "$1"
}
+modprobe squashfs
+
for arg in $CMDLINE; do case $arg in ro|rw) liverw=$arg ;; esac; done
# mount the backing of the live image first
mkdir -m 0755 -p /run/initramfs/live