From: Antoine Jacoutot Date: Sat, 16 Aug 2014 16:41:46 +0000 (+0200) Subject: Add XXX and mention /etc/os-release for our_get_os_cpename(). X-Git-Tag: gsoc-final~4 X-Git-Url: https://uglyman.kremlin.cc/gitweb/gitweb.cgi?a=commitdiff_plain;h=3808ecc5e6861963d7474c284e48f26cfeeec9cb;p=systembsd.git Add XXX and mention /etc/os-release for our_get_os_cpename(). --- diff --git a/src/interfaces/hostnamed/hostnamed.c b/src/interfaces/hostnamed/hostnamed.c index 9bc1f9e..3dae12c 100644 --- a/src/interfaces/hostnamed/hostnamed.c +++ b/src/interfaces/hostnamed/hostnamed.c @@ -628,7 +628,8 @@ our_get_kernel_release() { const gchar * our_get_os_cpename() { - return "ONEDAY"; + /* XXX needs to parse /etc/os-release (fallback to /usr/local/lib/os-release) */ + return ""; } const gchar *