deploy: fsync() kernel/initramfs and bootloader config parent directories
Ensure they've hit disk.
This commit is contained in:
parent
646c8be8dc
commit
b423d9e9cf
|
|
@ -964,6 +964,12 @@ install_deployment_kernel (OstreeSysroot *sysroot,
|
||||||
cancellable, error))
|
cancellable, error))
|
||||||
goto out;
|
goto out;
|
||||||
|
|
||||||
|
/* Now sync out parent directories */
|
||||||
|
if (!ot_util_fsync_directory (bootcsumdir, cancellable, error))
|
||||||
|
goto out;
|
||||||
|
if (!ot_util_fsync_directory (bootconfpath_parent, cancellable, error))
|
||||||
|
goto out;
|
||||||
|
|
||||||
ret = TRUE;
|
ret = TRUE;
|
||||||
out:
|
out:
|
||||||
return ret;
|
return ret;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue