Merge pull request #2760 from cgwalters/offline-deploy-no-bwrap

deploy: Don't rebuild selinux policy on first deployment
This commit is contained in:
Luca Bruno 2022-11-11 10:16:17 +00:00 committed by GitHub
commit 8cb50c16a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2987,12 +2987,12 @@ sysroot_finalize_deployment (OstreeSysroot *self,
if (!merge_configuration_from (self, merge_deployment, deployment, deployment_dfd,
cancellable, error))
return FALSE;
}
#ifdef HAVE_SELINUX
if (!sysroot_finalize_selinux_policy(deployment_dfd, error))
return FALSE;
if (!sysroot_finalize_selinux_policy (deployment_dfd, error))
return FALSE;
#endif /* HAVE_SELINUX */
}
const char *osdeploypath = glnx_strjoina ("ostree/deploy/", ostree_deployment_get_osname (deployment));
glnx_autofd int os_deploy_dfd = -1;