From 700f2a6af36e1fca82539f0907dc568acf954f1b Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Sat, 11 Jun 2022 00:30:32 +0200 Subject: [PATCH] [fstab] Warn when the mount options end up weird Cherry-picked from 3.3, but only half of it applies. --- src/modules/fstab/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/fstab/main.py b/src/modules/fstab/main.py index fc0649e2a..1fd1d695a 100755 --- a/src/modules/fstab/main.py +++ b/src/modules/fstab/main.py @@ -425,6 +425,7 @@ def run(): # We rely on mount_options having a default; if there wasn't one, # bail out with a meaningful error. if not mount_options: + libcalamares.utils.warning("No mount options defined, {!s} partitions".format(len(partitions))) return (_("Configuration Error"), _("No
{!s}
configuration is given for
{!s}
to use.") .format("mountOptions", "fstab"))