mirror of
git://git.yoctoproject.org/meta-selinux
synced 2026-01-01 13:58:04 +00:00
refpolicy: Remove build path reference from file_contexts.homedirs
filecontexts.homedirs is getting populated with reference to TMPDIR path and yocto's QA check is flagging it. To avoid this, removing the line that contains TMPDIR path from filecontexts.homedirs. Signed-off-by: Sasi Kumar Maddineni <quic_sasikuma@quicinc.com> Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
This commit is contained in:
parent
7bbd3b12d8
commit
237007feee
|
|
@ -260,6 +260,8 @@ do_install() {
|
|||
do_install:append() {
|
||||
# While building policies on target, Makefile will be searched from SELINUX_DEVEL_PATH
|
||||
echo "SELINUX_DEVEL_PATH=${datadir}/selinux/${POLICY_NAME}/include" > ${D}${sysconfdir}/selinux/sepolgen.conf
|
||||
|
||||
sed -i -e 's|${D}||' ${D}${sysconfdir}/selinux/${POLICY_NAME}/contexts/files/file_contexts.homedirs
|
||||
}
|
||||
|
||||
sysroot_stage_all:append() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user