[OE-core] [PATCH 2/2] package.bbclass: variable to influence link style

2018-01-07 Thread Michael Blättler
When using separate debug file, gdb needs to match the debug file and the binary. To match them, there can either be a .gnu_debuglink section in the binary or a build-id embedded in the debug file and binary. Until now, only the debuglink option was available. The problem with the debuglink is, tha

[OE-core] [PATCH 1/2] manifest.py: sort package list

2018-01-07 Thread Michael Blättler
The entries of the created manifest file are always in a different order. To ensure a deterministic build output the entries are ordered alphabetically. Signed-off-by: Michael Blättler --- meta/lib/oe/manifest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/lib/oe

Re: [OE-core] [PATCH 2/2] kernel: Add optional patch_xenomai task

2018-01-07 Thread akuster808
On 01/07/2018 10:57 AM, Marek Vasut wrote: > On 01/07/2018 07:55 PM, Bruce Ashfield wrote: >> On Sun, Jan 7, 2018 at 1:49 PM, Marek Vasut wrote: >>> On 01/07/2018 06:55 PM, Bruce Ashfield wrote: On Sun, Jan 7, 2018 at 12:53 PM, Marek Vasut wrote: > On 01/07/2018 05:42 PM, Bruce Ashfiel

Re: [OE-core] [PATCH 2/2] kernel: Add optional patch_xenomai task

2018-01-07 Thread Marek Vasut
On 01/07/2018 08:00 PM, Bruce Ashfield wrote: > On Sun, Jan 7, 2018 at 1:57 PM, Marek Vasut wrote: >> On 01/07/2018 07:55 PM, Bruce Ashfield wrote: >>> On Sun, Jan 7, 2018 at 1:49 PM, Marek Vasut wrote: On 01/07/2018 06:55 PM, Bruce Ashfield wrote: > On Sun, Jan 7, 2018 at 12:53 PM, Mare

Re: [OE-core] [PATCH 1/2] xenomai: Add xenomai recipe

2018-01-07 Thread Marek Vasut
On 01/07/2018 08:27 PM, Alexander Kanavin wrote: > On 01/07/2018 07:55 PM, Marek Vasut wrote: Add recipe for the xenomai. This recipe is used twice, once to build the xenomai userspace components and again to patch the kernel with the cobalt core. Therefore, the xenomai sources are i

Re: [OE-core] [PATCH 1/2] xenomai: Add xenomai recipe

2018-01-07 Thread Alexander Kanavin
On 01/07/2018 07:55 PM, Marek Vasut wrote: Add recipe for the xenomai. This recipe is used twice, once to build the xenomai userspace components and again to patch the kernel with the cobalt core. Therefore, the xenomai sources are installed into work-shared rather then work to make them accessib

Re: [OE-core] [PATCH 2/2] kernel: Add optional patch_xenomai task

2018-01-07 Thread Bruce Ashfield
On Sun, Jan 7, 2018 at 1:57 PM, Marek Vasut wrote: > On 01/07/2018 07:55 PM, Bruce Ashfield wrote: >> On Sun, Jan 7, 2018 at 1:49 PM, Marek Vasut wrote: >>> On 01/07/2018 06:55 PM, Bruce Ashfield wrote: On Sun, Jan 7, 2018 at 12:53 PM, Marek Vasut wrote: > On 01/07/2018 05:42 PM, Bruce

Re: [OE-core] [PATCH 2/2] kernel: Add optional patch_xenomai task

2018-01-07 Thread Marek Vasut
On 01/07/2018 07:55 PM, Bruce Ashfield wrote: > On Sun, Jan 7, 2018 at 1:49 PM, Marek Vasut wrote: >> On 01/07/2018 06:55 PM, Bruce Ashfield wrote: >>> On Sun, Jan 7, 2018 at 12:53 PM, Marek Vasut wrote: On 01/07/2018 05:42 PM, Bruce Ashfield wrote: > On Sun, Jan 7, 2018 at 11:38 AM, Mar

Re: [OE-core] [PATCH 2/2] kernel: Add optional patch_xenomai task

