Commit db25153a authored by Gaudenz Steinlin's avatar Gaudenz Steinlin Committed by Daniel Baumann

Modprobe filesystem modules before checking support.

This bug was accidentially introduced in commit ec9bd07c which removed
unionfs-fuse support.
parent 73d837ab
......@@ -8,13 +8,13 @@ setup_unionfs ()
rootmnt="${2}"
addimage_directory="${3}"
modprobe -q -b ${UNIONTYPE}
if ! cut -f2 /proc/filesystems | grep -q "^${UNIONTYPE}\$"
then
panic "${UNIONTYPE} not available."
fi
modprobe -q -b ${UNIONTYPE}
# run-init can't deal with images in a subdir, but we're going to
# move all of these away before it runs anyway. No, we're not,
# put them in / since move-mounting them into / breaks mono and
......
Markdown is supported
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