[YOCTO #11209]
Signed-off-by: Markus Lehtonen
---
meta/lib/oe/package_manager.py | 14 +-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py
index 518cf8dbe3..942f2dd903 100644
--- a/meta/lib/oe
On 11/08/2017, 14.11, "Alexander Kanavin"
wrote:
On 08/11/2017 01:51 PM, Markus Lehtonen wrote:
> --- a/meta-selftest/lib/oeqa/runtime/cases/dnf_runtime.py
> +++ b/meta-selftest/lib/oeqa/runtime/cases/dnf_runtime.py
> @@ -31,12 +31,24 @@ class
Prevent stale temp files and a possible (if unlikely) race in tempfile
usage.
Signed-off-by: Markus Lehtonen
---
meta-selftest/lib/oeqa/runtime/cases/dnf_runtime.py | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/meta-selftest/lib/oeqa/runtime/cases/dnf_runtime.py
[YOCTO #12099]
Signed-off-by: Markus Lehtonen
---
meta-selftest/files/signing/key.passphrase | 1 +
meta-selftest/lib/oeqa/runtime/cases/dnf_runtime.py | 12
meta/lib/oeqa/selftest/cases/runtime_test.py| 13 -
3 files changed, 25 insertions(+), 1
This makes it possible to enable 'repo_gpgcheck' in dnf.conf. That is, do
GPG signature check on repository metadata. Without gnupg dnf fails with
"error: Invalid crypto engine."
[YOCTO #11209]
Signed-off-by: Markus Lehtonen
---
meta/recipes-devtools/dnf/dnf_2.5.1.bb | 2 +
Rename one dnf runtime test that it will recognized as a python module
and thus also found by the oe test loader. Also, fix value of
TEST_SUITES in dnf selftest so that all test dependencies are satisfied
and the runtime test may be successfully run from there.
Signed-off-by: Markus Lehtonen
[YOCTO #11209]
Signed-off-by: Markus Lehtonen
---
meta/lib/oe/package_manager.py | 14 +-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py
index 518cf8dbe3..942f2dd903 100644
--- a/meta/lib/oe
ble in the git repository at:
git://git.openembedded.org/openembedded-core-contrib marquiz/fixes-11209
http://cgit.openembedded.org/openembedded-core-contrib/log/?h=marquiz/fixes-11209
Markus Lehtonen (5):
lib/oe/package_manager: re-implement rpm feed signing
dnf: rrecommend gnupg
o
edded-core-contrib/log/?h=marquiz/fixes-9338
Markus Lehtonen (8):
python3-native: support profile optimized build
python3: fix depends of python3-tests
python3: add python3-profile-opt recipe
devtools/images: add python-pgo-image
python3: support profile optimized build
python3: fix pr
specified with PYTHON3_PROFILE_TASK.
The default profile task is pybench, although an example for using
test.regrtest is included in the recipe.
[YOCTO #9338]
Signed-off-by: Markus Lehtonen
---
meta/recipes-devtools/images/python-pgo-image.bb | 85
1 file changed, 85
the target hardware. This patch enables the first step,
i.e. building python with profile instrumentation enabled
[YOCTO #9338]
Signed-off-by: Markus Lehtonen
---
meta/recipes-devtools/python/python3-profile-opt | 1 +
.../python/python3-profile-opt_3.5.2.bb| 12 +++
es when running "gcc -E -v".
The second hack becomes useless after the first hack has been removed
and we get the standard include and lib directories normally from gcc.
Signed-off-by: Markus Lehtonen
---
.../python/python3-profile-opt_3.5.2.bb| 3 ++
.../python3
.conf, e.g.
PYTHON3_NATIVE_PROFILE_TASK = "${S}/Tools/pybench/pybench.py -n 2 --with-gc
--with-syscheck"
[YOCTO #9338]
Signed-off-by: Markus Lehtonen
---
meta/recipes-devtools/python/python3-native_3.5.2.bb | 9 +
meta/recipes-devtools/python/python3/000-cross-compile.patch | 9 -
changes since commit 138f3e3f81d866e8272b01dd88c164b367adc4cd:
byacc: remove the recipe (2017-05-16 14:08:19 +0100)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib marquiz/fixes-9338
http://cgit.openembedded.org/openembedded-core-contrib/log/?h=marquiz/fixes-9338
Without this the pgo-related compiler flags are not used in
cross-builds.
[YOCTO #9338]
Signed-off-by: Markus Lehtonen
---
...-CFLAGS-for-extensions-when-cross-compili.patch | 56 ++
meta/recipes-devtools/python/python3_3.5.2.bb | 1 +
2 files changed, 57 insertions
specify
PYTHON3_PROFILE_OPT = "1" in your local.conf, and, have profile data available
in the location pointed to by PYTHON3_PROFILE_DIR. Profile data can be
obtainen e.g. by running bitbake python-pgo-image -c profile3.
[YOCTO #9338]
Signed-off-by: Markus Lehtonen
---
meta/recipe
Useful in developing Python, e.g. in benchmarking.
[YOCTO #9338]
Signed-off-by: Markus Lehtonen
---
meta/recipes-devtools/python/python-3.5-manifest.inc | 8 +---
meta/recipes-devtools/python/python3_3.5.2.bb| 5 +
2 files changed, 10 insertions(+), 3 deletions(-)
diff --git a
Similar to an earlier fix for Python 2.7. Make the tests subpackage
depend on all modules as test.regrtest uses most (if not all) of them.
Some tests also depend on libgcc so add that as a runtime dependency as
well.
[YOCTO #9338]
Signed-off-by: Markus Lehtonen
---
meta/recipes-devtools
On 16/05/2017, 16.45, "Richard Purdie"
wrote:
On Tue, 2017-05-16 at 16:18 +0300, Markus Lehtonen wrote:
> This patchset makes it possible to make a PGO (profile-guided-
> optimization) build of python. This version of the patchset is almost
> identical to v
On 16/05/2017, 16.23, "Alexander Kanavin"
wrote:
On 05/16/2017 04:18 PM, Markus Lehtonen wrote:
> This patchset makes it possible to make a PGO
(profile-guided-optimization)
> build of python. This version of the patchset is almost identical to v1
> submitt
3.
[YOCTO #9338]
Signed-off-by: Markus Lehtonen
---
meta/recipes-devtools/python/python-profile-opt3 | 1 +
.../python/python-profile-opt3_3.5.2.bb| 15 +++
...efile-add-install_generate_profile-target.patch | 25 +
...name-libpython3-to-libpython-profile-opt3.p
Similar to an earlier fix for Python 2.7. Make the tests subpackage
depend on all modules as test.regrtest uses most (if not all) of them.
Some tests also depend on libgcc so add that as a runtime dependency as
well.
[YOCTO #9338]
Signed-off-by: Markus Lehtonen
---
meta/recipes-devtools
tbake python-pgo-image -c clean"
(or otherwise wipe pre-existing profile data) before running
"bitbake python-pgo-image -c profile".
[YOCTO #9338]
Signed-off-by: Markus Lehtonen
---
meta/recipes-devtools/images/python-pgo-image.bb | 15 +--
1 file changed, 13 insert
[YOCTO #9338]
Signed-off-by: Markus Lehtonen
---
meta/recipes-devtools/python/python-3.5-manifest.inc | 8 +---
meta/recipes-devtools/python/python3_3.5.2.bb| 5 +
2 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/meta/recipes-devtools/python/python-3.5
ata can be obtainen e.g. by running bitbake python-pgo-image -c
profile3.
[YOCTO #9338]
Signed-off-by: Markus Lehtonen
---
meta/recipes-devtools/python/python3_3.5.2.bb | 20
1 file changed, 20 insertions(+)
diff --git a/meta/recipes-devtools/python/python3_3.5.2.bb
b/me
es when running "gcc -E -v".
The second hack becomes useless after the first hack has been removed
and we get the standard include and lib directories normally from gcc.
[YOCTO #9338]
Signed-off-by: Markus Lehtonen
---
.../python3-setup.py-no-host-h
Switch to pybench in order to reduce the time taken by profiling.
[YOCTO #9338]
Signed-off-by: Markus Lehtonen
---
meta/recipes-devtools/images/python-pgo-image.bb | 18 ++
1 file changed, 10 insertions(+), 8 deletions(-)
diff --git a/meta/recipes-devtools/images/python-pgo
Running test.regrtest was still taking ridiculously long, i.e. around 4
hours in qemux86 on my desktop machine. Change to pybench which "only"
takes around 55 minutes.
[YOCTO #9338]
Signed-off-by: Markus Lehtonen
---
meta/recipes-devtools/images/python-pgo-image.bb | 11 ++---
This feature is virtually identical to that of python-native. Profile
guided optimization is enabled by defining
PYTHON3_NATIVE_PROFILE_OPT = "1"
in local.conf. In addition, the profile task may be defined with
PYTHON3_NATIVE_PROFILE_TASK.
[YOCTO #9338]
Signed-off-by: Markus Lehtonen
Without this the pgo-related compiler flags are not used in
cross-builds.
[YOCTO #9338]
Signed-off-by: Markus Lehtonen
---
...-CFLAGS-for-extensions-when-cross-compili.patch | 56 ++
meta/recipes-devtools/python/python3_3.5.2.bb | 1 +
2 files changed, 57 insertions
test_urllib2_localnet: 1276.8s
test_itertools: 944.7s
test_tuple: 847.7s
test_trace: 756.7s
test_tarfile: 716.7s
test_unicodedata: 709.9s
test_decimal: 615.1s
[YOCTO #9338]
Signed-off-by: Markus Lehtonen
---
meta/recipes-devtools/images/python-pgo-image.bb | 5 +
1 file
Useful in developing Python, e.g. in benchmarking.
[YOCTO #9338]
Signed-off-by: Markus Lehtonen
---
meta/recipes-devtools/python/python-2.7-manifest.inc | 8 +---
meta/recipes-devtools/python/python_2.7.13.bb| 5 +
2 files changed, 10 insertions(+), 3 deletions(-)
diff --git a
ay
be specified with PYTHON3_PROFILE_TASK.
[YOCTO #9338]
Signed-off-by: Markus Lehtonen
---
meta/recipes-devtools/images/python-pgo-image.bb | 57 +++-
1 file changed, 45 insertions(+), 12 deletions(-)
diff --git a/meta/recipes-devtools/images/python-pgo-image.bb
b/meta/rec
specifying ${PYTHON_PROFILE_TASK}.
[YOCTO #9338]
Signed-off-by: Markus Lehtonen
---
meta/recipes-devtools/images/python-pgo-image.bb | 62
1 file changed, 62 insertions(+)
create mode 100644 meta/recipes-devtools/images/python-pgo-image.bb
diff --git a/meta/recipes-devtools
-core-contrib marquiz/fixes-9338
http://cgit.openembedded.org/openembedded-core-contrib/log/?h=marquiz/fixes-9338
Markus Lehtonen (20):
python-native: support profile optimized build
python: add python-profile-opt recipe
python: remove path hack from setup.py
python-profile-opt: rename
OFILE_TASK = "${S}/Tools/pybench/pybench.py -n 2 --with-gc
--with-syscheck"
[YOCTO #9338]
Signed-off-by: Markus Lehtonen
---
...x-.so-loading-when-when-running-profile-t.patch | 26 ++
.../python/python-native_2.7.13.bb | 10 +
2 files ch
headers.
[YOCTO #9338]
Signed-off-by: Markus Lehtonen
---
.../python/python/01-use-proper-tools-for-cross-build.patch| 10 --
1 file changed, 10 deletions(-)
diff --git
a/meta/recipes-devtools/python/python/01-use-proper-tools-for-cross-build.patch
b/meta/recipes-devtools/python
PYTHON_PROFILE_OPT = "1" in your local.conf. Be sure to get the profile
data for python, preferably by running
"bitbake python-pgo-image -c profile".
[YOCTO #9338]
Signed-off-by: Markus Lehtonen
---
meta/recipes-devtools/python/python_2.7.13.bb | 25 -
]
Signed-off-by: Markus Lehtonen
---
meta/recipes-devtools/images/python-pgo-image.bb | 9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-devtools/images/python-pgo-image.bb
b/meta/recipes-devtools/images/python-pgo-image.bb
index af9da20338..426d6acb45 100644
. This patch enables the first step, i.e.
building python with profile instrumentation enabled
[YOCTO #9338]
Signed-off-by: Markus Lehtonen
---
.../python/python-profile-opt_2.7.13.bb| 17 ++
meta/recipes-devtools/python/python_2.7.13.bb | 26 +++---
The python library needs to be renamed so that the automatic dependency
generation/checking mechanism in bitbake does not get confused.
Otherwise python-profile-opt will depend on libpython from the "normal"
python package.
[YOCTO #9338]
Signed-off-by: Markus Lehtonen
---
.../pyt
Signed-off-by: Markus Lehtonen
---
scripts/create-pull-request | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/create-pull-request b/scripts/create-pull-request
index 46d65386a3..5bdea44482 100755
--- a/scripts/create-pull-request
+++ b/scripts/create-pull-request
Buildstats from oe-build-perf-test results have been optimized to not
have child rusage values at all. There, rusage is the sum of parent and
child rusage values. This patch makes buildstats-diff compatible with
this format.
[YOCTO #11355]
Signed-off-by: Markus Lehtonen
---
scripts/buildstats
For dumping buildstats from the test runs being reported. The output
directory where buildstats are copied is 'oe-build-perf-buildstats/'.
Buildstats can be then further analyzed with buildstats-diff script, for
example.
[YOCTO #11355]
Signed-off-by: Markus Lehtonen
---
scripts/oe-
Signed-off-by: Markus Lehtonen
---
scripts/oe-build-perf-report | 45
1 file changed, 33 insertions(+), 12 deletions(-)
diff --git a/scripts/oe-build-perf-report b/scripts/oe-build-perf-report
index fc32fbe39a..34591bec16 100755
--- a/scripts/oe
1b95c:
python*-git: Upgrade to version 2.1.3 (2017-05-12 08:49:30 +0100)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib marquiz/fixes-11355
http://cgit.openembedded.org/openembedded-core-contrib/log/?h=marquiz/fixes-11355
Markus Lehton
Signed-off-by: Markus Lehtonen
---
scripts/oe-build-perf-report | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/oe-build-perf-report b/scripts/oe-build-perf-report
index ced5ff2e12..fc32fbe39a 100755
--- a/scripts/oe-build-perf-report
+++ b/scripts/oe-build-perf
We use rev-parse for turning git object names into SHA-1 and checking
their existence. Using --verify option makes sure git-rev-parse does
what we expect.
Signed-off-by: Markus Lehtonen
---
meta/lib/oeqa/utils/git.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/lib
The target branch name might contain slashes.
Signed-off-by: Markus Lehtonen
---
scripts/oe-build-perf-report | 1 +
1 file changed, 1 insertion(+)
diff --git a/scripts/oe-build-perf-report b/scripts/oe-build-perf-report
index 876e3b1a76..d460caae18 100755
--- a/scripts/oe-build-perf-report
Signed-off-by: Markus Lehtonen
---
scripts/oe-build-perf-report | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/scripts/oe-build-perf-report b/scripts/oe-build-perf-report
index ced5ff2e12..876e3b1a76 100755
--- a/scripts/oe-build-perf-report
+++ b/scripts/oe-build-perf
Implement new '-R' command line option for specifying an rsync
destination where to upload test reports.
[YOCTO #5049]
Signed-off-by: Markus Lehtonen
---
scripts/contrib/build-perf-test-wrapper.sh | 30 +-
1 file changed, 25 insertions(+), 5 deletions(-)
Move get_os_release() from oeqa.utils.metadata to oe.lsb, merging the
code with release_dict_osr() from oe.lsb. This removes some code
duplication and makes get_os_release() more robust.
Signed-off-by: Markus Lehtonen
---
meta/lib/oe/lsb.py | 33
Total rewrite of the patch, as per Joshua's comments. Refactor and move
get_os_release() from oeqa.utils.metadata to oe.lsb.
Markus Lehtonen (1):
oe.lsb: add get_os_release()
meta/lib/oe/lsb.py | 33 -
meta/lib/oeqa/utils/metadata.py
On 26/04/2017, 17.47, "Joshua Lock" wrote:
On Wed, 2017-04-26 at 17:39 +0300, Markus Lehtonen wrote:
> Don't crash if every line in /etc/os-release does not adhere to the
> expected "key=val" format. E.g. CentOS 7 has empty lines in the file.
Don't crash if every line in /etc/os-release does not adhere to the
expected "key=val" format. E.g. CentOS 7 has empty lines in the file.
Signed-off-by: Markus Lehtonen
---
meta/lib/oeqa/utils/metadata.py | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git
executed from a cron script, for example.
Signed-off-by: Markus Lehtonen
---
scripts/contrib/oe-build-perf-report-email.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/scripts/contrib/oe-build-perf-report-email.py
b/scripts/contrib/oe-build-perf-report-email.py
index
Search remote branches, too, when finding the latest commit.
Signed-off-by: Markus Lehtonen
---
scripts/oe-build-perf-report | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/oe-build-perf-report b/scripts/oe-build-perf-report
index 6f2db49d5c..ced5ff2e12 100755
--- a
Three miscellaneous one-liners fixing minor issues in build performance test
reporting scripts.
Markus Lehtonen (3):
build-perf-test-wrapper.sh: support extra args for email script
oe-build-perf-report-email.py: use proper fallback email address
scripts/oe-build-perf-report: improve
Use properly formatted fallback email address instead of just the
username.
Signed-off-by: Markus Lehtonen
---
scripts/contrib/oe-build-perf-report-email.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/scripts/contrib/oe-build-perf-report-email.py
b/scripts/contrib/oe
Make it possible to provide (extra) command line arguments to the
oe-build-perf-test-email script via a new environment variable
OE_BUILD_PERF_REPORT_EMAIL_EXTRA_ARGS.
Signed-off-by: Markus Lehtonen
---
scripts/contrib/build-perf-test-wrapper.sh | 2 +-
1 file changed, 1 insertion(+), 1
Sending report email was not working correctly if the script was given
an html report path that contained directory components.
Signed-off-by: Markus Lehtonen
---
scripts/contrib/oe-build-perf-report-email.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/contrib/oe
://git.openembedded.org/openembedded-core-contrib marquiz/buildperf/scripts
http://git.openembedded.org/openembedded-core-contrib/log/?h=marquiz/buildperf/scripts
Markus Lehtonen (8):
scripts/oe-build-perf-report: better guessing of args
scripts/oe-build-perf-report: fix 'charts
Add new '-E' command line option for sending an email report to
specified recipient.
Signed-off-by: Markus Lehtonen
---
scripts/contrib/build-perf-test-wrapper.sh | 20 +++-
1 file changed, 19 insertions(+), 1 deletion(-)
diff --git a/scripts/contrib/build-perf-test-
Implement new '-P' option for spefifying a Git remote where to push
results after committing to a local Git repository.
Signed-off-by: Markus Lehtonen
---
scripts/contrib/build-perf-test-wrapper.sh | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/scripts/con
Test of the exit code was accidentally moved to wrong place when
oe-git-archive was taken into use.
Signed-off-by: Markus Lehtonen
---
scripts/contrib/build-perf-test-wrapper.sh | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/scripts/contrib/build-perf-test
Support : format for the -c argument. This makes it
possible to test older commits of a certain branch (not just the tip of
it) so that the branch name will still be correctly recorded in the test
report data.
Signed-off-by: Markus Lehtonen
---
scripts/contrib/build-perf-test-wrapper.sh | 31
h, in turn, caused oe-build-perf-report-email.py
script to fail with a timeout.
Signed-off-by: Markus Lehtonen
---
scripts/lib/build_perf/html/measurement_chart.html | 6 +++---
scripts/lib/build_perf/html/report.html| 5 +
2 files changed, 4 insertions(+), 7 deletions(-)
diff --
Signed-off-by: Markus Lehtonen
---
scripts/oe-build-perf-report | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/oe-build-perf-report b/scripts/oe-build-perf-report
index ca9cf1d..6f2db49 100755
--- a/scripts/oe-build-perf-report
+++ b/scripts/oe-build-perf-report
When getting info from the latest commit, don't search all refs but only
branches. We don't get correct data from refs/tags/* or refs/notest/*,
for example.
Signed-off-by: Markus Lehtonen
---
scripts/oe-build-perf-report | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
di
://git.openembedded.org/openembedded-core-contrib marquiz/buildperf/scripts
http://git.openembedded.org/openembedded-core-contrib/log/?h=marquiz/buildperf/scripts
Markus Lehtonen (7):
scripts/oe-build-perf-report: better guessing of args
scripts/oe-build-perf-report: fix 'charts ready' conso
generating HTML reports so it requires
python3-jinja2 to be installed on the system.
[YOCTO #10931]
Signed-off-by: Markus Lehtonen
---
scripts/lib/build_perf/__init__.py | 31 ++
scripts/lib/build_perf/html.py | 19 +
scripts/lib/build_perf/html
:
git://git.openembedded.org/openembedded-core-contrib marquiz/buildperf/scripts
http://git.openembedded.org/openembedded-core-contrib/log/?h=marquiz/buildperf/scripts
Markus Lehtonen (2):
scripts: add oe-build-perf-report script
scripts/contrib: add oe-build-perf-report-email
scripts
:
- phantomjs
- optipng
[YOCTO #10931]
Signed-off-by: Markus Lehtonen
---
scripts/contrib/oe-build-perf-report-email.py | 266 ++
scripts/lib/build_perf/scrape-html-report.js | 56 ++
2 files changed, 322 insertions(+)
create mode 100755 scripts/contrib/oe-build-perf
Limit the length of error logs to 40 lines. We don't need to
show/archive thousands of lines of bitbake logs if an error occurs.
Signed-off-by: Markus Lehtonen
---
meta/lib/oeqa/buildperf/base.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/lib/oeqa/buildperf/ba
Make it possible to limit the length of output lines shown in runCmd
exceptions. E.g when running bitbake we easily get thousands of lines of
log output, where only the last few (tens) are interesting or relevant
when an error occurs.
Signed-off-by: Markus Lehtonen
---
meta/lib/oeqa/utils
re no more per-testcase data files
to store permanently.
[YOCTO #10582]
Signed-off-by: Markus Lehtonen
---
meta/lib/oeqa/buildperf/base.py | 42 ---
meta/lib/oeqa/buildperf/test_basic.py | 24 +---
scripts/oe-build-perf-test| 1
git.openembedded.org/openembedded-core-contrib
marquiz/buildperf/buildstats
http://git.openembedded.org/openembedded-core-contrib/log/?h=marquiz/buildperf/buildstats
Markus Lehtonen (6):
oe-build-perf-test: pack all buildstat in one file
oe-build-perf-test: sum rusage in buildstats
scripts
Option for adding git-notes to the commit.
[YOCTO #10582]
Signed-off-by: Markus Lehtonen
---
scripts/oe-git-archive | 21 ++---
1 file changed, 18 insertions(+), 3 deletions(-)
diff --git a/scripts/oe-git-archive b/scripts/oe-git-archive
index 1805ab3..ab19cb9 100755
--- a
In order to dramatically reduce the data footprint of the result
branches. This makes cloning/pulling result repositories a lot faster.
Buildstats can still be accessed, when needed by doing
git fetch refs/notes/buildstats/*:refs/notes/buildstats/*
[YOCTO #10582]
Signed-off-by: Markus Lehtonen
Instead of separate rusage and child rusage values, only store their sum
value in buildstats. This is a big reduction in data footprint without
really losing any interesting data.
Also, utilize OrderedDict to order data more logically.
[YOCTO #10582]
Signed-off-by: Markus Lehtonen
---
meta
May be used for excluding certain files from the commit.
[YOCTO #10582]
Signed-off-by: Markus Lehtonen
---
scripts/oe-git-archive | 12 ++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/scripts/oe-git-archive b/scripts/oe-git-archive
index aef4ba1..1805ab3 100755
Git arguments were badly laid out.
Signed-off-by: Markus Lehtonen
---
scripts/oe-git-archive | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/scripts/oe-git-archive b/scripts/oe-git-archive
index 117118b..aef4ba1 100755
--- a/scripts/oe-git-archive
+++ b/scripts/oe-git
Signed-off-by: Markus Lehtonen
Signed-off-by: Ross Burton
(cherry picked from commit a00a362e3dc18ba04230cbbd6f91264e5d76f40d)
---
meta/lib/oe/gpg_sign.py | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/meta/lib/oe/gpg_sign.py b/meta/lib/oe/gpg_sign.py
index
Split the file list into chunks in order to avoid
"OSError: [Errno 7] Argument list too long"
This would happend when a package has huge amount of subpackages, e.g.
glibc-locale.
[YOCTO #11069]
Signed-off-by: Markus Lehtonen
Signed-off-by: Ross Burton
(cherry picked f
rty
Markus Lehtonen (4):
lib/oe/gpg_sign: sign rpm packages in chunks of 100
rpm: support customizing gpg command line
lib/oe/gpg_sign: make gpg version a property of the signer
lib/oe/gpg_sign: fix rpm signing with gpg > 2.1
meta/lib/oe/gpg_sign.py
Add a new %_gpg_sign_cmd_extra_args macro that allows customizing the
gpg options used when signing rpm packages. This is needed to be able to
sign packages with gpg 2.1 which requires "--pinentry-mode loopback" to
allow non-interactive signing.
[YOCTO #11054]
Signed-off-by: Marku
We need to check the gpg version and alter its command line options
accordingly.
[YOCTO #11054]
Signed-off-by: Markus Lehtonen
Signed-off-by: Ross Burton
(cherry picked from commit 44a44b7e582a5a654baf21829d168568481c13d9)
---
meta/lib/oe/gpg_sign.py | 2 ++
1 file changed, 2 insertions
On 23/02/2017, 17.58, "akuster808" wrote:
Markus,
On 02/23/2017 02:24 AM, Markus Lehtonen wrote:
> This patchset makes signing work with all versions of GPG. Previously,
rpm
> package signing in oe-core was not working with GPG v2.1 (which is
bec
Add new command line option '-x' that enbles xml-formatted reports.
Signed-off-by: Markus Lehtonen
---
scripts/contrib/build-perf-test-wrapper.sh | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/scripts/contrib/build-perf-test-wrapper.sh
b/scripts/contrib/
We need to check the gpg version and alter its command line options
accordingly.
[YOCTO #11054]
Signed-off-by: Markus Lehtonen
---
meta/lib/oe/gpg_sign.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/lib/oe/gpg_sign.py b/meta/lib/oe/gpg_sign.py
index 21dc5ea..b635d8b 100644
--- a
Signed-off-by: Markus Lehtonen
---
meta/lib/oe/gpg_sign.py | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/meta/lib/oe/gpg_sign.py b/meta/lib/oe/gpg_sign.py
index dcd1990..21dc5ea 100644
--- a/meta/lib/oe/gpg_sign.py
+++ b/meta/lib/oe/gpg_sign.py
@@ -10,6 +10,7
This patchset makes signing work with all versions of GPG. Previously, rpm
package signing in oe-core was not working with GPG v2.1 (which is becoming
more widespread). This was caused by a change in passphrase dialogue handling
of GPG.
[YOCTO #11054]
Markus Lehtonen (3):
rpm: support
Add a new %_gpg_sign_cmd_extra_args macro that allows customizing the
gpg options used when signing rpm packages. This is needed to be able to
sign packages with gpg 2.1 which requires "--pinentry-mode loopback" to
allow non-interactive signing.
[YOCTO #11054]
Signed-off-by: Marku
Split the file list into chunks in order to avoid
"OSError: [Errno 7] Argument list too long"
This would happend when a package has huge amount of subpackages, e.g.
glibc-locale.
[YOCTO #11069]
Signed-off-by: Markus Lehtonen
---
meta/lib/oe/gpg_sign.py | 9 +
1 file
running under
pseudo.
[YOCTO #10897]
Signed-off-by: Markus Lehtonen
---
meta/classes/license.bbclass | 15 +++
1 file changed, 3 insertions(+), 12 deletions(-)
diff --git a/meta/classes/license.bbclass b/meta/classes/license.bbclass
index 9923aac..96c0040 100644
--- a/meta/classes
Without this the pgo-related compiler flags are not used in
cross-builds.
[YOCTO #9338]
Signed-off-by: Markus Lehtonen
---
...-CFLAGS-for-extensions-when-cross-compili.patch | 56 ++
meta/recipes-devtools/python/python3_3.5.2.bb | 1 +
2 files changed, 57 insertions
es when running "gcc -E -v".
The second hack becomes useless after the first hack has been removed
and we get the standard include and lib directories normally from gcc.
[YOCTO #9338]
Signed-off-by: Markus Lehtonen
---
.../python3-setup.py-no-host-h
Running test.regrtest was still taking ridiculously long, i.e. around 4
hours in qemux86 on my desktop machine. Change to pybench which "only"
takes around 55 minutes.
[YOCTO #9338]
Signed-off-by: Markus Lehtonen
---
meta/recipes-devtools/images/python-pgo-image.bb | 11 ++---
[YOCTO #9338]
Signed-off-by: Markus Lehtonen
---
meta/recipes-devtools/python/python-3.5-manifest.inc | 8 +---
meta/recipes-devtools/python/python3_3.5.2.bb| 5 +
2 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/meta/recipes-devtools/python/python-3.5
ata can be obtainen e.g. by running bitbake python-pgo-image -c
profile3.
[YOCTO #9338]
Signed-off-by: Markus Lehtonen
---
meta/recipes-devtools/python/python3_3.5.2.bb | 20
1 file changed, 20 insertions(+)
diff --git a/meta/recipes-devtools/python/python3_3.5.2.bb
b/me
101 - 200 of 681 matches
Mail list logo