summaryrefslogtreecommitdiff
path: root/archiso
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2011-08-26 20:12:17 -0300
committerGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2011-08-26 20:12:22 -0300
commit219b43a0bf8ef65c4edc1516f1a408ae8fa3607c (patch)
treedbb1526356b5d482dd57722e18a03e491ad9bcb3 /archiso
parent23e1cd01cd28611b48f386e445639b262bdd36cb (diff)
downloadarchiso32-219b43a0bf8ef65c4edc1516f1a408ae8fa3607c.tar.xz
[archiso] Load module loop in run_hook()
Otherwise archiso_loop_mnt will fail. Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
Diffstat (limited to 'archiso')
-rw-r--r--archiso/hooks/archiso3
1 files changed, 2 insertions, 1 deletions
diff --git a/archiso/hooks/archiso b/archiso/hooks/archiso
index c973ffc..2b55a00 100644
--- a/archiso/hooks/archiso
+++ b/archiso/hooks/archiso
@@ -1,7 +1,6 @@
# Initialize loopback device logic (we using on-demand mode)
# args: none
_init_loop_dev() {
- modprobe loop
loop_dev_count=99
loop_dev_range=$(cat /sys/block/loop0/range)
loop_dev_minor=$((loop_dev_count*loop_dev_range))
@@ -88,6 +87,8 @@ _verify_checksum() {
run_hook() {
+ modprobe loop
+
[[ -z "${arch}" ]] && arch="$(uname -m)"
[[ -z "${cowspace_size}" ]] && cowspace_size="75%"
[[ -z "${copytoram_size}" ]] && copytoram_size="75%"