From 959a643658c0c7516f451ce50fa62540a515d392 Mon Sep 17 00:00:00 2001 From: Simo Leone Date: Sat, 17 May 2008 00:40:10 -0500 Subject: modprobe loop module udev doesn't modprobe loop by itself so we have to ask it nicely. Signed-off-by: Simo Leone --- hooks/archiso | 1 + 1 file changed, 1 insertion(+) (limited to 'hooks/archiso') 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}" -- cgit v1.2.3-70-g09d2