mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-22 15:01:00 +02:00
Permit unknown policy objects
We're using a stripped down policy, so we don't care that certain tasks may refer to policy objects that don't exist. Permit acts that reference them.
This commit is contained in:
parent
61a43d28d2
commit
e34ec94f7c
@ -64,6 +64,7 @@ src_prepare() {
|
|||||||
echo "# Reduce memory usage for bzip2 compression and" >> "${S}/src/semanage.conf"
|
echo "# Reduce memory usage for bzip2 compression and" >> "${S}/src/semanage.conf"
|
||||||
echo "# decompression of modules in the module store." >> "${S}/src/semanage.conf"
|
echo "# decompression of modules in the module store." >> "${S}/src/semanage.conf"
|
||||||
echo "bzip-small=true" >> "${S}/src/semanage.conf"
|
echo "bzip-small=true" >> "${S}/src/semanage.conf"
|
||||||
|
echo "handle-unknown=allow" >> "${S}/src/semanage.conf"
|
||||||
|
|
||||||
epatch "${FILESDIR}/0001-libsemanage-do-not-copy-contexts-in-semanage_migrate.patch"
|
epatch "${FILESDIR}/0001-libsemanage-do-not-copy-contexts-in-semanage_migrate.patch"
|
||||||
|
|
||||||
|
@ -71,6 +71,7 @@ src_prepare() {
|
|||||||
echo "# Reduce memory usage for bzip2 compression and" >> "${S}/src/semanage.conf"
|
echo "# Reduce memory usage for bzip2 compression and" >> "${S}/src/semanage.conf"
|
||||||
echo "# decompression of modules in the module store." >> "${S}/src/semanage.conf"
|
echo "# decompression of modules in the module store." >> "${S}/src/semanage.conf"
|
||||||
echo "bzip-small=true" >> "${S}/src/semanage.conf"
|
echo "bzip-small=true" >> "${S}/src/semanage.conf"
|
||||||
|
echo "handle-unknown=allow" >> "${S}/src/semanage.conf"
|
||||||
|
|
||||||
if [[ ${PV} != 9999 ]] ; then
|
if [[ ${PV} != 9999 ]] ; then
|
||||||
# If wanted for live builds, please use /etc/portage/patches
|
# If wanted for live builds, please use /etc/portage/patches
|
||||||
|
Loading…
x
Reference in New Issue
Block a user