move selinux-permissive configure to pre-install phase

install-packages is running before install.d phase, there is a chance
that installing a package like "container-selinux" will failed the
build, moving "selinux-permissive" to run at pre-install stage make
more sense.

Change-Id: I32f988be725d4b385c3765c47a00cd57c53d7d71
This commit is contained in:
Noam Angel 2018-11-05 10:00:08 +00:00 committed by Ian Wienand
parent f0a8476509
commit 6f1f60983f
2 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,7 @@
---
other:
- |
Setting values with the ``selinux-permissive`` element has been
moved from ``install.d`` to ``pre-install.d`` phase to avoid
selinux related packages being installed before the settings are
applied.