[linux-yocto] v4.8.x - stable updates comprising v4.8.24

2017-06-02 Thread Paul Gortmaker
Bruce, Yocto kernel folks: Here is another 4.8.x stable update. Continuing on top of the previously released v4.8.23 kernel, we now have the appropriate content from 4.9.18 to 4.9.21 (inclusive) applied on top of our latest 4.8 baseline. Once again, I've combined several 4.9.x which results in

Re: [yocto] SRCPV and SRC_URI

2017-06-02 Thread Russell Peterson
Thanks. My recipe was actually using += instead of _append and I tried various combinations using spaces. Not the issue. The issue turned out to be something about my using patchdir=${S}/x in the file:// statement. I removed the patchdir and no more issues. Wasn’t needed anyway. Thanks for

Re: [yocto] File permissions on package_ipk.bbclass

2017-06-02 Thread Khem Raj
Hi Ian On Fri, Jun 2, 2017 at 3:52 PM, Ian Welch wrote: > Thanks Raj. > > We are looking at using `sudo` but this may have a ripple effect in our > other build scripts. I was hoping there was a more elegant way to handle > this. > > We are using version Yocto v1.7 >

Re: [yocto] libpam-systemd not built, but enabled in systemd PACKAGECONFIG

2017-06-02 Thread Khem Raj
On Fri, Jun 2, 2017 at 4:51 PM, Ferry Toth wrote: > That is when building systemd with morty. > > I have DISTRO_FEATURES pam set, but I find --disable-pam in the configure > log. > > In fact only --enable-split-usr --enable-xz and --enable-nls are set > according to the

[yocto] libpam-systemd not built, but enabled in systemd PACKAGECONFIG

2017-06-02 Thread Ferry Toth
That is when building systemd with morty. I have DISTRO_FEATURES pam set, but I find --disable-pam in the configure log. In fact only --enable-split-usr --enable-xz and --enable-nls are set according to the log. None of these are set through PACKAGECONFIG. And everything that is set

[yocto] [ANNOUNCEMENT] meta-intel 7.0 for Yocto Project "pyro" 2.3 now available

2017-06-02 Thread Tracy Graydon
All, The meta-intel 7.0 layer for the Yocto Project 2.3 “pyro" release and board support packages are now available for download. Tracy Graydon Intel Corporation meta-intel - repo: git://git.yoctoproject.org/meta-intel branch: pyro tag: 7.0-morty-2.3 hash:

Re: [yocto] File permissions on package_ipk.bbclass

2017-06-02 Thread Ian Welch
Thanks Raj. We are looking at using `sudo` but this may have a ripple effect in our other build scripts. I was hoping there was a more elegant way to handle this. We are using version Yocto v1.7 ~Ian On Fri, Jun 2, 2017 at 3:14 PM, Khem Raj wrote: > On Fri, Jun 2, 2017 at

Re: [yocto] SRCPV and SRC_URI

2017-06-02 Thread Ayoub Zaki
On 03.06.2017 00:26, Russell Peterson wrote: Hello, I’m writing a new recipe and doing something I think should be simple but instead causes an exception when expanding SRCPV. SRCREV = “” SRC_URI = “git://abc.com/xyz.git” PV = “1.2+git${SRCPV} The above works fine. Problem

[yocto] SRCPV and SRC_URI

2017-06-02 Thread Russell Peterson
Hello, I’m writing a new recipe and doing something I think should be simple but instead causes an exception when expanding SRCPV. SRCREV = “” SRC_URI = “git://abc.com/xyz.git ” PV = “1.2+git${SRCPV} The above works fine. Problem is, when I add a patch I get an exception when

Re: [yocto] File permissions on package_ipk.bbclass

2017-06-02 Thread Khem Raj
On Fri, Jun 2, 2017 at 1:57 PM, Ian Welch wrote: > Hello, > We are using the package_ipk.bbclass to create packages for opkg that > will be installed on our embedded hardware (target). We are also using > Jenkins as a CI server to run bitbake. We have discovered that

[yocto] File permissions on package_ipk.bbclass

2017-06-02 Thread Ian Welch
Hello, We are using the *package_ipk.bbclass *to create packages for opkg that will be installed on our embedded hardware (target). We are also using Jenkins as a CI server to run bitbake. We have discovered that when we install packages built on Jenkins we get all kinds of file permissions

Re: [yocto] Why can't I install eudev-hwdb

2017-06-02 Thread Alejandro del Castillo
On 06/01/2017 09:52 AM, Gary Thomas wrote: > On 2017-06-01 15:46, Burton, Ross wrote: >> >> On 1 June 2017 at 14:38, Gary Thomas > > wrote: >> >> Thanks for the suggestion. Sadly, still no go. >> >> >> No idea then. CCing Alejandro... > > Very

[yocto] [qa-tools][PATCH] testopia_update: Add functionality to list templates

2017-06-02 Thread jose . perez . carranza
From: Jose Perez Carranza Add support to list available templates per specific releases Signed-off-by: Jose Perez Carranza --- testopia_update.py | 18 --

