Re: [OE-core] [PATCH 2/2] build-appliance-image: include proxy on pip3 installation

2017-08-19 Thread Sandoval Gonzalez, Leonardo
El 8/19/2017 a las 4:14 PM, Richard Purdie escribió: On Tue, 2017-08-15 at 12:08 -0700, leonardo.sandoval.gonza...@linux.intel.com wrote: From: Leonardo Sandoval Otherwise, we get timeouts, leading to errors: pip._vendor.requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='pyp

Re: [OE-core] [PATCH 2/2] build-appliance-image: include proxy on pip3 installation

2017-08-19 Thread Richard Purdie
On Tue, 2017-08-15 at 12:08 -0700, leonardo.sandoval.gonza...@linux.intel.com wrote: > From: Leonardo Sandoval > > Otherwise, we get timeouts, leading to errors: > > pip._vendor.requests.exceptions.ConnectTimeout: > HTTPSConnectionPool(host='pypi.python.org', port=443): Max retries > exceede

[OE-core] [PATCH v4 3/5] image_types.bbclass: improve cpio image reproducibility

2017-08-19 Thread Juro Bystricky
This patch helps to build cpio images that are binary reproducible. The changes are as follows: 1. By default, cpio from the host is used, which can be quite old. Hence we need to implement a way to use/call cpio-native, which supports new features needed for binary reproducibility, notably

[OE-core] [PATCH v4 0/5] Reproducible binaries

2017-08-19 Thread Juro Bystricky
This is a reduced set of the original patchset "Reproducible binaries". For more details, please see the cover letter in: https://patchwork.openembedded.org/series/6504/# The patchset is reduced as some of the patches were already merged. Also removed from the patchset is the patch for python2.

[OE-core] [PATCH v4 4/5] poky-reproducible.conf: Initial version

2017-08-19 Thread Juro Bystricky
Simplify building reproducible images by using DISTRO="poky-reproducible" Sets some variables to reasonable values so users do not have to set them in local.conf. Signed-off-by: Juro Bystricky --- meta-poky/conf/distro/include/reproducible-group | 50 +++ meta-poky/conf/di

[OE-core] [PATCH v4 5/5] rootfs-postcommands.bbclass: support binary reproducibility

2017-08-19 Thread Juro Bystricky
Conditionally support binary reproducibility of rootfs images. If BUILD_REPRODUCIBLE_BINARIES = 1 then: 1. set /etc/timestamp to a reproducible value 2. set /etc/version to a reproducible value 3. set /etc/gconf: set mtime in all %gconf.xml to reproducible values The reproducible value is taken f

[OE-core] [PATCH v4 1/5] reproducible_build.bbclass: initial support for binary reproducibility

2017-08-19 Thread Juro Bystricky
Conditionally set some environment variables in order to achieve improved binary reproducibility. Providing BUILD_REPRODUCIBLE_BINARIES is set to "1", we set the following environment variables: export PYTHONHASHSEED=0 export PERL_HASH_SEED=0 export TZ="UTC" Additionally, we export and set SOURCE

[OE-core] [PATCH v4 2/5] cpio: provide cpio-replacement-native

2017-08-19 Thread Juro Bystricky
By default, bitbake uses host cpio, which can be quite old and missing crucial newever features. This patch allows to use the cpio-native instead, which is the latest upstream version. To use the cpio-native instead of the cpio from host, you need to specify: IMAGE_DEPENDS_cpio_append = " cpio-rep

[OE-core] [PATCH V3] db: Add --tag parameter to libtool invocation

2017-08-19 Thread Khem Raj
Fix do_configure to be able to regenerate configure files Use cross libtool as installed by OE, as done in normal autotooled recipes These changes help in invoking the libtool with proper tags for C and C++ compiler and linker invocation and not use same tag across all different invocations Fixe

[OE-core] [PATCH v2] python2.7: improve reproducibility

2017-08-19 Thread Juro Bystricky
The compiled .pyc files contain time stamp corresponding to the compile time. This prevents binary reproducibility. This patch allows to achieve binary reproducibility by overriding the build time stamp by the value exported via SOURCE_DATE_EPOCH. Patch by Bernhard M. Wiedemann, backported from h

[OE-core] [PATCH] kernel.bbclass: external toolchain fix

2017-08-19 Thread Juro Bystricky
Refactor get_cc_option so it is simpler and also does not fail when using external toolchain. Signed-off-by: Juro Bystricky --- meta/classes/kernel.bbclass | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 2

Re: [OE-core] [PATCH v3 08/11] python2.7: improve reproducibility

2017-08-19 Thread Bystricky, Juro
No problem, I will rename the patch, so the name is similar(and more descriptive) as the one for python3. -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded

Re: [OE-core] [PATCH v3 01/11] reproducible_build.bbclass: initial support for binary reproducibility

2017-08-19 Thread Bystricky, Juro
Yes, this should not be a problem, it is actually a good idea. I am currently running a test buid witth the file created in ${WORKDIR}. I will send a patch to ML soon. From: Martin Jansa [martin.ja...@gmail.com] Sent: Saturday, August 19, 2017 1:25 AM To: Bystricky

[OE-core] [PATCH 2/2] linux-firmware: package ibt-firmware

2017-08-19 Thread Maciej Pijanowski
ibt-firmware was not packaged separately and was part of big linux-firmware package. Packaging allows to install it separately, according to requirements. Signed-off-by: Maciej Pijanowski --- .../linux-firmware/linux-firmware_git.bb | 30 ++ 1 file changed, 30 inser

[OE-core] [PATCH 1/2] linux-firmware: package iwlfifi-3160-[10-17] firmware

2017-08-19 Thread Maciej Pijanowski
Package iwlwifi-3160-[10-17] firmware from iwlwifi-misc to seperate packages, so it is possible to install only required firmare package. Signed-off-by: Maciej Pijanowski --- .../recipes-kernel/linux-firmware/linux-firmware_git.bb | 17 + 1 file changed, 17 insertions(+) diff --

Re: [OE-core] [PATCH v3 01/11] reproducible_build.bbclass: initial support for binary reproducibility

2017-08-19 Thread Martin Jansa
Would it make sense to create src_date_epoch.txt outside ${S} directory? In some recipes (which weren't picky what they install from ${S} to ${D}) I've noticed that src_date_epoch.txt is now included in their package (I've noticed, because 2 different packages were trying to install this file on t

Re: [OE-core] [PATCH 2/3] mesa: Enable gallium-llvm on x86 and x86_64

2017-08-19 Thread Richard Purdie
On Sun, 2017-08-13 at 20:24 -0700, Khem Raj wrote: > Signed-off-by: Khem Raj > --- >  meta/recipes-graphics/cairo/cairo.inc | 3 ++- >  meta/recipes-graphics/mesa/mesa.inc   | 3 +++ >  2 files changed, 5 insertions(+), 1 deletion(-) Fails with various multilib tests: https://autobuilder.yoctoproj

Re: [OE-core] [PATCH V2] db: Add --tag parameter to libtool invocation

2017-08-19 Thread Richard Purdie
On Fri, 2017-08-18 at 08:52 -0700, Khem Raj wrote: > Fix do_configure to be able to regenerate configure files > > Use cross libtool as installed by OE, as done in normal autotooled > recipes > > These changes help in invoking the libtool with proper tags for C > and C++ compiler and linker invoc