File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -64,12 +64,9 @@ def handle_early_resume(self) -> str:
6464@contains ("late_resume" )
6565def handle_late_resume (self ) -> None :
6666 self .logger .warning (
67- "[late_resume] enabled, this can result in data loss if filesystems are modified before resuming. Read the docs for more info."
67+ "[late_resume] enabled, this can result in data loss if filesystems are modified before resuming. Read the docs for more info."
6868 )
69- return handle_early_resume (
70- self
71- ) # At the moment it's the same code but delayed, will change when more features are added
72-
69+ return handle_early_resume (self ) # At the moment it's the same code but delayed, will change when more features are added
7370
7471@contains ("test_resume" )
7572def test_init_swap_uuid (self ):
Original file line number Diff line number Diff line change @@ -5,6 +5,9 @@ test_copy_config = [ "test_resume", "test_swap_uuid" ]
55[imports .build_pre ]
66"ugrd.fs.resume" = [ " test_init_swap_uuid" ]
77
8+ [imports .build_pre ]
9+ "ugrd.fs.resume" = [ " test_init_swap_uuid" ]
10+
811[imports .init_main ]
912"ugrd.fs.resume" = [ " handle_early_resume" , " handle_late_resume" ]
1013
@@ -22,3 +25,5 @@ late_resume = "bool"
2225test_resume = " bool"
2326test_swap_uuid = " str"
2427
28+ [import_order .before ]
29+ handle_resume = " mount_fstab"
You can’t perform that action at this time.
0 commit comments