[yocto] [yocto-autobuilder][PATCH 5/5] buildset-config.yocto-qa: Add intel-corei7-64-daft buildset

2017-06-02 Thread Aníbal Limón
This buildset is for support running sanity tests over a DUT like Minnowboard for the moment only builds core-image-sato, there is a need to make it configurable. Also the listo of the available devices are fixed into the UI as parameters. [YOCTO #10604] Signed-off-by: Aníbal Limón

[yocto] [yocto-autobuilder][PATCH 4/5] autobuilder/buildsteps: Add DAFTFlash buildstep

2017-06-02 Thread Aníbal Limón
This will execute daft flash cycle without reboot and prepare the dut for sanity tests. [YOCTO #10604] Signed-off-by: Aníbal Limón Signed-off-by: Monserrat Sedeno Signed-off-by: Edwin Plauchu ---

[yocto] [yocto-autobuilder][PATCH 3/5] autobuilder/buildsteps: Add DaftGetDevices step

2017-06-02 Thread Aníbal Limón
This buildstep will copy the devices configuration from the worker and read it, in order to get daft ip an ssh port, to use later in RunSanityTests [YOCTO #10604] Signed-off-by: Aníbal Limón Signed-off-by: Monserrat Sedeno Signed-off-by: Edwin Plauchu

[yocto] [yocto-autobuilder][PATCH 2/5] buildsteps/RunSanityTests: Add support for simpleremote target

2017-06-02 Thread Aníbal Limón
The testimage class supports a simpleremote target specifying the server and target ip to run tests over SSH. The main usage of this will in conjunction with the DAFT to make tests on real HW. [YOCTO #10604] Signed-off-by: Aníbal Limón ---

[yocto] [yocto-autobuilder][PATCH 1/5] buildsteps/BuildImages: Setproperty BUILDIMAGES

2017-06-02 Thread Aníbal Limón
In certain situations is need to know what images was built for example the DAFT executes flashing over certain image. [YOCTO #10604] Signed-off-by: Aníbal Limón --- lib/python2.7/site-packages/autobuilder/buildsteps/BuildImages.py | 3 +++ 1 file changed, 3

Re: [yocto] Problems to build xen-guest-image-minimal

2017-06-02 Thread Sandeep G.R
On Wed, May 31, 2017 at 10:13 AM, Khem Raj wrote: > > On Wed, May 31, 2017 at 12:22 AM Pello Heriz < > pello.he...@alumni.mondragon.edu> wrote: > >> Hi, >> >> I'm trying to build xen-guest-image-minimal with master branch of Yocto, >> but I keep stuck in the next error: >> >>

Re: [yocto] [yocto-autobuilder][PATCH] forcebuild: allow build with default options

2017-06-02 Thread Joshua Lock
On Thu, 2017-06-01 at 12:32 -0500, Jose Lamego wrote: > From: Anibal Limon > > A forced build fails if no options are passed through command > line (using "-o OPTIONS"). > > This change allows build to use default options if none are passed > at the command line.

[yocto] [meta-zulu-java][PATCH] zulu-jdk: move files to designated packages

2017-06-02 Thread Sven Ebenfeld
The current zulu-jdk package includes many big files that are not required to run java-programs on target devices. This patch avoids that zulu-jdk acquires too much space on the target device. Signed-off-by: Sven Ebenfeld --- recipes-devtools/zulu-ezdk-arm-hflt.bb | 14

[yocto] [meta-zulu-java][PATCH] zulu-jdk: move files to designated packages

2017-06-02 Thread Sven Ebenfeld
The current zulu-jdk package includes many big files that are not required to run java-programs on target devices. This patch avoids that zulu-jdk acquires too much space on the target device. Signed-off-by: Sven Ebenfeld --- recipes-devtools/zulu-ezdk-arm-hflt.bb | 14

[yocto] [meta-cgl][PATCH 2/4] resource-agents: fix install-sh not found

2017-06-02 Thread jackie.huang
From: Jackie Huang Fix configure.ac to cope with new autoconf. Recent autoconfs generate a bad configure when AM_INIT_AUTOMAKE is called as late as it was, ending up thinking that the am_aux_dir is pwd at the start of the build. Move it up to under AC_INIT to fix

[yocto] [meta-cgl][PATCH 4/4] resource-agents: update to version 4.0.1

2017-06-02 Thread jackie.huang
From: Jackie Huang Signed-off-by: Jackie Huang --- .../{resource-agents_3.9.7.bb => resource-agents_4.0.1.bb}| 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename

[yocto] [meta-cgl][PATCH 3/4] resource-agents: fix builds error when S != B

2017-06-02 Thread jackie.huang
From: Jackie Huang It fails to find fs.sh.in when srddir and builddir are not the same: make[5]: Entering directory '/path/to/builddir/rgmanager/src/resources' cat fs.sh.in | sed \ -e 's#@''LOGDIR@#/var/log/cluster#g' \ > fs.sh.out cat: fs.sh.in: No such

[yocto] [meta-cgl][PATCH 1/4] resource-agents: fix dependencies

2017-06-02 Thread jackie.huang
From: Jackie Huang * inherit pkgconfig or configure fails with: | checking for pkg-config... no | configure: error: You need pkgconfig installed in order to build * Add missing runtime dependencies for: - many tools and scripts need bash and perl. - lvm.sh

[yocto] [meta-cgl][PATCH 0/4] resource-agents: update to 4.0.1 and several fixes

2017-06-02 Thread jackie.huang
From: Jackie Huang -- The following changes since commit c0afa706e9cdb650c0e8bb79f503743632350b00: core-image-cgl: Remove ROOTFS_PKGMANAGE_BOOTSTRAP (2017-05-24 14:19:13 +0200) are available in the git repository at: https://github.com/jackiehjm/meta-cgl.git

[yocto] [meta-cgl][PATCH] poky-cgl: avoid installing multiple syslogs

2017-06-02 Thread jackie.huang
From: Jackie Huang do_rootfs fails if multiple syslogs are installed: | Error: package syslog-ng-3.8.1-r0.i586 conflicts with sysklogd provided by sysklogd-1.5.1-r0.i586 core-image-cgl requires packagegroup-core-full-cmdline which depends on VIRTUAL-RUNTIME_syslog

[yocto] [PATCH V3 11/11] update_layer.py: delete layerbranch for non-existed branch

2017-06-02 Thread Robert Yang
The branch is not needed any more when it has been removed from the repo, so we also need remove its layerbranch, otherwise it still can be got from the web, which causes confusions. Note, we have to move the location of tinfiol's code to make it can be shutdown correctly. Signed-off-by: Robert

[yocto] [PATCH V3 10/11] update.py: add -p to git fetch

2017-06-02 Thread Robert Yang
-p, --prune Before fetching, remove any remote-tracking references that no longer exist on the remote. Fixed: $ git push origin :test_branch $ ./update.py The test_branch was still in fetched local repo which was incorrect, it should be gone since it has been removed by upstream.

[yocto] [PATCH V3 09/11] update_layer.py: move the location of transaction.atomic()

2017-06-02 Thread Robert Yang
It doesn't need to be so ahead since we only need it when writing database, and a following patch will remove layerbranch from database when the branch had been removed from the repo, it's not easy to do the work in transaction.atomic() block. Signed-off-by: Robert Yang

[yocto] [PATCH V3 07/11] update_layer.py: remove --update-dependencies

2017-06-02 Thread Robert Yang
It never works since it is in the middle of transaction.atomic() block, and update.py doesn't need it any more, so remove it. Signed-off-by: Robert Yang --- layerindex/update.py | 4 +--- layerindex/update_layer.py | 27 --- 2 files

[yocto] [PATCH V3 05/11] recipeparse.py: restore cwd when the parsing is done

2017-06-02 Thread Robert Yang
Othewise it may cause troubles to the function who calls it. Signed-off-by: Robert Yang --- layerindex/recipeparse.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/layerindex/recipeparse.py b/layerindex/recipeparse.py index dd85bc3..f2a5235 100644 ---

[yocto] [PATCH V3 06/11] update.py: update layers orderly

2017-06-02 Thread Robert Yang
* Problems The update.py couldn't handle new (not only new branch, in fact, but also existing branches, see below for more info) branch well, for example, there are 3 layers: layer_A, layer_B and layer_C, and create new branch "branch_1" for them, and they have depends: layer_A -> layer_B ->

[yocto] [PATCH V3 04/11] update.py: fix -l option

2017-06-02 Thread Robert Yang
Fixed: $ ./update.py -l meta-oe,not_existed It should report error that "not_existed" doesn't exist, but it didn't, this was because __in matches any of them. Signed-off-by: Robert Yang --- layerindex/update.py | 11 +++ 1 file changed, 7 insertions(+), 4

[yocto] [PATCH V3 02/11] utils.py: remove obsolete dependencies

2017-06-02 Thread Robert Yang
Fixed: - set LAYERDEPENDS_openembedded-layer = "core" - $ "update.py -l meta-oe -b master" Check from web, its dependency is "openembedded-core" - Change LAYERDEPENDS_openembedded-layer = "foo" - Run "update.py -l meta-oe -b master" Check from web, its dependency is

[yocto] [PATCH V3 00/11] Several fixes for layerindex

2017-06-02 Thread Robert Yang
* V3: - Better error messages when required collections not found - Delete layerbranch for non-existed branch - update_layer.py: remove --update-dependencies * V2: - Remove "import bb" from update.py to avoid causing confusions when switch branches. * V1: - The "-a ACTUAL_BRANCH" is a

[yocto] [PATCH V3 01/11] layerconfparse.py: remove unused layerbranch from parse_layer()

2017-06-02 Thread Robert Yang
The layerbranch is not used in parse_layer(), so remove it. Signed-off-by: Robert Yang --- layerindex/layerconfparse.py | 2 +- layerindex/tools/import_layer.py | 2 +- layerindex/update_layer.py | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-)