2018-01-07 Thread Bruce Ashfield
On Sun, Jan 7, 2018 at 1:49 PM, Marek Vasut wrote: > On 01/07/2018 06:55 PM, Bruce Ashfield wrote: >> On Sun, Jan 7, 2018 at 12:53 PM, Marek Vasut wrote: >>> On 01/07/2018 05:42 PM, Bruce Ashfield wrote: On Sun, Jan 7, 2018 at 11:38 AM, Marek Vasut wrote: > On 01/07/2018 05:37 PM, Bruce

[OE-core] [ROCKO][PATCH 0/2] Update to version in master

2018-01-07 Thread Armin Kuster
The main reason for the backport to Rocko is to pick up two CVE's: CVE-2017-13080 and CVE-2017-13081 Otavio Salvador (1): linux-firmware: Bump to bf04291 revision Saul Wold (1): linux-firmware: Split out the QAT firmware meta/recipes-kernel/linux-firmware/linux-firmware_git.bb | 12

Re: [OE-core] [PATCH 2/2] kernel: Add optional patch_xenomai task

2018-01-07 Thread Marek Vasut
On 01/07/2018 06:55 PM, Bruce Ashfield wrote: > On Sun, Jan 7, 2018 at 12:53 PM, Marek Vasut wrote: >> On 01/07/2018 05:42 PM, Bruce Ashfield wrote: >>> On Sun, Jan 7, 2018 at 11:38 AM, Marek Vasut wrote: On 01/07/2018 05:37 PM, Bruce Ashfield wrote: > On Sun, Jan 7, 2018 at 11:19 AM, Ma

[OE-core] [ROCKO][PATCH 1/2] linux-firmware: Split out the QAT firmware

2018-01-07 Thread Armin Kuster
From: Saul Wold Create a new qat package for those firmware blobs Signed-off-by: Saul Wold Signed-off-by: Ross Burton (cherry picked from commit b48c746736012cfd85e8263efcf125ecd17ca7bb) Signed-off-by: Armin Kuster --- meta/recipes-kernel/linux-firmware/linux-firmware_git.bb | 8 1

[OE-core] [ROCKO][PATCH 2/2] linux-firmware: Bump to bf04291 revision

2018-01-07 Thread Armin Kuster
From: Otavio Salvador This includes following changes: bf04291 WHENCE: Add new qed firmware d8fc990 WHENCE: Add new radeon firmware 7245319 WHENCE: Fix syntax error for iwlwifi-8265-31.ucode entry 18d71a8 Revert "ath10k: QCA988X hw2.0: update firmware to 10.2.4.70.63-2" 4ebfab3 ath10k: QCA6174 h

Re: [OE-core] [morty][PATCH 1/7] acpid.inc: set CVE_PRODUCT to acpid2

2018-01-07 Thread akuster808
This set is now in morty. Thanks, Armin On 12/18/2017 05:50 AM, Ruslan Ruslichenko wrote: > From: Mikko Rapeli > > It is used in NVD database for CVE's like: > > https://nvd.nist.gov/vuln/detail/CVE-2011-4578 > > Signed-off-by: Mikko Rapeli > Signed-off-by: Ross Burton > (cherry picked from

Re: [OE-core] [morty][PATCH] cmake: avoid configure failures if CFLAGS contains -Wstrict-prototypes

2018-01-07 Thread akuster808
this in now in morty thanks, Armin On 12/13/2017 05:00 PM, Andre McCurdy wrote: > Signed-off-by: Andre McCurdy > Signed-off-by: Ross Burton > (cherry picked from commit 0c89b010ce2e426f55ac7c6f94befef988913834) > --- > meta/recipes-devtools/cmake/cmake.inc | 1 + > ...void-gcc-

Re: [OE-core] [PATCH 2/2] kernel: Add optional patch_xenomai task

2018-01-07 Thread Bruce Ashfield
On Sun, Jan 7, 2018 at 12:53 PM, Marek Vasut wrote: > On 01/07/2018 05:42 PM, Bruce Ashfield wrote: >> On Sun, Jan 7, 2018 at 11:38 AM, Marek Vasut wrote: >>> On 01/07/2018 05:37 PM, Bruce Ashfield wrote: On Sun, Jan 7, 2018 at 11:19 AM, Marek Vasut wrote: > Add additional task, do_patc

Re: [OE-core] [PATCH 1/2] xenomai: Add xenomai recipe

