[yocto] [meta-virtualization][PATCH] Upgrade libvirt to 1.3.5

2016-08-04 Thread kai.kang
From: Kai Kang * The ptest still have 8 failed items in 124 cases. Kai Kang (1): libvirt: upgrade 1.3.2 -> 1.3.5 .../0001-to-fix-build-error.patch | 0 recipes-extended/libvirt/libvirt-python.inc| 5 +-

[yocto] [PATCH] libvirt: upgrade 1.3.2 -> 1.3.5

2016-08-04 Thread kai.kang
From: Kai Kang Upgrade libvirt from 1.3.2 to 1.3.5. * update checksums and remove PR * remove trailing whitespace * remove backport patch 0001-fix-crash-in-getAllDomainStats.patch * update context of patches * remove libvirtd.socket from SYSTEMD_SERVICE which doesn't

[yocto] [meta-virtualization][PATCH] Fix build error for arm

2016-08-07 Thread kai.kang
From: Kai Kang When build for qemuarm, it fails to do compile_ptest_base. Kai Kang (1): libvirt: fix build error for arm .../0001-nsslinktest-also-build-virAtomic.h.patch | 40 ++ recipes-extended/libvirt/libvirt_1.3.5.bb | 1 + 2 files

[yocto] [PATCH] libvirt: fix build error for arm

2016-08-07 Thread kai.kang
From: Kai Kang When build for architecture that don't use gcc atomic ops but pthread, it fails to build for arm: | ../tools/nss/.libs/libnss_libvirt_impl.a(libvirt_nss_la-virobject.o): In function `virClassNew': |

[yocto] [meta-virtualization][PATCH] libvirt: remove qemu from PACKAGECONFIG

2016-08-16 Thread kai.kang
From: Kai Kang qemu is not compatible with mips64, so remove 'qemu' which causes libvirt depends on package qemu from PACKAGECONFIG for mips64. Signed-off-by: Kai Kang --- recipes-extended/libvirt/libvirt_1.3.5.bb | 3 +++ 1 file changed, 3

[yocto] [meta-virtualization][PATCH] libvirt: fix CVE-2016-5008

2016-08-15 Thread kai.kang
From: Kai Kang Backport patch to fix CVE-2016-5008 from: https://libvirt.org/git/?p=libvirt.git;a=commit;h=f32441c Signed-off-by: Kai Kang --- ...pty-default-VNC-password-work-as-document.patch | 81 ++

[yocto] [meta-selinux][PATCH] iproute2: make packageconfig selinux work

2016-09-22 Thread kai.kang
From: Kai Kang iproute2 calls command pkg-config to check whether libselinux exists then enable or disable selinux support. That makes packageconfig doesn't work. The packageconfig selinux is set by checking whether distro feature selinux exists in with-selinux.bbclass.

[yocto] [meta-virtualization][PATCH] libvirt: remove .o files for ptest

2016-09-22 Thread kai.kang
From: Kai Kang When do split_and_strip_files, it may calls debugedit to deal elf files. For ptest sub-package, it fails to run debugedit with .o files. So remove the .o files which are redundant to run ptest cases. Signed-off-by: Kai Kang ---

[yocto] [meta-skeleton][PATCH] useradd-example: exclude from world

2016-12-22 Thread kai.kang
From: Kai Kang Signed-off-by: Kai Kang --- meta-skeleton/recipes-skeleton/useradd/useradd-example.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-skeleton/recipes-skeleton/useradd/useradd-example.bb

[yocto] [PATCH] mtree: add recipe

2017-05-18 Thread kai.kang
From: Kai Kang Add recipe mtree port from BSD. Add a patch to handle null return from getlogin. Signed-off-by: Kai Kang --- recipes-security/mtree/mtree/mtree-getlogin.patch | 49 +++ recipes-security/mtree/mtree_1.0.3.bb

[yocto] [meta-security][PATCH] Add recipe mtree

2017-05-18 Thread kai.kang
From: Kai Kang Commit at: https://github.com/parr0tr1ver/meta-security/commit/2955017982dc733233267e955295ff40b11d61f5 Kai Kang (1): mtree: add recipe recipes-security/mtree/mtree/mtree-getlogin.patch | 49 +++

[yocto] [meta-selinux][PATCH] attr: fix ptest failures when selinux enabled

2017-09-05 Thread kai.kang
From: Kai Kang When selinux is enabled, a file has a default attribute "security.selinux" and the output of getfattr shows: # file: here security.selinux="system_u:object_r:lib_t:s0" That always causes more output of command getfattr than expected. Filter out

[yocto] [meta-cgl][PATCH] recipes-perl: correct license for perl modules

