Drop the self-baked force_rm() method.
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
meta/lib/oeqa/buildperf/base.py| 15 ---
meta/lib/oeqa/buildperf/basic_tests.py | 5 +++--
2 files changed, 7 insertions(+), 13 deletions(-)
diff --git a/me
On Fri, 2016-08-05 at 19:24 +0300, Markus Lehtonen wrote:
> Previously, find_license_files() in license.bbclass just blindly
> assumed
> that all different licenses specified in LIC_FILES_CHKSUM have unique
> filenames. As a consequence, only the last one of these similarly
> named
On Mon, 2016-08-08 at 12:23 +0100, Burton, Ross wrote:
>
> On 8 August 2016 at 12:13, Maxin B. John
> wrote:
> > -LICENSE = "BSD"
> > +LICENSE = "BSD & GPLv2"
> > LICENSE_wiper = "GPLv2"
> >
> I sent a patch for this one last week but forgot to update the bug,
> sorry.
>
ot;
LIC_FILES_CHKSUM = "file://src/LICENCE;md5=d41d8cd98f00b204e9800998ecf8427e"
you must specify:
NO_GENERIC_LICENSE[my-custom-license] = "src/LICENCE"
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
meta/classes/license.bbclass | 30 +++
/deploy/licenses/util-linux-native: COPYING.1
Only in build2/tmp-glibc/deploy/licenses/util-linux-native: COPYING.2
On 05/08/16 19:04, "Markus Lehtonen"
<openembedded-core-boun...@lists.openembedded.org on behalf of
markus.lehto...@linux.intel.com> wrote:
>Previously,
ot;
LIC_FILES_CHKSUM = "file://src/LICENCE;md5=d41d8cd98f00b204e9800998ecf8427e"
you must specify:
NO_GENERIC_LICENSE[my-custom-license] = "src/LICENCE"
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
meta/classes/license.bbclass | 30 +
[YOCTO #9827]
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
meta/classes/package.bbclass | 3 +++
1 file changed, 3 insertions(+)
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index df010e1..a9709ad 100644
--- a/meta/classes/package.b
ath. For example,
defining FILES_{PN} = "symlink/file" causes a build failure because
symlinks target 'foo/bar' is not included at all.
[YOCTO #9827]
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
meta/classes/package.bbclass | 30 ++-
:
foomatic-filters: Security fixes CVE-2015-8327 (2016-08-01 12:11:09 +0100)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib marquiz/fixes-9827
http://git.openembedded.org/openembedded-core-contrib/log/?h=marquiz/fixes-9827
Markus Lehtonen (2
The loop iterating over LICENSE_pn variables has never worked. In
addition, the LICENSE variable is supposed to contain all licenses
defined in LICENSE_pn variables. Thus, it is simpler just to use LICENSE
as the data we get is essentially the same.
[YOCTO #9499]
Signed-off-by: Markus Lehtonen
SE_ values. It does
do not do advanced parsing/matching of license expressions, but,
checks that all licenses mentioned in LICENSE_ are also specified in
LICENSE. A warning is printed if problems are found.
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
meta/classes/b
: Security fixes CVE-2015-8327 (2016-08-01 12:11:09 +0100)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib marquiz/fixes-9499
http://git.openembedded.org/openembedded-core-contrib/log/?h=marquiz/fixes-9499
Markus Lehtonen (2):
license.bbclass: do
of this
patch. Version 3 of the patch fixes the issue by moving Python code outside the
value assignment.
Markus Lehtonen (1):
base.bbclass wipe ${S} before unpacking source
meta/classes/base.bbclass | 19 +--
1 file changed, 9 insertions(+), 10 deletions(-)
--
2.6.6
Make sure that we have a pristine source tree after do_unpack.
[YOCTO #9064]
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
meta/classes/base.bbclass | 19 +--
1 file changed, 9 insertions(+), 10 deletions(-)
diff --git a/meta/classes/base.bbclass
On Mon, 2016-06-27 at 13:12 +0100, Joshua G Lock wrote:
> On Fri, 2016-06-24 at 13:37 +0300, Markus Lehtonen wrote:
[...SNIP...]
> > +
> > +@staticmethod
> > +def force_rm(path):
> > +"""Equivalent of 'rm -rf'"""
>
>
erf-python-rewrite
http://git.openembedded.org/openembedded-core-contrib/log/?h=marquiz/
build-perf-python-rewrite
Markus Lehtonen (28):
oeqa.utils.commands: Introduce get_bb_vars()
oeqa.utils.commands: use get_bb_vars() in get_bb_var()
oeqa.utils.commands: runCmd: gracefully han
The new option defines the output directory for the test result data.
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
scripts/oe-build-perf-test | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/scripts/oe-build-perf-test b/scripts/oe-build-per
Makes it possible to guard that multiple tests are not run in parallel.
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
scripts/oe-build-perf-test | 23 +++
1 file changed, 23 insertions(+)
diff --git a/scripts/oe-build-perf-test b/scripts/oe-buil
-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
scripts/contrib/build-perf-test-wrapper.sh | 102 +
1 file changed, 102 insertions(+)
create mode 100755 scripts/contrib/build-perf-test-wrapper.sh
diff --git a/scripts/contrib/build-perf-test-wrapper.sh
b/s
Have the build/conf directory as part of test results.
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
meta/lib/oeqa/buildperf/base.py | 8
1 file changed, 8 insertions(+)
diff --git a/meta/lib/oeqa/buildperf/base.py b/meta/lib/oeqa/buildperf/base.py
index 1
Using this option the script appends test results into a 'global results
file'. A CSV-formatted output of the results. This option is to provide
compatibility with the old build-perf-test.sh.
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
meta/lib/oeqa/buildperf/b
Re-implement "test2" from build-perf-test.sh which measures
'bitbake core-image-sato -c rootfs'.
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
meta/lib/oeqa/buildperf/basic_tests.py | 14 ++
1 file changed, 14 insertions(+)
diff --git a/meta/li
it possible to run the build performance test script even if the
top directory is not a git repository clone, for example.
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
meta/lib/oeqa/buildperf/base.py | 32
1 file changed, 32 insertions(+)
operations can be added later.
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
meta/lib/oeqa/utils/git.py | 38 ++
1 file changed, 38 insertions(+)
create mode 100644 meta/lib/oeqa/utils/git.py
diff --git a/meta/lib/oeqa/utils/gi
Re-implement "test1_p2" from build-perf-test.sh which measures
'bitbake virtual/kernel'.
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
meta/lib/oeqa/buildperf/basic_tests.py | 14 ++
1 file changed, 14 insertions(+)
diff --git a/meta/li
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
scripts/oe-build-perf-test | 16 +++-
1 file changed, 15 insertions(+), 1 deletion(-)
diff --git a/scripts/oe-build-perf-test b/scripts/oe-build-perf-test
index 0a9fc9e..ca90f69 100755
--- a/scripts/oe-buil
Re-implement "test4" from build-perf-test.sh which measures eSDK metrics.
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
meta/lib/oeqa/buildperf/basic_tests.py | 28
1 file changed, 28 insertions(+)
diff --git a/meta/li
Re-implement "test1_p3" from build-perf-test.sh which measures
'bitbake core-image-sato' with rm_work enabled.
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
meta/lib/oeqa/buildperf/basic_tests.py | 26 ++
1 file changed, 26 insertion
Re-implement "test3" from build-perf-test.sh which measures
bitbake parsing time.
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
meta/lib/oeqa/buildperf/basic_tests.py | 20
1 file changed, 20 insertions(+)
diff --git a/meta/li
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
meta/lib/oeqa/buildperf/base.py | 5 +
1 file changed, 5 insertions(+)
diff --git a/meta/lib/oeqa/buildperf/base.py b/meta/lib/oeqa/buildperf/base.py
index e29e9d1..c54b70c 100644
--- a/meta/lib/oeqa/buildperf/base.py
The new class is responsible for actually running the tests and
processing their results. This commit also adds a decorator function for
adding new tests. No automatic test discovery, at least yet.
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
meta/lib/oeqa/bui
Add a new method to BuildPerfTest class for measuring the disk usage of
a file of directory.
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
meta/lib/oeqa/buildperf/base.py | 19 +++
1 file changed, 19 insertions(+)
diff --git a/meta/lib/oeqa/bui
Re-implement "test1_p1" from build-perf-test.sh which measures
'bitbake core-image-sato'.
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
meta/lib/oeqa/buildperf/__init__.py| 3 ++-
meta/lib/oeqa/buildperf/basic_tests.py | 31
Add new methods to BuildPerfTest class for running a shell
command and logging its output.
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
meta/lib/oeqa/buildperf/base.py | 5 +
1 file changed, 5 insertions(+)
diff --git a/meta/lib/oeqa/buildperf/base.py b/meta/li
' where name is supposed to function as a common key or id over
test runs, making comparison and trending easier, for example. Legend is
supposed to be a short human readable description.
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
meta/lib/oeqa/buildperf/base.p
(with tee) is possible but not really dropping caches, yet.
User can avoid giving the password by adding something like:
ALL = NOPASSWD: /usr/bin/tee /proc/sys/vm/drop_caches
to the system sudoers file.
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
meta/lib/oeqa/bui
Useful if one wants to separate stdout and stderr.
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
meta/lib/oeqa/utils/commands.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/lib/oeqa/utils/commands.py b/meta/lib/oeqa/utils/commands.py
index 171c64f..1
The new class will be used as an abstract base class for build
performance tests. This implementation contains some common
functionality used in multiple tests, "copied" from the
build-perf-test.sh shell script.
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
--
Wireframe of a new Python module for containing build performance tests
and utility functions.
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
meta/lib/oeqa/buildperf/__init__.py | 12
1 file changed, 12 insertions(+)
create mode 100644 meta/lib/oeqa/bui
The script will be required to be run in an initialized bitbake build
environment.
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
scripts/oe-build-perf-test | 28
1 file changed, 28 insertions(+)
diff --git a/scripts/oe-build-perf-
A new function for getting values of multiple bitbake variables at the
same time.
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
meta/lib/oeqa/utils/commands.py | 33 +
1 file changed, 33 insertions(+)
diff --git a/meta/lib/oeqa
Initial wireframe for re-writing build-perf-test.sh in Python.
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
scripts/oe-build-perf-test | 51 ++
1 file changed, 51 insertions(+)
create mode 100755 scripts/oe-build-per
Get rid of duplicate code.
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
meta/lib/oeqa/utils/commands.py | 20 +---
1 file changed, 5 insertions(+), 15 deletions(-)
diff --git a/meta/lib/oeqa/utils/commands.py b/meta/lib/oeqa/utils/commands.py
/log/?h=marquiz/build-perf/python-rewrite
Markus Lehtonen (28):
oeqa.utils.commands: Introduce get_bb_vars()
oeqa.utils.commands: use get_bb_vars() in get_bb_var()
oeqa.utils.commands: runCmd: gracefully handle empty output
oeqa.utils.commands: runCmd: return stderr output, too
scripts
Don't crash if the caller redirects the command output e.g. into a file,
causing the "output" seen by runCmd to be None.
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
meta/lib/oeqa/utils/commands.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletion
t;
> BR Petter
>
> Petter Mabäcker
>
> Technux <pet...@technux.se>
> www.technux.se
> 2016-05-10 09:56 skrev Markus Lehtonen:
> > Ping,
> >
> > Any comments on this one?
> >
> > Discussion on v2 of the patch:
> > http://lists.openembedd
Hi Martin,
On Fri, 2016-05-27 at 12:07 +0200, Martin Jansa wrote:
> On Fri, May 27, 2016 at 09:26:10AM +0300, Markus Lehtonen wrote:
> > The loop iterating over LICENSE_pn variables has never worked. In
> > addition, the LICENSE variable is supposed to contain all licen
The loop iterating over LICENSE_pn variables has never worked. In
addition, the LICENSE variable is supposed to contain all licenses
defined in LICENSE_pn variables. Thus, it is simpler just to use LICENSE
as the data we get is essentially the same.
[YOCTO #9499]
Signed-off-by: Markus Lehtonen
Ping,
Any comments on this one?
Discussion on v2 of the patch:
http://lists.openembedded.org/pipermail/openembedded-core/2016-March/119295.html
Cheers,
Markus
On 22/03/16 18:47, "Markus Lehtonen"
<openembedded-core-boun...@lists.openembedded.org on behalf of
. This patch
fixes that by creating the directory hierarchy inside
write_deploy_manifest().
[YOCTO #9446]
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
meta/classes/license.bbclass | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/meta/c
This is a proposed fix to yocto bug #9446. It should fix the reported issue
although is was not able to reproduce the problem.
Markus Lehtonen (1):
license.bbclass: do write_deploy_manifest in image postprocessing
meta/classes/license.bbclass | 5 -
1 file changed, 4 insertions(+), 1
Call write_deploy_manifest() in image postprocessing phase, instead of
rootfs postprocessing. The reason being that not necessarily all
do_deploy tasks are dependencies of the do_rootfs and we might miss
something.
[YOCTO #9446]
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.
This patch adds better error logging inside the rpm tempfile function in
order to be able to better analyze a rare and very hard-to-reproduce
failure in oe-selftest for rpm signing.
[YOCTO #9416]
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
...more-verbose-error-l
-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
meta/classes/externalsrc.bbclass | 17 +
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/meta/classes/externalsrc.bbclass b/meta/classes/externalsrc.bbclass
index dff6184..da7eb478 100644
--- a/meta/c
Show the actual command that failed when raising a CmdError. Makes
figuring out what actually failed much easier.
[YOCTO #9344]
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
meta/lib/oe/patch.py | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff
[YOCTO #9344]
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
meta/lib/oe/patch.py | 14 +-
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/meta/lib/oe/patch.py b/meta/lib/oe/patch.py
index 6ab4427..9d36172 100644
--- a/meta/lib/oe/patch.py
Hi Paul,
On 08/03/16 07:03, "Paul Eggleton" <paul.eggle...@linux.intel.com> wrote:
>Hi Markus,
>
>On Thu, 25 Feb 2016 16:29:47 Markus Lehtonen wrote:
>> Be a bit more intelligent than mindlessly re-compiling every time.
>> Instead of using 'nostamp' flag
On 22/03/16 09:47, "Richard Purdie" <richard.pur...@linuxfoundation.org> wrote:
>On Tue, 2016-03-22 at 09:24 +0200, Markus Lehtonen wrote:
>> Make sure that we have a pristine source tree after do_unpack.
>>
>> [YOCTO #9064]
>>
>> Signed-off-by:
Make sure that we have a pristine source tree after do_unpack.
[YOCTO #9064]
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
meta/classes/base.bbclass | 12 ++--
1 file changed, 2 insertions(+), 10 deletions(-)
diff --git a/meta/classes/base.bbclass b/meta/c
9c200760cbbe322ed884729eb395f389c863e1c8:
oe-buildenv-internal: Correct the sed expression which updates $PATH
(2016-03-21 11:57:27 +)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib marquiz/devtool/fixes
Markus Lehtonen (2):
externalsrc: do not use do_configure[nostamp
-compilation (if any) after which the source tree is
"stabilized" and no more re-compilations happen.
[YOCTO #8853]
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
meta/classes/externalsrc.bbclass | 31 +--
1 file changed, 29 insertions
in the source tree are hashed. Subsequent builds are
not significantly slower because (most) file hashes are found from the
cache.
[YOCTO #8853]
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
meta/classes/externalsrc.bbclass | 2 +-
1 file changed, 1 insertion
Make sure that we have a pristine source tree after do_unpack.
[YOCTO #9064]
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
meta/classes/base.bbclass | 12 ++--
1 file changed, 2 insertions(+), 10 deletions(-)
diff --git a/meta/classes/base.bbclass b/meta/c
Resending this second iteration of the patch.
Markus Lehtonen (1):
base.bbclass wipe ${S} before unpacking source
meta/classes/base.bbclass | 12 ++--
1 file changed, 2 insertions(+), 10 deletions(-)
--
2.6.2
--
___
Openembedded-core
Implement a simple python-expect replacement in order to get rid of the
(currently undocumented) external dependency. Pexpect is only used for
rpm package signing.
[YOCTO #9304]
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
meta/lib/oe/gpg_sign.py
#9304]
Markus Lehtonen (1):
oe/gpg_sign: use our own immplementation of pexpect
meta/lib/oe/gpg_sign.py | 104 +---
1 file changed, 90 insertions(+), 14 deletions(-)
--
2.6.2
--
___
Openembedded-core
Hi,
On 14/03/16 22:43, "Paul Eggleton"
<openembedded-core-boun...@lists.openembedded.org on behalf of
paul.eggle...@linux.intel.com> wrote:
>From: Markus Lehtonen <markus.lehto...@linux.intel.com>
>
>This makes the correct kernel config to be used whe
Otherwise (if the symlink is named .config) kernel build considers
source tree as dirty and fails.
[YOCTO #9270]
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
scripts/lib/devtool/standard.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/s
_configure to be re-run in every build if that would not be necessary.
[YOCTO #8950]
[YOCTO #9237]
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
meta/classes/externalsrc.bbclass | 10 --
1 file changed, 4 insertions(+), 6 deletions(-)
diff --gi
On 02/03/16 16:47, "Ioan-Adrian Ratiu" wrote:
>Create gpg signed ipk package feeds using the gpg backend if configured.
>
>Signed-off-by: Ioan-Adrian Ratiu
>---
> meta/classes/sign_package_feed.bbclass | 17 -
>
On 02/03/16 16:47, "Ioan-Adrian Ratiu" wrote:
>Starting from v2.1 passing passwords directly to gpg does not work
>anymore [1], instead a loopback interface must be used otherwise
>gpg >2.1 will error out with:
>"gpg: signing failed: Inappropriate ioctl for device"
>
On 02/03/16 16:47, "Ioan-Adrian Ratiu" wrote:
>Implement ipk signing inside the sign_ipk bbclass using the gpg_sign
>module and configure signing similar to how rpm does it. sign_ipk uses
>gpg_sign's detach_sign because its functionality is identical to package
>feed
the files in the source tree are hashed. Subsequent builds are
not significantly slower because (most) file hashes are found from the
cache.
[YOCTO #8853]
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
meta/classes/externalsrc.bbclass | 25 +++--
1
expansion operator (2016-02-22 20:42:34 +)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib marquiz/devtool/fixes
Markus Lehtonen (1):
externalsrc.bbclas: remove nostamp from do_configure
meta/classes/externalsrc.bbclass | 25
On Tue, 2016-02-23 at 18:23 +, Burton, Ross wrote:
>
> On 23 February 2016 at 18:01, Christopher Larson > wrote:
> > db isn't the only recipe doing that. The fetcher unpack method
> > knows where it's unpacking to, I think if anyone should be clearing
> > out the
if we can remove
# the entire ${S} in this case.
What kind of special cases might we have? At least qemux86 core-image-sato
builds fine for me.
[YOCTO #9064]
Markus Lehtonen (1):
base.bbclass wipe ${S} before unpacking source
meta/classes/base.bbclass | 8 +++-
1 file changed, 3 insert
Make sure that we have a pristine source tree after do_unpack.
[YOCTO #9064]
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
meta/classes/base.bbclass | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/meta/classes/base.bbclass b/meta/c
Hi,
Resending as my I got a strange "Only members may post to the list."
error yesterday...
On Fri, 2016-02-19 at 17:45 +0200, Ioan-Adrian Ratiu wrote:
> This patch series extends the gpg_sign module to support ipk signing.
>
> v6 implements Markus' feedback. The most notable change is the
>
Hi,
Resending as my I got a strange "Only members may post to the list."
error yesterday...
On Fri, 2016-02-19 at 17:43 +0200, Ioan-Adrian Ratiu wrote:
> Starting from v2.1 passing passwords directly to gpg does not work
> anymore [1], instead a loopback interface must be used otherwise
> gpg
Hi,
Resending as my I got a strange "Only members may post to the list."
error yesterday...
On Fri, 2016-02-19 at 17:43 +0200, Ioan-Adrian Ratiu wrote:
> Implement ipk signing inside the sign_ipk bbclass using the gpg_sign
> module and configure signing similar to how rpm does it. sign_ipk
>
Hi Randy,
On Thu, 2016-02-18 at 07:38 -0800, Randy Witt wrote:
> Previously the keys were put into the os-release package. The package
> indexing code was also deploying the keys rather than only using the
> keys.
>
> This change makes signing-keys.bb the only publisher of the keys and
> also
>
On Thu, 2016-02-18 at 15:19 +, Christopher Larson wrote:
>
>
> On Thu, Feb 18, 2016 at 7:19 AM Markus Lehtonen <
> markus.lehto...@linux.intel.com> wrote:
> > Create config fragment if the user makes modifications to kernel
> > config.
> > User may cha
On 18/02/16 11:28, "Ioan-Adrian Ratiu" <adrian.ra...@ni.com> wrote:
>Hello
>
>On Thu, 18 Feb 2016 11:04:22 +0200
>Markus Lehtonen <markus.lehto...@linux.intel.com> wrote:
>
>> Hi,
>>
>>
>>
>> On 17/02/16 17:41, "
will be a symlink to ${B}/.config. We need to do this as
devtool is not able to access ${B} because ${B} is set in a .bbappend in
the workspace layer which is not parsed by devtool itself.
[YOCTO #8999]
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
scripts/lib/devtool/stand
Copy kernel config is copied to the source directory at a later phase in
_extract_source() so that it gets copied when devtool sync is done, too.
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
scripts/lib/devtool/standard.py | 6 +-
1 file changed, 5 insertions
-18 07:39:23 +)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib marquiz/devtool/kernel
for you to fetch changes up to 08dcad8878e8715f29ff9b63c65f3e9c177117a4:
devtool: update-recipe: create config fragment (2016-02-18 15:53:07 +0200)
Mar
On 17/02/16 17:41, "Ioan-Adrian Ratiu"
wrote:
>Create gpg signed ipk package feeds using the gpg backend if configured.
>
>Signed-off-by: Ioan-Adrian Ratiu
>---
>
On 17/02/16 17:41, "Ioan-Adrian Ratiu"
wrote:
>Add support for multiple types of signatures (binary or ascii)
>in export_pubkey(). There is no change in behaviour for the function,
>the previous implicit
Hi,
On 17/02/16 17:41, "Ioan-Adrian Ratiu"
wrote:
>Implement local ipk signing logic inside the gpg backend and add a new
>bbclass which configures signing similar to how rpm does it.
>
>The ipk signing
The functionality got broken after bitbake commit
8bf33a8e92c0e188fa392030025756196c96fcbb
which disabled the (bitbake) variable expansion inside python functions.
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
meta/classes/cml1.bbclass | 3 ++-
1 file changed, 2 inse
of the sysroot instead of the host file system.
This particular problem has probably been unnoticed as most users are
likely to have nss libraries installed on their host system. In this
case everything most likely work as expected.
[YOCTO #9041]
Signed-off-by: Markus Lehtonen <markus.le
On Sat, 2016-02-13 at 05:12 +, Christopher Larson wrote:
> On Fri, Feb 12, 2016 at 12:06 PM Markus Lehtonen <
> markus.lehto...@linux.intel.com> wrote:
> > Otherwise the nss libs do not get any RPATH/RUNPATH. Consequently,
> > the
> > .so dependencies of nss
of the sysroot instead of the host file system.
This particular problem has probably been unnoticed as nss-native is
seldom used and/or most users are likely to have nss libraries installed
on their host system. In this case everything most likely work as
expected.
[YOCTO #9041]
Signed-off-by: Markus
repository at:
git://git.openembedded.org/openembedded-core-contrib marquiz/sstate
for you to fetch changes up to 10ac62ab77a862a4efdcf68d20dd7331bfbc6f7a:
sstate.bbclass: use oe.gpg_sign for gpg signing (2016-02-10 16:02:18 +0200)
Markus Lehtonen (5):
oe/gpg_sign: add verify() method
oe
Refactor the LocalSigner class. Do not store keyid or passphrase file in
the signer object as they are only needed for some of the methods. For
example, the newly added verify() method does not need any key
parameters and export_pubkey only uses keyid.
Signed-off-by: Markus Lehtonen <markus.le
This allows directly giving the passphrase, instead of reading from a
file.
[YOCTO #9006]
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
meta/lib/oe/gpg_sign.py | 30 --
1 file changed, 20 insertions(+), 10 deletions(-)
diff --git a/meta/
[YOCTO #9006]
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
meta/lib/oe/gpg_sign.py | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/meta/lib/oe/gpg_sign.py b/meta/lib/oe/gpg_sign.py
index a4f310e..16a2364 100644
--- a/meta/lib/oe/gpg_sign.py
A new method for verifying detached signatures.
[YOCTO #9006]
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
meta/lib/oe/gpg_sign.py | 10 ++
1 file changed, 10 insertions(+)
diff --git a/meta/lib/oe/gpg_sign.py b/meta/lib/oe/gpg_sign.py
index 821787e..a
[YOCTO #9006]
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
meta/classes/sstate.bbclass | 38 +-
1 file changed, 17 insertions(+), 21 deletions(-)
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
index 0
On Fri, 2016-02-05 at 14:31 +, Burton, Ross wrote:
>
> On 5 February 2016 at 14:00, Markus Lehtonen <
> markus.lehto...@linux.intel.com> wrote:
> > +msgs.append("Please install python-pexpect that is
> > needed by lcocal gpg signing.")
> >
401 - 500 of 676 matches
Mail list logo