From 146bca840671420dba04e1160c568497923f470c Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Fri, 22 Jun 2018 16:29:44 +0200 Subject: [PATCH] Require the kernel to be >= 3.12 (#48) --- install_yunohost | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install_yunohost b/install_yunohost index 36928e5..7d60371 100755 --- a/install_yunohost +++ b/install_yunohost @@ -209,6 +209,9 @@ function check_assertions() # Assert systemd is installed command -v systemctl > /dev/null || die "YunoHost requires systemd to be installed." + # Check that kernel is >= 3.12, otherwise systemd won't work properly. Cf. https://github.com/systemd/systemd/issues/5236#issuecomment-277779394 + dpkg --compare-versions "$(uname -r)" "ge" "3.12" || die "YunoHost requires a kernel >= 3.12. Please consult your hardware documentation or VPS provider to learn how to upgrade your kernel." + # If we're on Raspbian, we want the user 'pi' to be logged out because # it's going to be deleted for security reasons... if is_raspbian ; then