2017-10-24 Thread kai.kang
From: Kai Kang Correct LICENSE of perl modules that 'GPLv2' is not right for them. libsocket6-perl is licensed with BSD accoring to README file. And other 4 modules libhtml-tagset-perl, libmailtools-perl, libtest-pod-perl and libwww-perl are licensed with same terms of

[yocto] [meta-cgl][PATCH 1/1] pacemaker: disable autostart

2017-11-07 Thread kai.kang
From: Kai Kang pacemaker requires corosync starts before it. But corosync could not start without configuration and autostart is disabled. So disable autostart of pacemaker too. Signed-off-by: Kai Kang ---

[yocto] [meta-cgl][PATCH 0/1] Disable autostart of pacemaker

2017-11-07 Thread kai.kang
From: Kai Kang Patch to disable autostart of corosync is in review. Kai Kang (1): pacemaker: disable autostart meta-cgl-common/recipes-cgl/pacemaker/pacemaker_1.1.16.bb | 2 ++ 1 file changed, 2 insertions(+) -- 2.14.1 --

[yocto] [meta-cgl][PATCH] cluster-glue: update EXTRA_OECONF and RDEPENDS

2018-01-14 Thread kai.kang
From: Kai Kang cluster-glue refers to some resources located in $OCF_ROOT_DIR which is provided by package cluster-resource-agents. But these resources are installed to ${libdir}/ocf by previous commit. So update EXTRA_OECONF to set OCF_ROOT_DIR with ${libdir}/ocf too.

[yocto] [meta-selinux][PATCH 1/2] iproute2: remove workaround for selinux

2018-02-06 Thread kai.kang
From: Kai Kang After upgrade to 4.14.1, iproute2 changes it way to create configure output file config.mk which is also renamed from 'Config'. With RSS, the workaround for iproute2 is not needed any more. Signed-off-by: Kai Kang ---

[yocto] [meta-selinux][PATCH 2/2] libselinux-python: remove rdepends python-importlib

2018-02-06 Thread kai.kang
From: Kai Kang Package python-importlib has been removed and the functionality is now part of python-core. So remove python-importlib from runtime dependency of libselinux-python. Signed-off-by: Kai Kang ---

[yocto] [meta-virtualization][PATCH] libvirt: remove qemu from PACKAGECONFIG for mips n32 and n64

2018-10-15 Thread kai.kang
From: Kai Kang PACKAGECONFIG 'qemu' causes libvirt depends on package qemu. But qemu is not compatible with mips n32 and n64. So remove 'qemu' from PACKAGECONFIG for mips n32 and n64. Signed-off-by: Kai Kang Signed-off-by: Mark Hatle --- recipes-extended/libvirt/libvirt_4.7.0.bb | 4 1

[yocto] [meta-selinux][PATCH] meson-selinux.bbclass: add for meson build system

2019-03-10 Thread kai.kang
From: Kai Kang Add meson-selinux.bbclass for meson build system. It used '-Dselinux=true/false' to enable/disable 'selinux' rather than --enable-selinux or --with-selinux. Inherit meson-selinux for glib-2.0 to fix configure failure. Signed-off-by: Kai Kang --- classes/meson-selinux.bbclass

[yocto] [meta-selinux][PATCH 2/2] setools: fix build failure with gcc 7

2019-04-09 Thread kai.kang
From: Kai Kang Backport patch from setools upstream to fix build failure with GCC 7 due to possible truncation of snprintf output. It could be reproduced on 64 bit bsps such as qemux86-64 and qemumips64 with configs: SELECTED_OPTIMIZATION = "${DEBUG_OPTIMIZATION}" DEBUG_BUILD = "1"

[yocto] [meta-selinux][PATCH 1/2] layer.conf: update to warrior release name series

2019-04-09 Thread kai.kang
From: Kai Kang Sync with oe-core to update to warrior release name series. Signed-off-by: Kai Kang --- conf/layer.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/layer.conf b/conf/layer.conf index 5fecac6..b10bd76 100644 --- a/conf/layer.conf +++

[yocto] [meta-selinux][PATCH 1/1] busybox: disable PTEST_BINDIR

2019-04-18 Thread kai.kang
From: Kai Kang A new feature has been added in oe-core to use update-alternative mechanism for ptest. But it conflicts with current patch in meta-selinux. So do not use this new feature for ptest when build with selinux. Signed-off-by: Kai Kang --- recipes-core/busybox/busybox_selinux.inc | 2

[yocto] [meta-selinux][PATCH 0/1] Fix build errors when enable selinux and ptest

2019-04-18 Thread kai.kang
From: Kai Kang Fix build errors when enable selinux and ptest: DISTRO_FEATURES_append = "" ERROR: busybox-1.30.1-r0 do_package: Error executing a python function in exec_python_func() autogenerated: The stack trace of python calls that resulted in this exception/failure was: File: