Modprobe loop module before use in mkusbimg
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
This commit is contained in:
parent
0a8b401685
commit
70bc4b6863
@ -48,6 +48,7 @@ dd if=/dev/zero of="$FSIMG" bs=512 count="$IMGSZ"
|
|||||||
mke2fs -m 0 -F "$FSIMG"
|
mke2fs -m 0 -F "$FSIMG"
|
||||||
|
|
||||||
# mount the filesystem and copy data
|
# mount the filesystem and copy data
|
||||||
|
modprobe loop
|
||||||
mount -o loop "$FSIMG" "$TMPDIR"
|
mount -o loop "$FSIMG" "$TMPDIR"
|
||||||
cp -a "$IMGROOT"/* "$TMPDIR"
|
cp -a "$IMGROOT"/* "$TMPDIR"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user