summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hooks/archiso1
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}"