[systemd-commits] 2 commits - TODO src/efi-boot-generator

Lennart Poettering lennart at kemper.freedesktop.org
Sun Jan 20 16:28:19 PST 2013


 TODO                                        |    4 ++++
 src/efi-boot-generator/efi-boot-generator.c |   11 +++++++----
 2 files changed, 11 insertions(+), 4 deletions(-)

New commits:
commit 50326b1353fd8929dca12b2c4dfbbe3d13d5386b
Author: Lennart Poettering <lennart at poettering.net>
Date:   Mon Jan 21 01:28:13 2013 +0100

    update TODO

diff --git a/TODO b/TODO
index cf50ac6..cfcc3f1 100644
--- a/TODO
+++ b/TODO
@@ -20,6 +20,10 @@ Fedora 19:
 
 Features:
 
+* write man page for efi boot generator
+
+* document bootloader interface in wiki
+
 * link runlevel targets on install only if sysv compat is enabled
 
 * logind: when executing sleep/shutdown job, keep track of its id, and

commit 4beaf24f416e33840a974c18c34b56084d2b978a
Author: Lennart Poettering <lennart at poettering.net>
Date:   Mon Jan 21 01:27:32 2013 +0100

    efi: set a nice description string in the ESP units

diff --git a/src/efi-boot-generator/efi-boot-generator.c b/src/efi-boot-generator/efi-boot-generator.c
index c7bf34a..1319c71 100644
--- a/src/efi-boot-generator/efi-boot-generator.c
+++ b/src/efi-boot-generator/efi-boot-generator.c
@@ -77,6 +77,8 @@ int main(int argc, char *argv[]) {
 
         fprintf(f,
                 "# Automatially generated by systemd-efi-boot-generator\n\n"
+                "[Unit]\n"
+                "Description=EFI System Partition\n\n"
                 "[Mount]\n"
                 "Where=/boot\n"
                 "What=/dev/disk/by-partuuid/%02x%02x%02x%02x-%02x%02x-%02x%02x-%02x%02x-%02x%02x%02x%02x%02x%02x\n"
@@ -97,10 +99,11 @@ int main(int argc, char *argv[]) {
                 return EXIT_FAILURE;
         }
 
-        fprintf(f,
-                "# Automatially generated by systemd-efi-boot-generator\n\n"
-                "[Automount]\n"
-                "Where=/boot\n");
+        fputs("# Automatially generated by systemd-efi-boot-generator\n\n"
+              "[Unit]\n"
+              "Description=EFI System Partition Automount\n\n"
+              "[Automount]\n"
+              "Where=/boot\n", f);
 
         free(name);
         name = strjoin(arg_dest, "/local-fs.target.wants/boot.automount", NULL);



More information about the systemd-commits mailing list