Commit 219b43a0 authored by Gerardo Exequiel Pozzi's avatar Gerardo Exequiel Pozzi
Browse files

[archiso] Load module loop in run_hook()



Otherwise archiso_loop_mnt will fail.

Signed-off-by: default avatarGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
parent 23e1cd01
# 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%"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment