[yocto] Building kernel with non standard source structure

2016-08-29 Thread Ottavio Campana
Hello, I'm trying to port the kernel compilation of a bsp to yocto. My problem is that this kernel has a bunch of drivers that are out of the kernel sources tree and all the includes are hard coded with an uncommon structure. To give you the idea, the source is organized in this way kernel/lin

Re: [yocto] [PATCH] Makefile: remove static linking in Linux build

2016-08-29 Thread Jianxun Zhang
> On Aug 29, 2016, at 11:10 AM, Jianxun Zhang > wrote: > > >> On Aug 26, 2016, at 4:25 PM, Khem Raj wrote: >> >> >> >> On 8/26/16 3:45 PM, Jianxun Zhang wrote: >>> The removed static linking was for a desire to make rmc run >>> on systems where c libraries are not provided. >>> >>> But it

Re: [yocto] [PATCH] Makefile: remove static linking in Linux build

2016-08-29 Thread Jianxun Zhang
> On Aug 26, 2016, at 4:25 PM, Khem Raj wrote: > > > > On 8/26/16 3:45 PM, Jianxun Zhang wrote: >> The removed static linking was for a desire to make rmc run >> on systems where c libraries are not provided. >> >> But it is nothing wrong to dynamically link rmc with libraries. >> We also don

[yocto] [meta-raspberrypi][PATCH] userland: Add bash to RDEPENDS

2016-08-29 Thread Scott Ellis
WARNING: userland-git-r5 do_package_qa: QA Issue: /usr/bin/dtoverlay-post contained in package userland requires /bin/bash, but no providers found in RDEPENDS_userland? [file-rdeps] Signed-off-by: Scott Ellis --- recipes-graphics/userland/userland_git.bb | 2 ++ 1 file changed, 2 insertions(+)

Re: [yocto] X display touch calibration

2016-08-29 Thread Gary Thomas
On 2016-08-29 13:49, Maxin B. John wrote: Hi Gary, On Mon, Aug 29, 2016 at 11:09:25AM +0200, Gary Thomas wrote: How is the touchscreen calibration supposed to work now (after the recent changes dropping pointercal, tslib, etc)? I can see when I launch X that the screen calibration program runs

Re: [yocto] [meta-selinux] Regarding "systemd" support with refpolicy-minimum v20151208

2016-08-29 Thread Shrikant Bobade
Hi, Patch set for systemd and related fixes for refpolicy-minimum v2.20151208 from https://lists.yoctoproject.org/pipermail/yocto/2016-August/031763.html to https://lists.yoctoproject.org/pipermail/yocto/2016-August/031771.html Verified core-image-selinux build with refpolicy-minimum and systemd

[yocto] [meta-selinux] [PATCH 9/9] refpolicy-minimum: systemd: fix for syslog

2016-08-29 Thread Shrikant Bobade
From: Shrikant Bobade syslog & getty related allow rules required to fix the syslog mixup with boot log, while using systemd as init manager. Signed-off-by: Shrikant Bobade --- ...-refpolicy-minimum-systemd-fix-for-syslog.patch | 69 ++ .../refpolicy/refpolicy-minimum_2.201

[yocto] [meta-selinux] [PATCH 6/9] refpolicy-minimum: systemd: mount: enable required refpolicy booleans

2016-08-29 Thread Shrikant Bobade
From: Shrikant Bobade enable required refpolicy booleans for these modules mount: allow_mount_anyfile & systemd:systemd_tmpfiles_manage_all Signed-off-by: Shrikant Bobade --- ...inimum-systemd-mount-enable-requiried-ref.patch | 47 ++ .../refpolicy/refpolicy-minimum_2.20151

[yocto] [meta-selinux] [PATCH 8/9] refpolicy-minimum: systemd: fix for systemd tmp-files services

2016-08-29 Thread Shrikant Bobade
From: Shrikant Bobade fix for systemd tmp files setup services: systemd-journal-flush.service & systemd-logind.service. Signed-off-by: Shrikant Bobade --- ...inimum-systemd-fix-for-systemd-tmp-files-.patch | 111 + .../refpolicy/refpolicy-minimum_2.20151208.bb | 1 +

[yocto] [meta-selinux] [PATCH 7/9] refpolicy-minimum: systemd: fix for login & journal service

2016-08-29 Thread Shrikant Bobade
From: Shrikant Bobade 1. fix for systemd services: login & journal wile using refpolicy-minimum and systemd as init manager. 2. fix login duration after providing root password. Signed-off-by: Shrikant Bobade --- ...inimum-systemd-fix-for-login-journal-serv.patch | 105 + .

[yocto] [meta-selinux] [PATCH 5/9] refpolicy-minimum: init: fix reboot with systemd as init manager.

2016-08-29 Thread Shrikant Bobade
From: Shrikant Bobade add allow rule to fix avc denial during system reboot. Signed-off-by: Shrikant Bobade --- ...inimum-init-fix-reboot-with-systemd-as-in.patch | 36 ++ .../refpolicy/refpolicy-minimum_2.20151208.bb | 1 + 2 files changed, 37 insertions(+) create m

