diff options
author | Aaron Griffin <aaronmgriffin@gmail.com> | 2008-11-14 10:49:16 -0800 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2008-11-24 19:15:22 -0800 |
commit | 70bc4b6863610969e231e27cbd5a528db2baad1f (patch) | |
tree | cf39b41cb20f0eac596fbbba9921c7cb0a88d8e0 | |
parent | 0a8b40168507e42c2327949f4b00b9206ad4b413 (diff) | |
download | archiso32-70bc4b6863610969e231e27cbd5a528db2baad1f.tar.xz |
Modprobe loop module before use in mkusbimg
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
-rwxr-xr-x | archiso/mkusbimg | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/archiso/mkusbimg b/archiso/mkusbimg index 727bb80..5062a67 100755 --- a/archiso/mkusbimg +++ b/archiso/mkusbimg @@ -48,6 +48,7 @@ dd if=/dev/zero of="$FSIMG" bs=512 count="$IMGSZ" mke2fs -m 0 -F "$FSIMG" # mount the filesystem and copy data +modprobe loop mount -o loop "$FSIMG" "$TMPDIR" cp -a "$IMGROOT"/* "$TMPDIR" |