]> code.ossystems Code Review - openembedded-core.git/commit
util-linux: fix the su and runuser packages
authorAndré Draszik <andre.draszik@jci.com>
Tue, 5 Feb 2019 02:32:31 +0000 (02:32 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 12 Feb 2019 14:04:24 +0000 (14:04 +0000)
commitd8f4ffdc6db5484de97186586a7f39da32205c7b
tree7d61375a63f5eea6a0817ecf464a19d5f82e5af3
parent1892acab58884aa3b94b49da2854299a6db22af7
util-linux: fix the su and runuser packages

The packages get an automatic RDEPENDS via shlibs, no
need to explicitly state it, so we can drop those
useless explicit assignments.

su is moved into ${base_bindir} in do_install(), so
because of a mismatched FILES specification su is
actually packaged into the main package at the moment,
not into the -su package as likely originally intended.

runuser needs the pam configuration files, so they should
be in the -runuser package, not in the main package.

While fixing this, we can simplify the update alternatives
processing for su.

[YOCTO #13058]

Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/util-linux/util-linux.inc