diff options
author | Simo Leone <simo@archlinux.org> | 2008-05-17 00:40:10 -0500 |
---|---|---|
committer | Simo Leone <simo@archlinux.org> | 2008-05-17 00:40:10 -0500 |
commit | e33c6874008ea3e1d06593f53e256685aaaa991c (patch) | |
tree | dde5a90d5acc260c5387873811af6c696c0e8715 /hooks/archiso | |
parent | 441d989243e8ca279bac256991ad244d56a756a4 (diff) | |
download | archiso32-e33c6874008ea3e1d06593f53e256685aaaa991c.tar.xz |
modprobe loop module
udev doesn't modprobe loop by itself so we have
to ask it nicely.
Signed-off-by: Simo Leone <simo@archlinux.org>
Diffstat (limited to 'hooks/archiso')
-rw-r--r-- | hooks/archiso | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hooks/archiso b/hooks/archiso index 5dad21a..2fcf93f 100644 --- a/hooks/archiso +++ b/hooks/archiso @@ -10,6 +10,7 @@ _mnt_bind() _mnt_squashfs() { msg "::: Adding new union branch: ${1}" + /bin/modprobe -q loop >/dev/null 2>&1 mkdir -p "/tmpfs/mnt/loop${LOOP_NUM}" if ! /bin/losetup "/dev/loop${LOOP_NUM}" ${1} > /dev/null 2>&1; then echo "ERROR: Cannot mount loop device /dev/loop${LOOP_NUM}" |