summaryrefslogtreecommitdiff
path: root/scripts/live
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-23 14:46:40 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:31:05 +0100
commit344fb6b7c015afe8f3878926d2fccba88c616aac (patch)
treec1d8ab890d3651ac9cd01cd19a247c85399d070e /scripts/live
parent686aa85654497ec05a768685cfeadf8634d12269 (diff)
downloadlive-boot-344fb6b7c015afe8f3878926d2fccba88c616aac.tar.gz
live-boot-344fb6b7c015afe8f3878926d2fccba88c616aac.zip
Adding live-initramfs 1.95.3-1.
Diffstat (limited to 'scripts/live')
-rwxr-xr-xscripts/live6
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/live b/scripts/live
index 97777bd..a73da84 100755
--- a/scripts/live
+++ b/scripts/live
@@ -635,8 +635,10 @@ setup_unionfs() {
# 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