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 live-initramfs 1.95.3-1.
[live-boot-grml.git]
/
scripts
/
live
diff --git
a/scripts/live
b/scripts/live
index
97777bd
..
a73da84
100755
(executable)
--- a/
scripts/live
+++ b/
scripts/live
@@
-635,8
+635,10
@@
setup_unionfs() {
# Let's just mount the read-only file systems first
rofsstring=""
rofslist=""
# Let's just mount the read-only file systems first
rofsstring=""
rofslist=""
- if [ "${NETBOOT}" = "nfs" ] ; then
- roopt="nfsro" # go aroung a bug in nfs-unionfs locking
+ minor_kernel_version=`uname -r|cut -c 5-|sed 's/[^0-9].*//'`
+ if [ "${NETBOOT}" = "nfs" ] && [ "${minor_kernel_version}" -lt 22 ]; then
+ # go aroung a bug in nfs-unionfs locking for unionfs <= 1.4
+ roopt="nfsro"
else
roopt="ro"
fi
else
roopt="ro"
fi