Re: [linux-yocto] [kernel-cache][yocto-4.12][PATCH] bpf: add bpf kernel config

2017-09-12 Thread Jianchuan Wang
On 09/12/2017 08:35 PM, Bruce Ashfield wrote: On Tue, Sep 12, 2017 at 3:14 AM, Jianchuan Wang > wrote: Please ignore this... Ignore it completely, or just the 2nd send of the same patch ? The patch is correct

[yocto] [meta-cgl][PATCH] ocfs2-tools: fix compile error with glibc 2.26

2017-09-12 Thread jackie.huang
From: Jackie Huang When glibc upgrade to glibc-2.26.90-14, there was a compile error in fsck.ocfs2, the compile error messages like, In file included from /usr/include/string.h:431:0, from ../include/ocfs2/ocfs2.h:41, from

[yocto] [PATCH 18/20] setools: uprev to 4.1.1

2017-09-12 Thread wenzong.fan
From: Wenzong Fan SETools v4 is a rewrite of SETools in Python, details refer to: https://github.com/TresysTechnology/setools/wiki/Changes-Since-SETools-v3 Changes for upreving: * removed setools_3.3.8.bb and all useless patch * add patches to fix cross-compiling

[yocto] [PATCH 20/20] selinux-python: add setools to RDEPENDS

2017-09-12 Thread wenzong.fan
From: Wenzong Fan Signed-off-by: Wenzong Fan --- recipes-security/selinux/selinux-python.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes-security/selinux/selinux-python.inc b/recipes-security/selinux/selinux-python.inc

[yocto] [PATCH 19/20] packagegroup-*: sync package names

2017-09-12 Thread wenzong.fan
From: Wenzong Fan Some new packages added after SELinux uprev to 2.7, sync the package names accordingly: policycoreutils-audit2allow -> selinux-python-audit2allow policycoreutils-chcat-> selinux-python-chcat policycoreutils-python ->

[yocto] [PATCH 16/20] policycoreutils: fixes for 2.7 uprev

