projects
/
live-boot-grml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adding upstream version 3.0~b1.
[live-boot-grml.git]
/
scripts
/
boot
/
9990-overlay.sh
diff --git
a/scripts/boot/9990-overlay.sh
b/scripts/boot/9990-overlay.sh
index
cb12c4b
..
597ff50
100755
(executable)
--- a/
scripts/boot/9990-overlay.sh
+++ b/
scripts/boot/9990-overlay.sh
@@
-155,9
+155,8
@@
setup_unionfs ()
# tmpfs file systems
touch /etc/fstab
# tmpfs file systems
touch /etc/fstab
- mkdir -p /live
- mount -t tmpfs tmpfs /live
mkdir -p /live/overlay
mkdir -p /live/overlay
+ mount -t tmpfs tmpfs /live/overlay
# Looking for persistence devices or files
if [ -n "${PERSISTENCE}" ] && [ -z "${NOPERSISTENCE}" ]
# Looking for persistence devices or files
if [ -n "${PERSISTENCE}" ] && [ -z "${NOPERSISTENCE}" ]
@@
-344,6
+343,12
@@
setup_unionfs ()
# Correct the permissions of /:
chmod 0755 "${rootmnt}"
# Correct the permissions of /:
chmod 0755 "${rootmnt}"
+ # Correct the permission of /tmp:
+ if [ -d "${rootmnt}/tmp" ]
+ then
+ chmod 1777 "${rootmnt}"/tmp
+ fi
+
live_rofs_list=""
# SHOWMOUNTS is necessary for custom mounts with the union option
# Since we may want to do custom mounts in user-space it's best to always enable SHOWMOUNTS
live_rofs_list=""
# SHOWMOUNTS is necessary for custom mounts with the union option
# Since we may want to do custom mounts in user-space it's best to always enable SHOWMOUNTS