[yocto] [meta-selinux] [PATCH 4/9] refpolicy-minimum: locallogin: add allow rules for type local_login_t

2016-08-29 Thread Shrikant Bobade
From: Shrikant Bobade add allow rules for locallogin module avc denials. Signed-off-by: Shrikant Bobade --- ...inimum-locallogin-add-allow-rules-for-typ.patch | 53 ++ .../refpolicy/refpolicy-minimum_2.20151208.bb | 1 + 2 files changed, 54 insertions(+) create mode

[yocto] [meta-selinux] [PATCH 3/9] refpolicy-minimum: systemd: mount: logging: authlogin: add allow rules

2016-08-29 Thread Shrikant Bobade
From: Shrikant Bobade add allow rules for avc denails for systemd, mount, logging & authlogin modules. without this change we are getting avc. denials from these modules. Signed-off-by: Shrikant Bobade --- ...inimum-systemd-mount-logging-authlogin-ad.patch | 93 ++ .../ref

[yocto] [meta-selinux] [PATCH 2/9] refpolicy-minimum: audit: logging: getty: audit related allow rules

2016-08-29 Thread Shrikant Bobade
From: Shrikant Bobade add allow rules for audit.log file & resolve dependent avc denials. Signed-off-by: Shrikant Bobade --- ...inimum-audit-logging-getty-audit-related-.patch | 67 ++ .../refpolicy/refpolicy-minimum_2.20151208.bb | 1 + 2 files changed, 68 insertions

[yocto] [meta-selinux] [PATCH 1/9] refpolicy-minimum: systemd:unconfined:lib: add systemd services allow rules

2016-08-29 Thread Shrikant Bobade
From: Shrikant Bobade systemd allow rules for systemd service file operations: start, stop, restart & allow rule for unconfined systemd service. without this change we are geting avc denials and access denied to perform operations on service file. Signed-off-by: Shrikant Bobade --- ...inimum-

Re: [yocto] [OE-core][yocto-kernel-tools][PATCH] merge_configs.sh: fail loudly if make also fails

2016-08-29 Thread Bruce Ashfield
On 2016-08-29 09:22 AM, Ioan-Adrian Ratiu wrote: On Mon, 29 Aug 2016, Bruce Ashfield wrote: On 2016-08-29 08:07 AM, Bruce Ashfield wrote: On Mon, Aug 29, 2016 at 5:19 AM, Ioan-Adrian Ratiu mailto:adrian.ra...@ni.com>> wrote: merge_configs.sh calls make on the generated kernel config fro

Re: [yocto] [OE-core][yocto-kernel-tools][PATCH] merge_configs.sh: fail loudly if make also fails

2016-08-29 Thread Ioan-Adrian Ratiu
On Mon, 29 Aug 2016, Bruce Ashfield wrote: > On 2016-08-29 08:07 AM, Bruce Ashfield wrote: >> >> >> On Mon, Aug 29, 2016 at 5:19 AM, Ioan-Adrian Ratiu > > wrote: >> >> merge_configs.sh calls make on the generated kernel config from >> the defconfig + fragments t

Re: [yocto] [OE-core][yocto-kernel-tools][PATCH] merge_configs.sh: fail loudly if make also fails

2016-08-29 Thread Ioan-Adrian Ratiu
On Mon, 29 Aug 2016, Bruce Ashfield wrote: > On Mon, Aug 29, 2016 at 5:19 AM, Ioan-Adrian Ratiu > wrote: > >> merge_configs.sh calls make on the generated kernel config from >> the defconfig + fragments to fill in any missing symbols. make >> can fail and this can lead to nasty errors further on

Re: [yocto] custom linux kernel recipe

2016-08-29 Thread Bruce Ashfield
On 2016-08-29 07:34 AM, Mircea Gliga wrote: Hi I'm using krogoth and trying to create a qemu arm machine with the latest stable kernel 4.7.2. I created a recipe,recipes-kernel/linux/linux-stable_4.7.bb, in my layer with the following contents: --- inherit kernel require recipes-kernel/linux/lin

Re: [yocto] [OE-core][yocto-kernel-tools][PATCH] merge_configs.sh: fail loudly if make also fails

2016-08-29 Thread Bruce Ashfield
On 2016-08-29 08:07 AM, Bruce Ashfield wrote: On Mon, Aug 29, 2016 at 5:19 AM, Ioan-Adrian Ratiu mailto:adrian.ra...@ni.com>> wrote: merge_configs.sh calls make on the generated kernel config from the defconfig + fragments to fill in any missing symbols. make can fail and this can

[yocto] [OE-core][PATCH] ruby: ensure that .ext/rdoc is gone in compile

2016-08-29 Thread Sujith H
From: Christopher Larson rdoc gets unhappy if this already exists, so remove it before building. Without this, it's possible to hit this error: Directory .ext/rdoc already exists, but it looks like it isn't an RDoc directory. Signed-off-by: Christopher Larson Signed-off-by: Sujith Har

Re: [yocto] [meta][PATCH] ruby: ensure that .ext/rdoc is gone in compile

