policycoreutils: fix host utils rpath and bin directory
authorDaniel Golle <daniel@makrotopia.org>
Sun, 27 Sep 2020 16:10:34 +0000 (17:10 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Sun, 27 Sep 2020 16:22:01 +0000 (17:22 +0100)
commite8b34880f9776264837d0ba1604ef602ac93882e
treea61c8a893c0c1cf05d57908372292e976dabe752
parent96023cd4ba66c33e77d9df562dda44b0a1ba1ac9
policycoreutils: fix host utils rpath and bin directory

'setfiles' and others should be installed to $(STAGING_DIR_HOSTPKG)/bin
rather than $(...)/sbin which isn't in PATH.
Also using -Wl,-rpath to set library search location instead of setting
LD_LIBRARY_PATH when calling setfiles in image.mk.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
include/image.mk
package/utils/policycoreutils/Makefile