Skip to content

Commit 8f3b095

Browse files
authored
expand resume_swapfile 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 8f3b095

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/ugrd/fs/resume.toml

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

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

0 commit comments

Comments
 (0)