From: Marius Thesing Date: Tue, 8 Sep 2015 19:25:05 +0000 (+0200) Subject: gpt-auto: fix ESP options and description X-Git-Tag: v227~169^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1203%2Fhead;p=thirdparty%2Fsystemd.git gpt-auto: fix ESP options and description 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". --- diff --git a/src/gpt-auto-generator/gpt-auto-generator.c b/src/gpt-auto-generator/gpt-auto-generator.c index c97be2dabf4..bb821797f1c 100644 --- a/src/gpt-auto-generator/gpt-auto-generator.c +++ b/src/gpt-auto-generator/gpt-auto-generator.c @@ -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;