Skip to content

Commit 5760ad6

Browse files
committed
overlay coreos/config: Add Flatcar modifications for sys-libs/libsemanage
1 parent 97e7066 commit 5760ad6

File tree

1 file changed

+12
-0
lines changed
  • sdk_container/src/third_party/coreos-overlay/coreos/config/env/sys-libs

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# A hack to modify semanage.conf before it gets copied by
2+
# multilib_copy_sources.
3+
if ! declare -pf flatcar_hacked_multilib_copy_sources >/dev/null 2>&1; then
4+
eval "$(echo 'flatcar_hacked_multilib_copy_sources()'; declare -pf multilib_copy_sources | tail -n +2)"
5+
fi
6+
multilib_copy_sources() {
7+
# Enable compression in semanage.conf
8+
sed -i \
9+
-e 's/^\(bzip-blocksize\)=0/\1=1/' \
10+
"${S}/src/semanage.conf"
11+
flatcar_hacked_multilib_copy_sources "${@}"
12+
}

0 commit comments

Comments
 (0)