projects
/
live-boot-grml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add overlayfs support (Closes: #658265).
[live-boot-grml.git]
/
scripts
/
live
diff --git
a/scripts/live
b/scripts/live
index
8ffbc20
..
5af7ad8
100755
(executable)
--- a/
scripts/live
+++ b/
scripts/live
@@
-1208,7
+1208,7
@@
setup_unionfs ()
addimage_directory="${3}"
case ${UNIONTYPE} in
addimage_directory="${3}"
case ${UNIONTYPE} in
- aufs|unionfs)
+ aufs|unionfs
|overlayfs
)
modprobe -q -b ${UNIONTYPE}
if ! cut -f2 /proc/filesystems | grep -q "^${UNIONTYPE}\$" && [ -x /bin/unionfs-fuse ]
modprobe -q -b ${UNIONTYPE}
if ! cut -f2 /proc/filesystems | grep -q "^${UNIONTYPE}\$" && [ -x /bin/unionfs-fuse ]
@@
-1570,6
+1570,10
@@
setup_unionfs ()
mount_full $unionmountopts "${unionmountpoint}"
;;
mount_full $unionmountopts "${unionmountpoint}"
;;
+ overlayfs)
+ unionmountopts="-o noatime,${noxino_opt},lowerdir=${unionro},upperdir=${unionrw}"
+ mount -t ${UNIONTYPE} ${unionmountopts} ${UNIONTYPE} "${unionmountpoint}"
+ ;;
*)
if [ -n "${PERSISTENT_READONLY}" ]
*)
if [ -n "${PERSISTENT_READONLY}" ]