Skip to content

Commit e649687

Browse files
authored
expand resume with befores and afters
add a bunch of filesystems to before, since resume doesn't need (and shouldn't be done with) mounted filesystems. Add lvm to after, since resume might point to a partition inside a volume
1 parent d5a0ef3 commit e649687

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/ugrd/fs/resume.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ cmdline_strings = [ "resume" ]
33
[imports.init_main]
44
"ugrd.fs.resume" = [ "handle_resume" ]
55

6-
[import_order.before]
7-
handle_resume = "mount_fstab"
8-
96
[import_order.after]
10-
handle_resume = "crypt_init"
7+
handle_resume = [ "crypt_init", "init_lvm" ]
8+
9+
[import_order.before]
10+
handle_resume = [ "mount_root", "mount_fstab", "btrfs_scan", "md_init" ]

0 commit comments

Comments
 (0)