1 diff -dur -x '*~' -x '*.orig' -x '*.rej' systemd-218.orig/src/efi-boot-generator/efi-boot-generator.c systemd-218/src/efi-boot-generator/efi-boot-generator.c
2 --- systemd-218.orig/src/efi-boot-generator/efi-boot-generator.c 2014-12-05 01:26:51.000000000 +0100
3 +++ systemd-218/src/efi-boot-generator/efi-boot-generator.c 2015-04-02 15:45:18.000000000 +0200
8 - r = path_is_mount_point("/boot", AT_SYMLINK_FOLLOW);
9 + r = path_is_mount_point("/boot/efi", AT_SYMLINK_FOLLOW);
11 - log_debug("/boot is already a mount point, exiting.");
12 + log_debug("/boot/efi is already a mount point, exiting.");
16 - log_debug("/boot does not exist, continuing.");
17 - else if (dir_is_empty("/boot") <= 0) {
18 - log_debug("/boot already populated, exiting.");
19 + log_debug("/boot/efi does not exist, continuing.");
20 + else if (dir_is_empty("/boot/efi") <= 0) {
21 + log_debug("/boot/efi already populated, exiting.");
29 - name = strjoina(arg_dest, "/boot.mount");
30 + name = strjoina(arg_dest, "/boot-efi.mount");
31 f = fopen(name, "wxe");
33 log_error_errno(errno, "Failed to create mount unit file %s: %m", name);
35 "Description=EFI System Partition\n"
36 "Documentation=man:systemd-efi-boot-generator(8)\n");
38 - r = generator_write_fsck_deps(f, arg_dest, what, "/boot", "vfat");
39 + r = generator_write_fsck_deps(f, arg_dest, what, "/boot/efi", "vfat");
50 "Options=umask=0077,noauto\n",
56 - name = strjoina(arg_dest, "/boot.automount");
57 + name = strjoina(arg_dest, "/boot-efi.automount");
59 f = fopen(name, "wxe");
63 "Description=EFI System Partition Automount\n\n"
67 "TimeoutIdleSec=120\n", f);
74 - name = strjoina(arg_dest, "/" SPECIAL_LOCAL_FS_TARGET ".wants/boot.automount");
75 + name = strjoina(arg_dest, "/" SPECIAL_LOCAL_FS_TARGET ".wants/boot-efi.automount");
76 mkdir_parents(name, 0755);
78 - if (symlink("../boot.automount", name) < 0) {
79 + if (symlink("../boot-efi.automount", name) < 0) {
80 log_error_errno(errno, "Failed to create symlink %s: %m", name);