]> code.ossystems Code Review - openembedded-core.git/commit
sudo: handle libexecdir != libdir/PN.
authorRoss Burton <ross.burton@intel.com>
Tue, 23 Jun 2015 11:10:22 +0000 (12:10 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 8 Dec 2015 10:20:08 +0000 (10:20 +0000)
commit431ad7a268fc07c367ce830c4f69dba515f44b4e
treecbdd5a19efcd1c947b001ec11ba3422a1257f4f7
parent705a369e5f48dc75f2db4ef814f63d11c2285058
sudo: handle libexecdir != libdir/PN.

sudo has somewhat special file installation logic and installs the modules and
libraries to $libexecdir/sudo, with special handling for the case when
libexecdir already contains /sudo (which it does by default in current oe-core
where libexecdir=$libdir/$PN).

As setting libexecdir to /usr/libexec should work, add both possibilities to
FILES to be sure the right files are captured, and add INSANE_SKIP for the
libdir warning that libraries are outside of /usr/lib/ (arguably, this should be
fixed in insane).

Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-extended/sudo/sudo.inc
meta/recipes-extended/sudo/sudo_1.8.14p3.bb