We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa4edb7 commit 8f0b586Copy full SHA for 8f0b586
sdk_container/src/third_party/coreos-overlay/coreos/config/env/sys-apps/policycoreutils
@@ -14,3 +14,15 @@ cros_post_src_install_set_up_var_lib_selinux() {
14
mv "${ED}/var/lib/selinux" "${ED}/usr/lib/selinux/policy"
15
dosym -r /usr/lib/selinux/policy /var/lib/selinux
16
}
17
+
18
+# Do not install python stuff in prod images.
19
+if [[ $(flatcar_target) = 'generic-prod' ]]; then
20
+ INSTALL_MASK+=" /usr/lib/python-exec "
21
+fi
22
23
+# INSTALL_MASK does not work on symlinks.
24
+cros_post_pkg_postinst_drop_rlpkg_symlink() {
25
+ if [[ $(flatcar_target) = 'generic-prod' ]]; then
26
+ rm -f "${ROOT}"/usr/sbin/rlpkg
27
+ fi
28
+}
0 commit comments