2016-08-29 Thread Maxin B. John
Hi Sujith, On Mon, Aug 29, 2016 at 05:01:52PM +0530, Sujith H wrote: > From: Christopher Larson > > rdoc gets unhappy if this already exists, so remove it before building. > > Without this, it's possible to hit this error: > > Directory .ext/rdoc already exists, but it looks like it isn't

Re: [yocto] [OE-core][yocto-kernel-tools][PATCH] merge_configs.sh: fail loudly if make also fails

2016-08-29 Thread Bruce Ashfield
On Mon, Aug 29, 2016 at 5:19 AM, Ioan-Adrian Ratiu wrote: > merge_configs.sh calls make on the generated kernel config from > the defconfig + fragments to fill in any missing symbols. make > can fail and this can lead to nasty errors further on in the > build like generating an unbootable kernel

Re: [yocto] X display touch calibration

2016-08-29 Thread Maxin B. John
Hi Gary, On Mon, Aug 29, 2016 at 11:09:25AM +0200, Gary Thomas wrote: > How is the touchscreen calibration supposed to work now (after > the recent changes dropping pointercal, tslib, etc)? I can > see when I launch X that the screen calibration program runs, > but I think only briefly as the mai

[yocto] custom linux kernel recipe

2016-08-29 Thread Mircea Gliga
Hi I'm using krogoth and trying to create a qemu arm machine with the latest stable kernel 4.7.2. I created a recipe,recipes-kernel/linux/linux-stable_4.7.bb, in my layer with the following contents: --- inherit kernel require recipes-kernel/linux/linux-yocto.inc FILESEXTRAPATHS_prepend := "

[yocto] [meta][PATCH] ruby: ensure that .ext/rdoc is gone in compile

2016-08-29 Thread Sujith H
From: Christopher Larson rdoc gets unhappy if this already exists, so remove it before building. Without this, it's possible to hit this error: Directory .ext/rdoc already exists, but it looks like it isn't an RDoc directory. Signed-off-by: Christopher Larson Signed-off-by: Sujith Har

Re: [yocto] [meta-selinux][PATCH 1/5] selinux-initsh.inc: add systemd support

2016-08-29 Thread Shrikant Bobade
Hi, @Ping, Thanks Shrikant On Mon, Aug 22, 2016 at 6:36 PM, Shrikant Bobade wrote: > From: Shrikant Bobade > > add support for systemd service file and handling of script required by > systemd service file. > > Signed-off-by: Shrikant Bobade > --- > recipes-security/selinux/selinux-initsh

Re: [yocto] Build Host packags for Yocto project.

2016-08-29 Thread Jan Lindåker
I googled gcc-multilib, neither weezy (old-stable), jessie (stable) or sid (unstable) had the version number that you are trying to install. Instead of using apt-get on the command line, try to use a GUI-based package manager like synaptic. There you will see which packages/package-versions are

[yocto] [OE-core][yocto-kernel-tools][PATCH] merge_configs.sh: fail loudly if make also fails

2016-08-29 Thread Ioan-Adrian Ratiu
merge_configs.sh calls make on the generated kernel config from the defconfig + fragments to fill in any missing symbols. make can fail and this can lead to nasty errors further on in the build like generating an unbootable kernel image. Check the make return code and fail loudly if non-zero. Sig

Re: [yocto] Build Host packags for Yocto project.

2016-08-29 Thread TinTin Naing
Hi! Jan, Thanks for your sharing. Yes, I have already re-started a new VM box several times. But problem still insists. At first time I installed VM box and Host packages, it worked well. This problem started since I have deleted former VM box, create new VM box and reinstall packages. Any clue?

[yocto] X display touch calibration

2016-08-29 Thread Gary Thomas
How is the touchscreen calibration supposed to work now (after the recent changes dropping pointercal, tslib, etc)? I can see when I launch X that the screen calibration program runs, but I think only briefly as the main [matchbox] screen immediately comes up and without calibration, my pointer (

Re: [yocto] Build Host packags for Yocto project.

2016-08-29 Thread Robert Yang
Hi TinTin, On 08/29/2016 12:03 PM, TinTin Naing wrote: Hi! I am very new to Yocto project. I am trying to get installed all necessary Build Host packages following the guide lines in “Yocto Project Quick Start Guide”. But gcc-multilib and libsdl1.2-dev are not installed as below. Can anyone

[yocto] [meta-swupd][PATCH v2] swupd-client_git.bb: Make pinned pubkey configurable

2016-08-29 Thread Dmitry Rozhkov
SWUPD server may move to a new location where a different pubkey needs to be used and the hardcoded one won't work. This makes pinned pubkey configurable. Changes in v2: add explicit 'else' clause to the last statement of do_install_append() to avoid returning exit code 1. Signed-

Re: [yocto] Build Host packags for Yocto project.

2016-08-29 Thread Jan Lindåker
Hi TinTIn, I can not help you with the problem actual problem, but I can give you advice on how to proceed. Your problem is not with yocto but with the debian package manager. Either you have a "crashed" install or you have added repositories that have errors in them. I would google apt pa