File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ use bootc_utils::CommandRunExt;
77use fn_error_context:: context;
88use openat_ext:: OpenatDirExt ;
99
10+ use crate :: freezethaw:: fsfreeze_thaw_cycle;
11+
1012/// The subdirectory of /boot we use
1113const GRUB2DIR : & str = "grub2" ;
1214const CONFIGDIR : & str = "/usr/lib/bootupd/grub2-static" ;
@@ -85,6 +87,8 @@ pub(crate) fn install(
8587 None
8688 } ;
8789
90+ fsfreeze_thaw_cycle ( grub2dir. open_file ( "." ) ?) ?;
91+
8892 if let Some ( vendordir) = installed_efi_vendor {
8993 log:: debug!( "vendordir={:?}" , & vendordir) ;
9094 let vendor = PathBuf :: from ( vendordir) ;
@@ -104,6 +108,7 @@ pub(crate) fn install(
104108 . context ( "Writing bootuuid.cfg to efi dir" ) ?;
105109 println ! ( "Installed: {target:?}" ) ;
106110 }
111+ fsfreeze_thaw_cycle ( efidir. open_file ( "." ) ?) ?;
107112 }
108113 }
109114
You can’t perform that action at this time.
0 commit comments