Skip to content

Commit c27b67d

Browse files
committed
improve early/late resume ordering
Signed-off-by: Zen <[email protected]>
1 parent 716dda2 commit c27b67d

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/ugrd/fs/resume.toml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,13 @@ test_copy_config = [ "test_resume", "test_swap_uuid" ]
66
"ugrd.fs.resume" = [ "test_init_swap_uuid" ]
77

88
[imports.init_main]
9-
"ugrd.fs.resume" = [ "handle_early_resume" ]
9+
"ugrd.fs.resume" = [ "handle_early_resume", "handle_late_resume"]
1010

11-
[imports.init_premount]
12-
"ugrd.fs.resume" = [ "handle_late_resume"]
11+
[import_order.before]
12+
handle_early_resume = "mount_fstab"
13+
14+
[import_order.after]
15+
handle_late_resume = ["crypt_init", "init_lvm"]
1316

1417
[imports.functions]
1518
"ugrd.fs.resume" = ["resume"]
@@ -19,5 +22,3 @@ late_resume = "bool"
1922
test_resume = "bool"
2023
test_swap_uuid = "str"
2124

22-
[import_order.before]
23-
handle_resume = "mount_fstab"

0 commit comments

Comments
 (0)