diff options
| author | Daniel Baumann <daniel@debian.org> | 2007-09-23 14:46:40 +0200 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 17:31:05 +0100 |
| commit | 344fb6b7c015afe8f3878926d2fccba88c616aac (patch) | |
| tree | c1d8ab890d3651ac9cd01cd19a247c85399d070e /scripts/live | |
| parent | 686aa85654497ec05a768685cfeadf8634d12269 (diff) | |
| download | live-boot-344fb6b7c015afe8f3878926d2fccba88c616aac.tar.gz live-boot-344fb6b7c015afe8f3878926d2fccba88c616aac.zip | |
Adding live-initramfs 1.95.3-1.
Diffstat (limited to 'scripts/live')
| -rwxr-xr-x | scripts/live | 6 |
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 |
