Skip to content

Commit 365ce59

Browse files
committed
overlay coreos/config: Add further modifications to sys-process/audit
1 parent e02118d commit 365ce59

File tree

1 file changed

+7
-0
lines changed
  • sdk_container/src/third_party/coreos-overlay/coreos/config/env/sys-process

1 file changed

+7
-0
lines changed

sdk_container/src/third_party/coreos-overlay/coreos/config/env/sys-process/audit

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,10 @@ audit_install_mask=" /etc/audit/audit.rules* /usr/libexec "
55
INSTALL_MASK+="${audit_install_mask}"
66
PKG_INSTALL_MASK+="${audit_install_mask}"
77
unset audit_install_mask
8+
# Skip installing python stuff in production images
9+
if [[ ${FLATCAR_TYPE} = 'generic' && ${FLATCAR_SUBTYPE} = 'prod' ]]; then
10+
audit_install_mask=" /usr/lib/python* "
11+
INSTALL_MASK+="${audit_install_mask}"
12+
PKG_INSTALL_MASK+="${audit_install_mask}"
13+
unset audit_install_mask
14+
fi

0 commit comments

Comments
 (0)