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 - if (path_is_mount_point("/boot", true) <= 0 &&
9 - dir_is_empty("/boot") <= 0) {
10 - log_debug("/boot already populated, exiting.");
11 + if (path_is_mount_point("/boot/efi", true) <= 0 &&
12 + dir_is_empty("/boot/efi") <= 0) {
13 + log_debug("/boot/efi already populated, exiting.");
21 - name = strjoina(arg_dest, "/boot.mount");
22 + name = strjoina(arg_dest, "/boot-efi.mount");
23 f = fopen(name, "wxe");
25 log_error_errno(errno, "Failed to create mount unit file %s: %m", name);
27 "Description=EFI System Partition\n"
28 "Documentation=man:systemd-efi-boot-generator(8)\n");
30 - r = generator_write_fsck_deps(f, arg_dest, what, "/boot", "vfat");
31 + r = generator_write_fsck_deps(f, arg_dest, what, "/boot/efi", "vfat");
42 "Options=umask=0077,noauto\n",
48 - name = strjoina(arg_dest, "/boot.automount");
49 + name = strjoina(arg_dest, "/boot-efi.automount");
51 f = fopen(name, "wxe");
55 "Description=EFI System Partition Automount\n\n"
57 - "Where=/boot\n", f);
58 + "Where=/boot/efi\n", f);
66 - name = strjoina(arg_dest, "/" SPECIAL_LOCAL_FS_TARGET ".wants/boot.automount");
67 + name = strjoina(arg_dest, "/" SPECIAL_LOCAL_FS_TARGET ".wants/boot-efi.automount");
68 mkdir_parents(name, 0755);
70 - if (symlink("../boot.automount", name) < 0) {
71 + if (symlink("../boot-efi.automount", name) < 0) {
72 log_error_errno(errno, "Failed to create symlink %s: %m", name);