[yocto] [PATCH 2/2] audit: fix pkgconfigdir

2018-04-02 Thread Kai Kang
of FILES_${PN}-dev which has been done in bitbake.conf in oe-core. Signed-off-by: Kai Kang <kai.k...@windriver.com> --- recipes-security/audit/audit_2.7.6.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-security/audit/audit_2.7.6.bb b/recipes-security

[yocto] [PATCH 1/2] enable-audit.bbclass: remove implement of packageconfig audit

2018-04-02 Thread Kai Kang
enable-audit.bbclass is only used by systemd. And systemd has adapted to use build tool meson and implement PACKAGECONFIG audit in recipe file of systemd in oe-core. So remove implement of PACKAGECONFIG audit from enable-audit.bbclass. Signed-off-by: Kai Kang <kai.k...@windriver.

[yocto] [meta-selinux][PATCH V2 0/2] Fix systemd configure error if audit enabled

2018-04-02 Thread Kai Kang
V2: * remove setting of FILES_${PN}-dev from recipe of audit which has been done in bitbake.conf in oe-core. Kai Kang (2): enable-audit.bbclass: remove implement of packageconfig audit audit: fix pkgconfigdir classes/enable-audit.bbclass | 1 - recipes-security/audit/audit_2.7.6

[yocto] [PATCH 0/2] Fix systemd configure error when enable audit

2018-03-28 Thread Kai Kang
Test with configure in local.conf DISTRO_FEATURES_append = " selinux systemd" Kai Kang (2): enable-audit.bbclass: remove implement of packageconfig audit audit: fix pkgconfigdir classes/enable-audit.bbclass | 1 - recipes-security/audit/audit_2.7.6.bb | 3 ++- 2 files

[yocto] [PATCH 2/2] audit: fix pkgconfigdir

2018-03-28 Thread Kai Kang
Because 'libdir' is set with ${base_libdir} in recipe file of audit, package config files(.pc) are installed to ${base_libdir}/pkgconfig that variable pkgconfigdir is set with ${libdir}/pkgconfig in makefile. Set pkgconfigdir directly to install .pc files to right directory. Signed-off-by: Kai

[yocto] [PATCH 1/2] enable-audit.bbclass: remove implement of packageconfig audit

2018-03-28 Thread Kai Kang
enable-audit.bbclass is only used by systemd. And systemd has adapted to use build tool meson and implement PACKAGECONFIG audit in recipe file of systemd in oe-core. So remove implement of PACKAGECONFIG audit from enable-audit.bbclass. Signed-off-by: Kai Kang <kai.k...@windriver.

[yocto] [PATCH 1/2] local.conf.sample: Add qemuarm64

2014-12-18 Thread Kai Kang
From: Mark Hatle mark.ha...@windriver.com Add an example machine configuration for qemuarm64. Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta-yocto/conf/local.conf.sample | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-yocto/conf/local.conf.sample

[yocto] [PATCH 2/2] poky.conf: Add support for aarch64 to QEMU

2014-12-18 Thread Kai Kang
From: Mark Hatle mark.ha...@windriver.com Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta-yocto/conf/distro/poky.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-yocto/conf/distro/poky.conf b/meta-yocto/conf/distro/poky.conf index 72db36d..df49fbd 100644

[yocto] [meta-yocto][PATCH] enable aarch64 support for qemu in yocto

2014-08-14 Thread Kai Kang
booted, run $ qemu-system-aarch64 -machine virt -cpu cortex-a57 -machine type=virt -nographic -smp 1 -m 2048 -kernel aarch64-linux-3.15rc2-buildroot.img Boot could boot aarch64 image successfully. Kai Kang (1): qemu: enable aarch64 support in yocto meta-yocto/conf/distro/poky.conf | 2 +- 1 file

[yocto] [PATCH] qemu: enable aarch64 support in yocto

2014-08-14 Thread Kai Kang
qemu 2.1.0 support aarch64 targets, so add aarch64 to QEMU_TARGETS to enable qemu aarch64 support. Var QEMU_TARGETS in poky.conf overrides the var in qemu recipe, so add in poky.conf too. Signed-off-by: Kai Kang kai.k...@windriver.com --- meta-yocto/conf/distro/poky.conf | 2 +- 1 file changed

[yocto] [meta-selinux][PATCH] audit: Enable ARM System Call Audit in user space.

2014-04-24 Thread Kai Kang
Chao c...@windriver.com Signed-off-by: Kai Kang kai.k...@windriver.com --- .../audit/add-system-call-table-for-ARM.patch | 46 ++ recipes-security/audit/audit_2.3.2.bb | 2 + 2 files changed, 48 insertions(+) create mode 100644 recipes-security/audit/audit/add