summaryrefslogtreecommitdiff
path: root/archiso/mkusbimg
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2008-11-14 10:49:16 -0800
committerAaron Griffin <aaronmgriffin@gmail.com>2008-11-24 19:15:22 -0800
commit70bc4b6863610969e231e27cbd5a528db2baad1f (patch)
treecf39b41cb20f0eac596fbbba9921c7cb0a88d8e0 /archiso/mkusbimg
parent0a8b40168507e42c2327949f4b00b9206ad4b413 (diff)
downloadarchiso32-70bc4b6863610969e231e27cbd5a528db2baad1f.tar.xz
Modprobe loop module before use in mkusbimg
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'archiso/mkusbimg')
-rwxr-xr-xarchiso/mkusbimg1
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"