Skip to content

Commit

Permalink
functions: Drop loop mount option for SquashFS and use first UnionFS …
Browse files Browse the repository at this point in the history
…found
  • Loading branch information
tokiclover committed Jun 7, 2015
1 parent 80750c6 commit 23fc2ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions usr/lib/mkinitramfs-ll/functions
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ squashd() {
(overlay|squashfs) { end 1 $_mod; return 1; };;
esac
case "$_mod" in
(aufs|overlay) _fs="$_mod";;
(aufs|overlay) _fs="$_mod"; break;;
esac
done
end "$?"
Expand All @@ -538,7 +538,7 @@ squashd() {

begin "Mounting $_fs:$_dir"
if ! grep -q $_DIR/rr /proc/mounts; then
mount -t squashfs -o nodev,loop,ro \
mount -t squashfs -o nodev,ro \
$_DIR.squashfs $_DIR/rr >${NULL} 2>&1 ||
{ end 1 SquashFS; continue; }
fi
Expand Down

0 comments on commit 23fc2ff

Please sign in to comment.