deploy: Don't rebuild selinux policy on first deployment
authorColin Walters <walters@verbum.org>
Wed, 9 Nov 2022 16:18:36 +0000 (11:18 -0500)
committerColin Walters <walters@verbum.org>
Wed, 9 Nov 2022 16:18:36 +0000 (11:18 -0500)
commitbd325061dc9585886f7e60e58d9fc0c8b37e71db
tree3017241fc54caadd9a5ae4f814772f7fd921995d
parente153720f89989f503ae97f7384b4c8976436bb24
deploy: Don't rebuild selinux policy on first deployment

Basically, it should not be necessary - the policy should be
up-to-date.  We don't want to force on continual policy rebuilds.

Even trying to run bwrap when we're *not* in a booted
root can cause failures in nested containerization scenarios.

Closes: https://github.com/ostreedev/ostree/issues/2758
src/libostree/ostree-sysroot-deploy.c