[systemd-commits] 2 commits - src/hostname TODO

Kay Sievers kay at kemper.freedesktop.org
Mon Oct 29 12:56:14 PDT 2012


 TODO                       |    5 +++++
 src/hostname/hostnamectl.c |    2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

New commits:
commit f36d7992ef9588e24feaae5bb3d103ca63af71bd
Author: Kay Sievers <kay at vrfy.org>
Date:   Mon Oct 29 20:54:26 2012 +0100

    hostnamectl: do not choke on set-hostname with no argument
    
    https://bugzilla.redhat.com/show_bug.cgi?id=871172

diff --git a/src/hostname/hostnamectl.c b/src/hostname/hostnamectl.c
index 1d448bd..e7b2b49 100644
--- a/src/hostname/hostnamectl.c
+++ b/src/hostname/hostnamectl.c
@@ -430,7 +430,7 @@ static int hostnamectl_main(DBusConnection *bus, int argc, char *argv[], DBusErr
                 int (* const dispatch)(DBusConnection *bus, char **args, unsigned n);
         } verbs[] = {
                 { "status",              LESS,   1, show_status         },
-                { "set-hostname",        LESS,   2, set_hostname        },
+                { "set-hostname",        EQUAL,  2, set_hostname        },
                 { "set-icon-name",       EQUAL,  2, set_icon_name       },
         };
 

commit 6c1703cc35b3a5f93ad3cc813fea10cb9a636102
Author: Kay Sievers <kay at vrfy.org>
Date:   Mon Oct 29 20:54:19 2012 +0100

    update TODO

diff --git a/TODO b/TODO
index 270d534..d2e3ef3 100644
--- a/TODO
+++ b/TODO
@@ -18,6 +18,11 @@ F18:
 * Retest multi-seat
 
 Features:
+* hwdb:
+  - implement conditional properties (dmi matches)
+  - hwdb --filter=ID_DRIVE_*
+  - find out what to do for blockdevs and skipping scsi modaliases
+  - move writing code to src/libudev/libudev-hwdb-private.c
 
 * sd_journal_enumerate_data() implies XZ-decoding compressed field, this sucks hard
 



More information about the systemd-commits mailing list