mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-13 16:06:59 +02:00
overlay sys-libs/libsemanage: set compression on
otherwise it blows from 3MB to 33MB on `/usr/lib/selinux/policy/mcs/` for example. Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
This commit is contained in:
parent
13ddc2d85d
commit
d0562c1e4a
@ -59,7 +59,7 @@ src_prepare() {
|
|||||||
echo "# 1-9 when compressing. The higher the number," >> "${S}/src/semanage.conf"
|
echo "# 1-9 when compressing. The higher the number," >> "${S}/src/semanage.conf"
|
||||||
echo "# the more memory is traded off for disk space." >> "${S}/src/semanage.conf"
|
echo "# the more memory is traded off for disk space." >> "${S}/src/semanage.conf"
|
||||||
echo "# Set to 0 to disable bzip2 compression." >> "${S}/src/semanage.conf"
|
echo "# Set to 0 to disable bzip2 compression." >> "${S}/src/semanage.conf"
|
||||||
echo "bzip-blocksize=0" >> "${S}/src/semanage.conf"
|
echo "bzip-blocksize=1" >> "${S}/src/semanage.conf"
|
||||||
echo >> "${S}/src/semanage.conf"
|
echo >> "${S}/src/semanage.conf"
|
||||||
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"
|
||||||
|
Loading…
Reference in New Issue
Block a user