deploy: Ensure sysroot is initialized for kargs in place

Even without a mount namespace set up.
This commit is contained in:
Colin Walters 2022-07-13 15:32:05 -04:00
parent 8f24e0826a
commit 2c71655205

View File

@ -3606,6 +3606,10 @@ ostree_sysroot_deployment_set_kargs_in_place (OstreeSysroot *self,
GCancellable *cancellable,
GError **error)
{
if (!ostree_sysroot_initialize (self, error))
return FALSE;
if (!_ostree_sysroot_ensure_boot_fd (self, error))
return FALSE;
if (!_ostree_sysroot_ensure_writable (self, error))
return FALSE;