mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-10-26 08:55:18 +03:00
core/mount: fix default target for /sysusr/usr and its child
Follow-up for29a24ab28e
. (cherry picked from commitdbfc096095
) (cherry picked from commita3177cbe54
) (cherry picked from commit6e8d76f776
) (cherry picked from commit4647e86922
)
This commit is contained in:
parent
74d5f34b0a
commit
4cba8e33f8
@ -473,6 +473,10 @@ static int mount_add_default_ordering_dependencies(
|
||||
after = NULL;
|
||||
before = isempty(e) ? SPECIAL_INITRD_ROOT_FS_TARGET : SPECIAL_INITRD_FS_TARGET;
|
||||
|
||||
} else if (in_initrd() && path_startswith(m->where, "/sysusr/usr")) {
|
||||
after = NULL;
|
||||
before = SPECIAL_INITRD_USR_FS_TARGET;
|
||||
|
||||
} else if (mount_is_network(p)) {
|
||||
after = SPECIAL_REMOTE_FS_PRE_TARGET;
|
||||
before = SPECIAL_REMOTE_FS_TARGET;
|
||||
|
Loading…
Reference in New Issue
Block a user