2017-09-12 Thread wenzong.fan
From: Wenzong Fan Remove setools from DEPENDS/RDEPENDS, it was required by sepolicy, sepolgen, semanage which have been moved to python/*. Rebase patch: - policycoreutils-fixfiles-de-bashify.patch Drop useless patch: - policycoreutils-loadpolicy-symlink.patch

[yocto] [PATCH 17/20] refpolicy_common: depends on semodule-utils-native

2017-09-12 Thread wenzong.fan
From: Wenzong Fan Those tools have been moved from policycoreutils to semodule-utils: semodule_deps, semodule_expand, semodule_link, semodule_package Signed-off-by: Wenzong Fan --- recipes-security/refpolicy/refpolicy_common.inc | 2 +-

[yocto] [PATCH 15/20] selinux-gui: add package 2.7 (20170804)

2017-09-12 Thread wenzong.fan
From: Wenzong Fan Move policycoreutils/gui to gui and cleanup policycoreutils.inc. Signed-off-by: Wenzong Fan --- recipes-security/selinux/policycoreutils.inc | 7 --- recipes-security/selinux/selinux-gui.inc | 15 +++

[yocto] [PATCH 12/20] selinux-python: add package 2.7 (20170804)

2017-09-12 Thread wenzong.fan
From: Wenzong Fan Move packages to python/*: - policycoreutils/semanage -> python/semanage - policycoreutils/audit2allow-> python/audit2allow - policycoreutils/sepolgen-ifgen -> python/audit2allow/sepolgen-ifgen - policycoreutils/sepolicy ->

[yocto] [PATCH 14/20] selinux-dbus: add package 2.7 (20170804)

2017-09-12 Thread wenzong.fan
From: Wenzong Fan Move policycoreutils/sepolicy/dbus to dbus. Signed-off-by: Wenzong Fan --- recipes-security/selinux/selinux-dbus.inc| 14 ++ recipes-security/selinux/selinux-dbus_2.7.bb | 7 +++ 2 files changed, 21

[yocto] [PATCH 13/20] semodule-utils: add package 2.7 (20170804)

2017-09-12 Thread wenzong.fan
From: Wenzong Fan Move policycoreutils/semodule_* to semodule-utils/*: - policycoreutils/semodule_deps-> semodule-utils/semodule_deps - policycoreutils/semodule_expand -> semodule-utils/semodule_expand - policycoreutils/semodule_link->

[yocto] [PATCH 09/20] mcstrans: add package 2.7 (20170804)

2017-09-12 Thread wenzong.fan
From: Wenzong Fan Move policycoreutils/mcstrans to mcstrans: * Move and rebase patches: - mcstrans-de-bashify.patch - 0001-mcstrans-fix-the-init-script.patch * Remove useless patch: - enable-mcstrans.patch * Cleanup policycoreutils_2.7.bb and

[yocto] [PATCH 07/20] policycoreutils: uprev to 2.7 (20170804)

2017-09-12 Thread wenzong.fan
From: Wenzong Fan Uprev the recipe file as is. Some packages have been moved out from policycoreutils, they will be added as new packages and the policycoreutils.inc need to be cleaned up from later commits accordingly. Moved packages: From:

[yocto] [PATCH 11/20] selinux-sandbox: add package 2.7 (20170804)

2017-09-12 Thread wenzong.fan
From: Wenzong Fan Move policycoreutils/sandbox to sandbox: * Move and rebase patch: - policycoreutils-sandbox-de-bashify.patch * Cleanup policycoreutils.inc Signed-off-by: Wenzong Fan --- recipes-security/selinux/policycoreutils.inc

[yocto] [PATCH 10/20] restorecond: add package 2.7 (20170804)

2017-09-12 Thread wenzong.fan
From: Wenzong Fan Move policycoreutils/restorecond to restorecond: * Move and rebase patch: - policycoreutils-make-O_CLOEXEC-optional.patch * Cleanup policycoreutils_2.7.bb. Signed-off-by: Wenzong Fan ---

[yocto] [PATCH 08/20] sepolgen: remove package

2017-09-12 Thread wenzong.fan
From: Wenzong Fan The package has been moved to selinux-python/sepolgen. Signed-off-by: Wenzong Fan --- recipes-security/selinux/sepolgen.inc| 34 recipes-security/selinux/sepolgen_2.6.bb | 7 ---

[yocto] [PATCH 04/20] libsemanage: uprev to 2.7 (20170804)

2017-09-12 Thread wenzong.fan
From: Wenzong Fan Remove patches that included by new version: - 0001-libsemanage-simplify-string-utilities-functions.patch - 0002-libsemanage-add-semanage_str_replace-utility-functio.patch - 0003-libsemanage-genhomedircon-drop-ustr-dependency.patch -

[yocto] [PATCH 05/20] checkpolicy: uprev to 2.7 (20170804)

2017-09-12 Thread wenzong.fan
From: Wenzong Fan Remove patch that included by new version: - checkpolicy-Do-not-link-against-libfl.patch Specify LIBSEPOLA to fix build error: make[1]: *** No rule to make target `/usr/lib/libsepol.a' Signed-off-by: Wenzong Fan ---

[yocto] [PATCH 01/20] selinux: uprev include file to 20170804

2017-09-12 Thread wenzong.fan
From: Wenzong Fan Signed-off-by: Wenzong Fan --- recipes-security/selinux/{selinux_20161014.inc => selinux_20170804.inc} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename recipes-security/selinux/{selinux_20161014.inc =>

[yocto] [PATCH 06/20] secilc: uprev to 2.7 (20170804)

2017-09-12 Thread wenzong.fan
From: Wenzong Fan Signed-off-by: Wenzong Fan --- recipes-security/selinux/secilc_2.6.bb | 7 --- recipes-security/selinux/secilc_2.7.bb | 7 +++ 2 files changed, 7 insertions(+), 7 deletions(-) delete mode 100644

[yocto] [PATCH 03/20] libselinux: uprev to 2.7 (20170804)

2017-09-12 Thread wenzong.fan
From: Wenzong Fan Specify LIBSEPOLA to fix build error: make[1]: *** No rule to make target `/usr/lib/libsepol.a', needed by `python-2.7audit2why.so'. Stop. Add python-importlib to RDEPENDS_${PN}-python. Signed-off-by: Wenzong Fan ---

[yocto] [PATCH 02/20] libsepol: uprev to 2.7 (20170804)

2017-09-12 Thread wenzong.fan
From: Wenzong Fan Signed-off-by: Wenzong Fan --- recipes-security/selinux/{libsepol_2.6.bb => libsepol_2.7.bb} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename recipes-security/selinux/{libsepol_2.6.bb => libsepol_2.7.bb}

[yocto] [PATCH 00/20 V2] selinux: uprev to 2.7 (20170804)

2017-09-12 Thread wenzong.fan
From: Wenzong Fan V2 changes: * fix incorrect 'Subject' in patches * apply patches base on mgh/master-next: - drop applied patch: refpolicy: fix a typo in RDEPENDS The following changes since commit ae9553c0d22bc079947aa31170dbe096b20f9de6: systemd: Remove

Re: [yocto] [meta-selinux][PATCH 04/21] libsemanage: uprev to 2.7 (20170804)

2017-09-12 Thread Mark Hatle
On 9/12/17 9:06 PM, wenzong fan wrote: > On 09/12/2017 06:59 PM, Chanho Park wrote: >> Hi, >> >> I can't apply this patch on top of the master branch. Which revision did >> you make the patches? > > Oops, that's my fault. I did a "sed -i -e 's/Subject: [/Subject: > [meta-selinux][/g' 00*" to

Re: [yocto] [meta-selinux][PATCH 04/21] libsemanage: uprev to 2.7 (20170804)

2017-09-12 Thread wenzong fan
On 09/12/2017 06:59 PM, Chanho Park wrote: Hi, I can't apply this patch on top of the master branch. Which revision did you make the patches? Oops, that's my fault. I did a "sed -i -e 's/Subject: [/Subject: [meta-selinux][/g' 00*" to add prefix for mail subjects, that also changed the

[yocto] [bitbake] Failed to launch bitbake image -u -g depexp on a Debian 9 host system ?

2017-09-12 Thread Karim ATIKI
Hi all, I'm currently using Yocto Poky pyro on a Debian 9 host. I tried to launch bitbake -u -g depexp to have the GUI window with dependencies but I got the following errors: Unable to init server: Could not connect: Connection refused Unable to init server: Could not connect: Connection

Re: [linux-yocto] [linux-yocto-4.4][PATCH] drivers/usb/dwc3/gadget.c: fix merge

2017-09-12 Thread Cal Sullivan
Thanks for the super quick turnaround time! And hey, I appreciate the effort you put in. Thanks to you its very rare that we see issues on our end, and I know these branches aren't an ideal situation. --- Cal On 09/12/2017 04:42 PM, Bruce Ashfield wrote: On 2017-09-12 7:38 PM, California

Re: [linux-yocto] [linux-yocto-4.4][PATCH] drivers/usb/dwc3/gadget.c: fix merge

2017-09-12 Thread Bruce Ashfield
On 2017-09-12 7:38 PM, California Sullivan wrote: Commit "c813008 usb: dwc3: replace %p with %pK" did not apply correctly due a previous backport. In the confusion, some error checking was added back which included a goto whose target didn't exist, causing a compilation failure. Well crap. I

[linux-yocto] [linux-yocto-4.4][PATCH] drivers/usb/dwc3/gadget.c: fix merge

2017-09-12 Thread California Sullivan
Commit "c813008 usb: dwc3: replace %p with %pK" did not apply correctly due a previous backport. In the confusion, some error checking was added back which included a goto whose target didn't exist, causing a compilation failure. Fix the issue by reverting the merge and the patch, then manually

Re: [yocto] [meta-raspberrypi] enable serial communication pi 3

2017-09-12 Thread yahia farghaly
:( ‌ On 12 September 2017 at 14:09, yahia farghaly wrote: > I have bitbaked rpi-hwup-image for raspberry pi 3 on sd card and connected > the serial ports to *usb to ttl device* . i have set the minicom to > port: /dev/ttyUSB0 > baud rate: 115200 > the image is

Re: [yocto] [meta-selinux] krogoth support

2017-09-12 Thread Mark Hatle
On 9/12/17 1:02 PM, Reach, Jonathon A wrote: > Hello, > >   > > I currently have a krogoth based project that I need to add the meta-selinux > layer to. > (I've replied this offlist, but figured it should go to the list as well...) Currently we do not have a krogoth branch. I never worked on

Re: [linux-yocto] [kernel-cache][yocto-4.12][PATCH] bpf: add bpf kernel config

2017-09-12 Thread Bruce Ashfield
On Tue, Sep 12, 2017 at 8:35 AM, Bruce Ashfield wrote: > > > On Tue, Sep 12, 2017 at 3:14 AM, Jianchuan Wang < > jianchuan.w...@windriver.com> wrote: > >> >> Please ignore this... >> >> >> > Ignore it completely, or just the 2nd send of the same patch ? > > As you can

Re: [linux-yocto] [yocto-kernel-cache][yocto-4.12][PATCH] kdump: add config fragments

2017-09-12 Thread Bruce Ashfield
On 09/12/2017 04:42 AM, jianchuan.w...@windriver.com wrote: From: Jianchuan Wang merged. Bruce Signed-off-by: Jianchuan Wang --- features/kdump/kdump-enable.scc | 4 features/kdump/kdump.cfg| 1 + 2 files

Re: [linux-yocto] [yocto-kernel-cache][yocto-4.12][PATCH] sysrq: add sysrq kernel config

2017-09-12 Thread Bruce Ashfield
On 09/12/2017 03:19 AM, jianchuan.w...@windriver.com wrote: From: Jianchuan Wang Add basic meta data for sysrq merged Bruce Signed-off-by: Jianchuan Wang --- features/sysrq/sysrq.cfg | 2 ++ features/sysrq/sysrq.scc | 1 +

Re: [linux-yocto] [yocto-kernel-cache][yocto-4.12][PATCH] kexec/kdump: Add config fragments

2017-09-12 Thread Bruce Ashfield
On 09/12/2017 04:18 AM, jianchuan.w...@windriver.com wrote: From: Jianchuan Wang merged. Bruce Signed-off-by: Jianchuan Wang --- features/kexec/kexec-enable.scc | 4 features/kexec/kexec.cfg| 1 + 2 files

Re: [linux-yocto] [yocto-kernel-cache][yocto-4.12][PATCH] bpf: add bpf kernel config

2017-09-12 Thread Bruce Ashfield
On 09/12/2017 02:12 AM, jianchuan.w...@windriver.com wrote: From: Jianchuan Wang Add basic meta data for bpf. merged Bruce Signed-off-by: Jianchuan Wang --- features/bpf/bpf.cfg | 4 features/bpf/bpf.scc | 4 2

Re: [yocto] [meta-xilinx] How to include Xilinx DMA driver

2017-09-12 Thread Fan Zhang
Hi Sandeep, Thank you for your answer. Can you give some more info on how to get the CCF working in Yocto Linux? I can't find much online. I tried building clkc.c and pll.c as out of tree driver by copy over content in the folder kernel-source\drivers\clk\zynq, change the makefile and add

Re: [linux-yocto] [kernel-cache][yocto-4.12][PATCH] bpf: add bpf kernel config

2017-09-12 Thread Bruce Ashfield
On Tue, Sep 12, 2017 at 3:14 AM, Jianchuan Wang < jianchuan.w...@windriver.com> wrote: > > Please ignore this... > > > Ignore it completely, or just the 2nd send of the same patch ? Bruce > > On 09/12/2017 02:11 PM, jianchuan.w...@windriver.com wrote: > >> From: Jianchuan Wang

[yocto] [meta-raspberrypi] enable serial communication pi 3

2017-09-12 Thread yahia farghaly
I have bitbaked rpi-hwup-image for raspberry pi 3 on sd card and connected the serial ports to *usb to ttl device* . i have set the minicom to port: /dev/ttyUSB0 baud rate: 115200 the image is booting fine and i can see the prompt on the screen but cannot see in my serial console using minicom.

Re: [yocto] [meta-selinux][PATCH 04/21] libsemanage: uprev to 2.7 (20170804)

2017-09-12 Thread Chanho Park
Hi, I can't apply this patch on top of the master branch. Which revision did you make the patches? Best Regards, Chanho Park On Tue, 5 Sep 2017 at 3:05 PM wrote: > From: Wenzong Fan > > Remove patches that included by new version: > -

[linux-yocto] [yocto-kernel-cache][yocto-4.12][PATCH] kdump: add config fragments

2017-09-12 Thread jianchuan.wang
From: Jianchuan Wang Signed-off-by: Jianchuan Wang --- features/kdump/kdump-enable.scc | 4 features/kdump/kdump.cfg| 1 + 2 files changed, 5 insertions(+) create mode 100644 features/kdump/kdump-enable.scc create mode

[linux-yocto] [yocto-kernel-cache][yocto-4.12][PATCH] kexec/kdump: Add config fragments

2017-09-12 Thread jianchuan.wang
From: Jianchuan Wang Signed-off-by: Jianchuan Wang --- features/kexec/kexec-enable.scc | 4 features/kexec/kexec.cfg| 1 + 2 files changed, 5 insertions(+) create mode 100644 features/kexec/kexec-enable.scc create mode

Re: [yocto] SD card image fails for IMX7

2017-09-12 Thread Maciej Pijanowski
On 12.09.2017 09:30, Eswaran Vinothkumar (BEG/PJ-IOT-EL) wrote: Hello, Hi, I am using Yocto based build system for my project. The Yocto version used in pyro.( BB_VERSION = "1.34.0"). I am trying to build an SD card image by setting the, IMAGE_FSTYPES = "sdcard" and also set the

[yocto] SD card image fails for IMX7

2017-09-12 Thread Eswaran Vinothkumar (BEG/PJ-IOT-EL)
Hello, I am using Yocto based build system for my project. The Yocto version used in pyro.( BB_VERSION = "1.34.0"). I am trying to build an SD card image by setting the, IMAGE_FSTYPES = "sdcard" and also set the SDCARD_GENERATION_COMMAND = "generate_imx_sdcard" . After trying to build the

[linux-yocto] [yocto-kernel-cache][yocto-4.12][PATCH] sysrq: add sysrq kernel config

2017-09-12 Thread jianchuan.wang
From: Jianchuan Wang Add basic meta data for sysrq Signed-off-by: Jianchuan Wang --- features/sysrq/sysrq.cfg | 2 ++ features/sysrq/sysrq.scc | 1 + 2 files changed, 3 insertions(+) create mode 100644 features/sysrq/sysrq.cfg

Re: [linux-yocto] [kernel-cache][yocto-4.12][PATCH] bpf: add bpf kernel config

2017-09-12 Thread Jianchuan Wang
Please ignore this... On 09/12/2017 02:11 PM, jianchuan.w...@windriver.com wrote: From: Jianchuan Wang Add basic meta data for bpf. Signed-off-by: Jianchuan Wang --- features/bpf/bpf.cfg | 4 features/bpf/bpf.scc | 4

[linux-yocto] [yocto-kernel-cache][yocto-4.12][PATCH] bpf: add bpf kernel config

2017-09-12 Thread jianchuan.wang
From: Jianchuan Wang Add basic meta data for bpf. Signed-off-by: Jianchuan Wang --- features/bpf/bpf.cfg | 4 features/bpf/bpf.scc | 4 2 files changed, 8 insertions(+) create mode 100644 features/bpf/bpf.cfg create mode

[linux-yocto] [kernel-cache][yocto-4.12][PATCH] bpf: add bpf kernel config

2017-09-12 Thread jianchuan.wang
From: Jianchuan Wang Add basic meta data for bpf. Signed-off-by: Jianchuan Wang --- features/bpf/bpf.cfg | 4 features/bpf/bpf.scc | 4 2 files changed, 8 insertions(+) create mode 100644 features/bpf/bpf.cfg create mode