2018-01-07 Thread Marek Vasut
On 01/07/2018 06:17 PM, Alexander Kanavin wrote: > On 01/07/2018 06:19 PM, Marek Vasut wrote: >> Add recipe for the xenomai. This recipe is used twice, once to build >> the xenomai userspace components and again to patch the kernel with >> the cobalt core. Therefore, the xenomai sources are install

Re: [OE-core] [PATCH 2/2] kernel: Add optional patch_xenomai task

2018-01-07 Thread Marek Vasut
On 01/07/2018 05:42 PM, Bruce Ashfield wrote: > On Sun, Jan 7, 2018 at 11:38 AM, Marek Vasut wrote: >> On 01/07/2018 05:37 PM, Bruce Ashfield wrote: >>> On Sun, Jan 7, 2018 at 11:19 AM, Marek Vasut wrote: Add additional task, do_patch_xenomai, inserted between do_patch and do_configure

Re: [OE-core] [PATCH 1/2] xenomai: Add xenomai recipe

2018-01-07 Thread Alexander Kanavin
On 01/07/2018 06:19 PM, Marek Vasut wrote: Add recipe for the xenomai. This recipe is used twice, once to build the xenomai userspace components and again to patch the kernel with the cobalt core. Therefore, the xenomai sources are installed into work-shared rather then work to make them accessib

[OE-core] [PATCH] libunwind: Disable documentation explicitly

2018-01-07 Thread Richard Purdie
We don't have latex2man in HOSTTOOLs so documentaion is never built but this dependency does cause problems on older releases like morty, pre-HOSTTOOLS. Document the configuration explicitly in master. Signed-off-by: Richard Purdie --- meta/recipes-support/libunwind/libunwind.inc | 1 + 1 file c

[OE-core] [PATCH 1/2] icu-dbg: improve reproducibility

2018-01-07 Thread Juro Bystricky
Make sure build host references do not end up being compiled in the image. This only affects libicutu and icu-dbg. Signed-off-by: Juro Bystricky --- meta/recipes-support/icu/icu.inc | 9 + 1 file changed, 9 insertions(+) diff --git a/meta/recipes-support/icu/icu.inc b/meta/recipes-suppo

[OE-core] [PATCH 2/2] icu-dev: improve reproducibility

2018-01-07 Thread Juro Bystricky
Remove all build host references from several distributed files: Makefile.inc, icu-config, pkgdata.inc Signed-off-by: Juro Bystricky --- meta/recipes-support/icu/icu.inc | 8 1 file changed, 8 insertions(+) diff --git a/meta/recipes-support/icu/icu.inc b/meta/recipes-support/icu/icu.in

[OE-core] [PATCH 1/2] groff_1.22.3.bb: support SOURCE_DATE_EPOCH

2018-01-07 Thread Juro Bystricky
Patch backported from Debian: https://sources.debian.net/src/groff/1.22.3-9/debian/patches/source-date-epoch.patch/ Various documents contain information such as: %%Creator:​·​groff·​version·​1.​22.​3 %%CreationDate:​·​Sat·​Nov·​11·​01:​04:​26·​2017 The intent is to replace CreationDate by a val

[OE-core] [PATCH 2/2] groff-doc: improve reproducibility

2018-01-07 Thread Juro Bystricky
Some examples used "random" numbers to generate random RGB colors. This would break reproducible builds. The issue was solved by a patch backported from Debian. Signed-off-by: Juro Bystricky --- .../groff-1.22.3/hdtbl-examples-less-random.patch | 41 ++ meta/recipes-extended

[OE-core] [PATCH 2/2] perl-ptest: various fixes

