diff options
Diffstat (limited to 'libvasile')
-rwxr-xr-x | libvasile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -65,7 +65,7 @@ chrootstartx64 () { mount -t squashfs "$chrootx64" "$rodir" if [[ "$(uname -r | cut -d . -f1,2)" = "3.14" ]] ; then mount -t overlayfs -o lowerdir="$rodir",upperdir="$rwdir" overlayfs "$overlaydir" - elif [[ "(uname -r | cut -d . -f1,2)" = "4.1" ]] ; then + else mount -t overlay -o lowerdir="$rodir",upperdir="$rwdir",workdir="$workdir" overlay "$overlaydir" fi while : true ; do @@ -171,7 +171,7 @@ chrootstartx86 () { mount -t squashfs "$chrootx86" "$rodir" if [[ "$(uname -r | cut -d . -f1,2)" = "3.14" ]] ; then mount -t overlayfs -o lowerdir="$rodir",upperdir="$rwdir" overlayfs "$overlaydir" - elif [[ "(uname -r | cut -d . -f1,2)" = "4.1" ]] ; then + else mount -t overlay -o lowerdir="$rodir",upperdir="$rwdir",workdir="$workdir" overlay "$overlaydir" fi while : true ; do |