mirror of
git://git.yoctoproject.org/meta-selinux
synced 2026-01-01 13:58:04 +00:00
policycoreutils: fix usrmerge install path
Set SBINDIR to ${base_sbindir} to fix below
issue when usrmerge enabled in DISTRO_FEATURES
| ERROR: QA Issue: policycoreutils-dbg package is not obeying usrmerge distro feature. /sbin should be relocated to /usr. [usrmerge]
| WARNING: policycoreutils-2.7-r0 do_package: QA Issue: policycoreutils: Files/directories were installed but not shipped in any package:
/sbin/restorecon
/sbin/setfiles
/sbin/load_policy
/sbin/restorecon_xattr
/sbin/fixfiles
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
This commit is contained in:
parent
7d9c68ee6b
commit
21f823ac9c
|
|
@ -158,6 +158,7 @@ do_compile_prepend() {
|
|||
do_install_prepend() {
|
||||
export PYTHON=python
|
||||
export SEMODULE_PATH=${sbindir} SYSTEMDDIR=${D}/${systemd_unitdir}
|
||||
export SBINDIR="${D}/${base_sbindir}"
|
||||
}
|
||||
|
||||
do_install_class-native() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user