projects
/
live-boot-grml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update changelog for 1:20210122 release
[live-boot-grml.git]
/
components
/
9990-overlay.sh
diff --git
a/components/9990-overlay.sh
b/components/9990-overlay.sh
index
61b1f26
..
8350502
100755
(executable)
--- a/
components/9990-overlay.sh
+++ b/
components/9990-overlay.sh
@@
-195,12
+195,15
@@
setup_unionfs ()
do
media="$(echo ${media} | tr ":" " ")"
do
media="$(echo ${media} | tr ":" " ")"
- case ${media} in
- ${custom_overlay_label}=*)
- device="${media#*=}"
- overlay_devices="${overlay_devices} ${device}"
- ;;
- esac
+ for overlay_label in ${custom_overlay_label}
+ do
+ case ${media} in
+ ${overlay_label}=*)
+ device="${media#*=}"
+ overlay_devices="${overlay_devices} ${device}"
+ ;;
+ esac
+ done
done
fi
elif [ -n "${NFS_COW}" ] && [ -z "${NOPERSISTENCE}" ]
done
fi
elif [ -n "${NFS_COW}" ] && [ -z "${NOPERSISTENCE}" ]
@@
-307,6
+310,12
@@
setup_unionfs ()
chmod 1777 "${rootmnt}"/tmp
fi
chmod 1777 "${rootmnt}"/tmp
fi
+ # Correct the permission of /var/tmp:
+ if [ -d "${rootmnt}/var/tmp" ]
+ then
+ chmod 1777 "${rootmnt}"/var/tmp
+ fi
+
# Adding custom persistence
if [ -n "${PERSISTENCE}" ] && [ -z "${NOPERSISTENCE}" ]
then
# Adding custom persistence
if [ -n "${PERSISTENCE}" ] && [ -z "${NOPERSISTENCE}" ]
then