summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/base-files
diff options
context:
space:
mode:
authorPatrick Ohly <patrick.ohly@intel.com>2017-07-12 10:44:11 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-07-17 14:01:39 +0100
commit3ae1f267d4fd887e6b7039cada73b5de034a846d (patch)
treee3073a85212b49943e7d96e8c440befa45abaa07 /meta/recipes-core/base-files
parenta731d879a79d9abf47b7a3f541f9c1b011f732e1 (diff)
downloadpoky-3ae1f267d4fd887e6b7039cada73b5de034a846d.tar.gz
util-linux: fix "su -" and package su separately
"su -" == "su --login" was broken because it uses /etc/pam.d/su-l and lacking that, falls back to /etc/pam.d/other which denies the operation. The fix is to symlink "su-l" to the normal "su" pam config file. Because "su" usually comes from "shadow" and has been broken like this without anyone noticing, it probably is not used much and thus should be packaged separately so that it can be installed only when really needed. For backwards compatibility, "util-linux" still pulls it in. It is a bit strange that DISTRO_FEATURES are getting checked when deciding whether the packages should be defined. It is not wrong, the packages will be simply empty and thus probably not created when the distro feature is on and the package config is off. Perhaps there is a reason, so this is kept unchanged. The symlink however only gets created when su.util-linux really gets built. [YOCTO #11126] (From OE-Core rev: 1ad32536c2d4a3e55e698d27d827caee788cb0f7) Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/base-files')
0 files changed, 0 insertions, 0 deletions