2018-01-07 Thread Juro Bystricky
Improve reproducibility: Remove all build host references from distributed files. Do not package non-linux OS related files. Also remove some additional files not needed by run-ptest. (There are probably still more files that can be removed, but as long as they don't leak build host references the

[OE-core] [PATCH 1/2] perl-dbg: improve reproducibility

2018-01-07 Thread Juro Bystricky
Remove various build host references scattered within comments in numerous files that are distributed in the package. Signed-off-by: Juro Bystricky --- meta/recipes-devtools/perl/perl_5.24.1.bb | 13 + 1 file changed, 13 insertions(+) diff --git a/meta/recipes-devtools/perl/perl_5.2

Re: [OE-core] [PATCH 2/2] kernel: Add optional patch_xenomai task

2018-01-07 Thread Bruce Ashfield
On Sun, Jan 7, 2018 at 11:42 AM, Bruce Ashfield wrote: > On Sun, Jan 7, 2018 at 11:38 AM, Marek Vasut wrote: >> On 01/07/2018 05:37 PM, Bruce Ashfield wrote: >>> On Sun, Jan 7, 2018 at 11:19 AM, Marek Vasut wrote: Add additional task, do_patch_xenomai, inserted between do_patch and do_

Re: [OE-core] [PATCH 2/2] kernel: Add optional patch_xenomai task

2018-01-07 Thread Bruce Ashfield
On Sun, Jan 7, 2018 at 11:38 AM, Marek Vasut wrote: > On 01/07/2018 05:37 PM, Bruce Ashfield wrote: >> On Sun, Jan 7, 2018 at 11:19 AM, Marek Vasut wrote: >>> Add additional task, do_patch_xenomai, inserted between do_patch and >>> do_configure tasks. This task applies the cobalt patch to the ker

Re: [OE-core] [PATCH 2/2] kernel: Add optional patch_xenomai task

2018-01-07 Thread Marek Vasut
On 01/07/2018 05:37 PM, Bruce Ashfield wrote: > On Sun, Jan 7, 2018 at 11:19 AM, Marek Vasut wrote: >> Add additional task, do_patch_xenomai, inserted between do_patch and >> do_configure tasks. This task applies the cobalt patch to the kernel >> sources for a specific machine. This is disabled by

Re: [OE-core] [PATCH 2/2] kernel: Add optional patch_xenomai task

2018-01-07 Thread Bruce Ashfield
On Sun, Jan 7, 2018 at 11:19 AM, Marek Vasut wrote: > Add additional task, do_patch_xenomai, inserted between do_patch and > do_configure tasks. This task applies the cobalt patch to the kernel > sources for a specific machine. This is disabled by default, so use > PACKAGECONFIG[xenomai] of the ke

[OE-core] [PATCH 1/2] xenomai: Add xenomai recipe

2018-01-07 Thread Marek Vasut
Add recipe for the xenomai. This recipe is used twice, once to build the xenomai userspace components and again to patch the kernel with the cobalt core. Therefore, the xenomai sources are installed into work-shared rather then work to make them accessible to the kernel recipe, which triggers the p

[OE-core] [PATCH 2/2] kernel: Add optional patch_xenomai task

2018-01-07 Thread Marek Vasut
Add additional task, do_patch_xenomai, inserted between do_patch and do_configure tasks. This task applies the cobalt patch to the kernel sources for a specific machine. This is disabled by default, so use PACKAGECONFIG[xenomai] of the kernel package to enable the patching. You will also need a ke

Re: [OE-core] [PATCH] [PATCH] bjam-native: 1.65.1 -> 1.66.0

2018-01-07 Thread Alexander Kanavin
On 01/06/2018 10:31 AM, Huang Qiyu wrote: 1.Upgrade bjam-native form 1.65.1 to 1.66.0 2.Upgrade boost form 1.65.1 to 1.66.0 bjam is the build tool for boost that's packaged with it, so the patch should really be titled 'boost: update etc.' Alex --

Re: [OE-core] [PATCH] blktrace: 1.1.0+gitX -> 1.2.0+gitX

2018-01-07 Thread Alexander Kanavin
On 01/06/2018 10:31 AM, Huang Qiyu wrote: SRCREV = "43fc870ce04e963def45dfc0d1ed4ea21ef10d4b" -PV = "1.1.0+git${SRCPV}" +PV = "1.2.0+git${SRCPV}" PV is updated but SRCCREV is not, so this still fetches the 1.1.0 version. Please do pay more attention to the quality of your patches, submis

Re: [OE-core] [PATCH] [PATCH] bjam-native: 1.65.1 -> 1.66.0

2018-01-07 Thread Richard Purdie
On Sat, 2018-01-06 at 16:31 +0800, Huang Qiyu wrote: > 1.Upgrade bjam-native form 1.65.1 to 1.66.0 > 2.Upgrade boost form 1.65.1 to 1.66.0 > > Signed-off-by: Huang Qiyu https://autobuilder.yocto.io/builders/nightly-musl/builds/700/steps/BuildImages/logs/stdio Applying patch 0003-Don-t-set-up-ar