Skip to content

Commit

Permalink
core/mount: fix default target for /sysusr/usr and its child
Browse files Browse the repository at this point in the history
Follow-up for 29a24ab.

(cherry picked from commit dbfc096)
(cherry picked from commit a3177cb)
(cherry picked from commit 6e8d76f)
  • Loading branch information
yuwata authored and keszybz committed Mar 3, 2023
1 parent 5f6a369 commit 4647e86
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/core/mount.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 4647e86

Please sign in to comment.