diff options
author | V3n3RiX <venerix@rogentos.ro> | 2016-10-10 18:41:54 +0100 |
---|---|---|
committer | V3n3RiX <venerix@rogentos.ro> | 2016-10-10 18:41:54 +0100 |
commit | 5efcfd7f941b021b7638cd2870be5f88d5eca728 (patch) | |
tree | 654220134755fa589a09c94fc1789527fc04dfca | |
parent | 822ba778053b8ba94f0adb6a2a9b9282b53d1b49 (diff) |
drop support for kernel 3.14
-rwxr-xr-x | kvasile | 3 | ||||
-rwxr-xr-x | libkvasile | 6 |
2 files changed, 2 insertions, 7 deletions
@@ -44,10 +44,9 @@ case $1 in einfo "--usermode : switch INSTALLED Kogaion system state to usermode - use binary packages from repositories" einfo "--devmode : switch INSTALLED Kogaion system state to devmode (aka Gentoo mode) - use source packages from portage tree" einfo "--help : display this help and exit" - einfo "" ;; *) - eerror -e "error: no operation specified, use --help for help" + eerror "error: no operation specified, use --help for help" ;; esac @@ -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 |