From 7c7af28a0d2c4ca7cc7c5e53bed9260233abb1c3 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Thu, 20 Feb 2020 21:17:33 +0100 Subject: [PATCH] [unpackfs] Make clear that the FS is unsupported by *this* kernel Patch from Gabriel Craciunescu. FS support is determined be the kernel, not by Calamares, so make that clearer in the message. --- src/modules/unpackfs/main.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/modules/unpackfs/main.py b/src/modules/unpackfs/main.py index a6ee3455d..262bc53f8 100644 --- a/src/modules/unpackfs/main.py +++ b/src/modules/unpackfs/main.py @@ -8,6 +8,8 @@ # Copyright 2014, Philip Müller # Copyright 2017, Alf Gaida # Copyright 2019, Kevin Kofler +# Copyright 2020, Adriaan de Groot +# Copyright 2020, Gabriel Craciunescu # # Calamares is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -385,9 +387,10 @@ def run(): sourcefs = entry["sourcefs"] if sourcefs not in supported_filesystems: - utils.warning("The filesystem for \"{}\" ({}) is not supported".format(source, sourcefs)) + utils.warning("The filesystem for \"{}\" ({}) is not supported by your current kernel".format(source, sourcefs)) + utils.warning(" ... modprobe {} may solve the problem".format(sourcefs)) return (_("Bad unsquash configuration"), - _("The filesystem for \"{}\" ({}) is not supported").format(source, sourcefs)) + _("The filesystem for \"{}\" ({}) is not supported by your current kernel").format(source, sourcefs)) if not os.path.exists(source): utils.warning("The source filesystem \"{}\" does not exist".format(source)) return (_("Bad unsquash configuration"),