Skip to content

Commit

Permalink
Cleaning up comment to keep only the part that's relevant here.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tails developers authored and daniel-baumann committed Apr 28, 2015
1 parent 289f0d9 commit 7a9c737
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions components/9990-misc-helpers.sh
Expand Up @@ -1318,12 +1318,10 @@ do_union ()
panic "overlay needs at least one lower filesystem (read-only branch)."
fi
unionmountopts="-o noatime,lowerdir=${unionro},upperdir=${unionrw}"
# Ref: kiwi from OpenSuse kiwi-7.02.18-1.1
# overlayfs in version >= v22 behaves differently
# + renamed from overlayfs to overlay
# + requires a workdir to become mounted
# + requires workdir and upperdir to reside under the same mount
# + requires workdir and upperdir to be in separate subdirs
# overlayfs requires:
# + a workdir to become mounted
# + workdir and upperdir to reside under the same mount
# + workdir and upperdir to be in separate directories
mkdir ${unionrw}/rw
mkdir ${unionrw}/work
unionmountopts="-o noatime,lowerdir=${unionro},upperdir=${unionrw}/rw,workdir=${unionrw}/work"
Expand Down

0 comments on commit 7a9c737

Please sign in to comment.