blob: b1c2f939bd0a65101ca877461b92511e562ff4d8 [file] [log] [blame]
# Copyright 2015 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
PKG_INSTALL_MASK+=" /etc/pam.d/login"
INSTALL_MASK+=" /etc/pam.d/login"
cros_post_src_install_unset_suid() {
# Remove suid bit from all binaries installed by the package.
# Neither of them have any practical use in ChromiumOS, but they
# do present security risk.
find "${D}" -perm /4000 -exec chmod -s {} +
cros_pre_pkg_postinst_disable() {
# pkg_postinst() in upstream package will try to run grpconf thus
# splitting /etc/group into group and gshadow. Don't let it do that.
unset -f pkg_postinst