]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.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:30 +0000 (14:04 +0000)
commitdff0b49e7fccfdd1520f149cf51169431e1783ed
tree2b086dfde046a0bcde3d5db8a0e85bbc2227e8ef
parente8af5caec2a618ed67fbcf971680d4337b402581
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]

(From OE-Core rev: d8f4ffdc6db5484de97186586a7f39da32205c7b)

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