Skip to content

Commit 77cd8c7

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 b06e212 commit 77cd8c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ugrd/fs/resume.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cmdline_strings = [ "resume" ]
22

33
[imports.init_main]
4-
"ugrd.fs.resume" = [ "handle_resume" ]
4+
"ugrd.fs.resume" = [ "handle_resume", "init_lvm" ]
55

66
[import_order.before]
7-
handle_resume = "mount_fstab"
7+
handle_resume = ["mount_root", "mount_fstab", "btrfs_scan", "md_init"]

0 commit comments

Comments
 (0)