]>
Commit | Line | Data |
---|---|---|
c75f826c AM |
1 | --- a/src/gpt-auto-generator/gpt-auto-generator.c~ 2016-11-03 18:16:42.000000000 +0100 |
2 | +++ b/src/gpt-auto-generator/gpt-auto-generator.c 2016-11-12 20:01:04.784509883 +0100 | |
3 | @@ -466,7 +466,7 @@ static int add_boot(const char *what) { | |
995ed764 | 4 | } |
b6da825e | 5 | |
c75f826c AM |
6 | /* If /efi exists we'll use that. Otherwise we'll use /boot, as that's usually the better choice */ |
7 | - esp = access("/efi/", F_OK) >= 0 ? "/efi" : "/boot"; | |
8 | + esp = access("/efi/", F_OK) >= 0 ? "/efi" : "/boot/efi"; | |
b6da825e | 9 | |
c75f826c AM |
10 | /* We create an .automount which is not overridden by the .mount from the fstab generator. */ |
11 | if (fstab_is_mount_point(esp)) { |