]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
gpt-auto: fix ESP options and description 1203/head
authorMarius Thesing <marius.thesing@gmail.com>
Tue, 8 Sep 2015 19:25:05 +0000 (21:25 +0200)
committerMarius Thesing <marius.thesing@gmail.com>
Tue, 8 Sep 2015 19:30:34 +0000 (21:30 +0200)
Since 59512f21 the parameters were passed in the wrong order, causing the
options to be interpreted as the description.

Also, while "false" was supposed to be passed for "rw", the ESP should actually
be mounted read-write. It just happened to be "true" since the description char*
was passed for "rw".

src/gpt-auto-generator/gpt-auto-generator.c

index c97be2dabf49ea6475d762653909ecfb4e9247f9..bb821797f1c28aebfe1474927b2cedb058b69ef8 100644 (file)
@@ -526,9 +526,9 @@ static int add_boot(const char *what) {
                        what,
                        "/boot",
                        "vfat",
-                       "EFI System Partition Automount",
-                       false,
+                       true,
                        "umask=0077",
+                       "EFI System Partition Automount",
                        120 * USEC_PER_SEC);
 
         return r;