[systemd-commits] 3 commits - TODO src/core src/shared
Lennart Poettering
lennart at kemper.freedesktop.org
Thu Aug 14 09:53:45 PDT 2014
TODO | 2 --
src/core/mount.c | 3 ++-
src/shared/util.c | 2 +-
3 files changed, 3 insertions(+), 4 deletions(-)
New commits:
commit b24de9d21d30245b66d8d6b869c575b48ddb6068
Author: Jon Severinsson <jon at severinsson.net>
Date: Tue Jul 22 00:39:13 2014 +0200
core: do not add default dependencies to /usr mount unit
This makes no difference if /usr was mounted in the initrd,
and brings the behaviour of legacy systems closer to those
with a propper initrd.
diff --git a/src/core/mount.c b/src/core/mount.c
index 102bbef..39a9aaf 100644
--- a/src/core/mount.c
+++ b/src/core/mount.c
@@ -380,7 +380,8 @@ static int mount_add_default_dependencies(Mount *m) {
if (!p)
return 0;
- if (path_equal(m->where, "/"))
+ if (path_equal(m->where, "/") ||
+ path_equal(m->where, "/usr"))
return 0;
if (mount_is_network(p)) {
commit e830abd5ff4fe80d73c7c9455813fe1356d072f2
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Aug 14 17:16:37 2014 +0200
update TODO
diff --git a/TODO b/TODO
index 64a1b51..9e6fd99 100644
--- a/TODO
+++ b/TODO
@@ -45,8 +45,6 @@ Features:
networkd cares about an interface, but is still in progress..
- the DHCP lease data (such as NTP/DNS) is still made available when
a carrier is lost on a link. It should be removed instantly.
- - maybe have bool flag in .link units to enable promiscuous mode for interfaces
- http://lists.freedesktop.org/archives/systemd-devel/2014-July/021568.html
- .network setting that allows overriding of the hostname to send to the dhcp server
http://lists.freedesktop.org/archives/systemd-devel/2014-July/021550.html
- add per-network Domains= settings, with a special syntax Domains=*
commit 58d617429dcfb6fb1ea0f7b6cbce82266ccbb1aa
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Aug 14 17:15:09 2014 +0200
core: move status line ellipsation to 50% of the line
http://lists.freedesktop.org/archives/systemd-devel/2014-July/021591.html
diff --git a/src/shared/util.c b/src/shared/util.c
index 347fa12..3d16cd1 100644
--- a/src/shared/util.c
+++ b/src/shared/util.c
@@ -3056,7 +3056,7 @@ int status_vprintf(const char *status, bool ellipse, bool ephemeral, const char
if (emax < 3)
emax = 3;
- e = ellipsize(s, emax, 75);
+ e = ellipsize(s, emax, 50);
if (e) {
free(s);
s = e;
More information about the systemd-commits
mailing list