summaryrefslogtreecommitdiff
path: root/libkvasile
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2016-10-10 18:41:54 +0100
committerV3n3RiX <venerix@rogentos.ro>2016-10-10 18:41:54 +0100
commit5efcfd7f941b021b7638cd2870be5f88d5eca728 (patch)
tree654220134755fa589a09c94fc1789527fc04dfca /libkvasile
parent822ba778053b8ba94f0adb6a2a9b9282b53d1b49 (diff)
drop support for kernel 3.14
Diffstat (limited to 'libkvasile')
-rwxr-xr-xlibkvasile6
1 files changed, 1 insertions, 5 deletions
diff --git a/libkvasile b/libkvasile
index 63ffbd9..b2880d8 100755
--- a/libkvasile
+++ b/libkvasile
@@ -117,11 +117,7 @@ chrootstop () {
chrootstart () {
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"
- else # kernel version equal or above 3.18
- mount -t overlay -o lowerdir="$rodir",upperdir="$rwdir",workdir="$workdir" overlay "$overlaydir"
- fi
+ mount -t overlay -o lowerdir="$rodir",upperdir="$rwdir",workdir="$workdir" overlay "$overlaydir"
mount -o bind packages "$overlaydir"/usr/portage/packages
mount -o bind distfiles "$overlaydir"/usr/portage/distfiles
mount -t proc proc "$overlaydir"/proc