]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
libpam: split /etc/environment into pam-plugin-env package
authorMartin Hundeb?ll <martin@geanix.com>
Mon, 27 Nov 2023 12:45:57 +0000 (13:45 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 2 Dec 2023 17:14:17 +0000 (17:14 +0000)
commit778fcc8d2e6eb1bd2c88a6abb14dbd6666720205
tree780adcddd7cf45196be8f600dc358f4fe2521169
parent3753997d6ec19e8cd082f9a602ebe4a7c1308c36
libpam: split /etc/environment into pam-plugin-env package

Since systemd-v255, pam-plugin-umask is pulled in by by the logind
package config for systemd. This causes /etc/environment to be installed
as part of libpam-runtime. In our case, this broke do_rootfs for our
image, because /etc/environment is already provided by another (custom)
recipe.

Fix this by making the /etc/environment file part of the pam-plugin-env
package, which isn't automatically pulled in by systemd-logind. It also
happens to be the where it should be, as the file is installed as part
of the pam_env plugin.

Signed-off-by: Martin Hundebøll <martin@geanix.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/pam/libpam_1.5.3.bb