chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
core: do not add default dependencies to /usr mount unit
[elogind.git]
/
src
/
core
/
mount.c
diff --git
a/src/core/mount.c
b/src/core/mount.c
index 102bbef91b83c1331c9d46db71f1136e27ef92e2..39a9aaf2a0bf35e0ff333c9d0116a7512db6002c 100644
(file)
--- 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)) {