Modprobe loop module before use in mkusbimg

Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
This commit is contained in:
Aaron Griffin 2008-11-14 10:49:16 -08:00
parent 0a8b401685
commit 70bc4b6863

View File

@ -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"