Skip to content

Commit

Permalink
Modprobe filesystem modules before checking support.
Browse files Browse the repository at this point in the history
This bug was accidentially introduced in commit ec9bd07 which removed
unionfs-fuse support.
  • Loading branch information
gaudenz authored and daniel-baumann committed Apr 2, 2015
1 parent 73d837a commit db25153
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/9990-overlay.sh
Expand Up @@ -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
Expand Down

0 comments on commit db25153

Please sign in to comment.