Merge pull request #2760 from cgwalters/offline-deploy-no-bwrap
deploy: Don't rebuild selinux policy on first deployment
This commit is contained in:
commit
8cb50c16a0
|
|
@ -2987,12 +2987,12 @@ sysroot_finalize_deployment (OstreeSysroot *self,
|
||||||
if (!merge_configuration_from (self, merge_deployment, deployment, deployment_dfd,
|
if (!merge_configuration_from (self, merge_deployment, deployment, deployment_dfd,
|
||||||
cancellable, error))
|
cancellable, error))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
|
||||||
|
|
||||||
#ifdef HAVE_SELINUX
|
#ifdef HAVE_SELINUX
|
||||||
if (!sysroot_finalize_selinux_policy (deployment_dfd, error))
|
if (!sysroot_finalize_selinux_policy (deployment_dfd, error))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
#endif /* HAVE_SELINUX */
|
#endif /* HAVE_SELINUX */
|
||||||
|
}
|
||||||
|
|
||||||
const char *osdeploypath = glnx_strjoina ("ostree/deploy/", ostree_deployment_get_osname (deployment));
|
const char *osdeploypath = glnx_strjoina ("ostree/deploy/", ostree_deployment_get_osname (deployment));
|
||||||
glnx_autofd int os_deploy_dfd = -1;
|
glnx_autofd int os_deploy_dfd = -1;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue