diff options
author | Oleksiy Obitotskyy <oobitots@cisco.com> | 2021-01-28 04:45:52 -0800 |
---|---|---|
committer | Joe MacDonald <joe@deserted.net> | 2021-03-03 13:55:43 -0500 |
commit | d81fcc5878b98683270272360ef91bffb0643aed (patch) | |
tree | 422bfa4c45e368b857206a3a5b66b84fa60355a2 | |
parent | 435879ef35d68cf932b22614d8734756358d7b26 (diff) | |
download | meta-selinux-d81fcc5878b98683270272360ef91bffb0643aed.tar.gz |
policycoreutils: Improve reproducibility
LOCALEDIR should be set to target path,
e.g. /usr/share/locale not host absolute path.
This prevent to build reproducible package.
LOCALEDIR constructed from:
$(DESTDIR)$(PREFIX)/share/locale
Change PREFIX from ${D} to ${prefix}.
DESTDIR is not set during compilation and
is set to proper value during install.
Signed-off-by: Oleksiy Obitotskyy <oobitots@cisco.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
-rw-r--r-- | recipes-security/selinux/policycoreutils.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-security/selinux/policycoreutils.inc b/recipes-security/selinux/policycoreutils.inc index 92f7a75..43a641d 100644 --- a/recipes-security/selinux/policycoreutils.inc +++ b/recipes-security/selinux/policycoreutils.inc | |||
@@ -118,7 +118,7 @@ EXTRA_OEMAKE += "\ | |||
118 | ${@bb.utils.contains('PACKAGECONFIG', 'libpam', 'PAMH=y', 'PAMH=', d)} \ | 118 | ${@bb.utils.contains('PACKAGECONFIG', 'libpam', 'PAMH=y', 'PAMH=', d)} \ |
119 | ${@bb.utils.contains('PACKAGECONFIG', 'audit', 'AUDITH=y', 'AUDITH=', d)} \ | 119 | ${@bb.utils.contains('PACKAGECONFIG', 'audit', 'AUDITH=y', 'AUDITH=', d)} \ |
120 | INOTIFYH=n \ | 120 | INOTIFYH=n \ |
121 | PREFIX=${D} \ | 121 | PREFIX=${prefix} \ |
122 | SBINDIR=${base_sbindir} \ | 122 | SBINDIR=${base_sbindir} \ |
123 | " | 123 | " |
124 | 124 | ||