Re: [OE-core] [PATCH 3/3] package_manager: support for signed RPM package feeds

2015-08-26 Thread Markus Lehtonen
Hi Mark, On 26/08/15 18:10, Mark Hatle mark.ha...@windriver.com wrote: On 8/26/15 6:18 AM, Markus Lehtonen wrote: This change makes it possible to create GPG signed RPM package feeds - i.e. package feed with GPG signed metadata (repodata). All deployed RPM repositories will be signed

Re: [OE-core] [PATCH 1/3] package_rpm: support signing of rpm packages

2015-08-26 Thread Markus Lehtonen
Hi, On 26/08/15 18:04, Mark Hatle mark.ha...@windriver.com wrote: On 8/26/15 6:18 AM, Markus Lehtonen wrote: This patch adds a new bbclass for generating rpm packages that are signed with a user defined key. The packages are signed as part of the package_write_rpm task. In order to enable

[OE-core] [PATCH 0/2] combo-layer pull changes

2015-07-08 Thread Markus Lehtonen
Markus Lehtonen (2): combo-layer: only allow fast-forward when pulling combo-layer: implement --hard-reset option scripts/combo-layer | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) -- 2.1.4 -- ___ Openembedded-core

[OE-core] [PATCH 1/2] combo-layer: only allow fast-forward when pulling

2015-07-08 Thread Markus Lehtonen
last_revision field of the combo-layer config to point to a git commit that is only present in the users local component repository but nowhere in upstream. Signed-off-by: Markus Lehtonen markus.lehto...@linux.intel.com --- scripts/combo-layer | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[OE-core] [PATCH 2/2] combo-layer: implement --hard-reset option

2015-07-08 Thread Markus Lehtonen
This option causes combo-layer to do git fetch and hard reset instead of git pull in the component repositories. This makes sure that the local component repositories are always in sync with the remote - tolerating force pushes and overriding any locally made changes. Signed-off-by: Markus

Re: [OE-core] [PATCH v2 09/10] devtool: remove some unused return values

2015-06-17 Thread Markus Lehtonen
Hi Paul, On Wed, 2015-06-17 at 10:36 +0100, Paul Eggleton wrote: On Thursday 11 June 2015 14:34:15 Markus Lehtonen wrote: Signed-off-by: Markus Lehtonen markus.lehto...@linux.intel.com --- scripts/devtool | 1 - scripts/lib/devtool/standard.py | 3 --- 2 files changed

[OE-core] [PATCH v2 09/10] devtool: remove some unused return values

2015-06-11 Thread Markus Lehtonen
Signed-off-by: Markus Lehtonen markus.lehto...@linux.intel.com --- scripts/devtool | 1 - scripts/lib/devtool/standard.py | 3 --- 2 files changed, 4 deletions(-) diff --git a/scripts/devtool b/scripts/devtool index 0100eb8..307846a 100755 --- a/scripts/devtool +++ b/scripts

[OE-core] [PATCH v2 10/10] devtool: use DevtoolError for error handling

2015-06-11 Thread Markus Lehtonen
. Signed-off-by: Markus Lehtonen markus.lehto...@linux.intel.com --- scripts/devtool | 8 ++- scripts/lib/devtool/__init__.py | 6 ++ scripts/lib/devtool/deploy.py | 31 scripts/lib/devtool/standard.py | 154 ++-- 4 files changed

[OE-core] [PATCH v2 08/10] devtool: split out 'patch' update mode into a separate function

2015-06-11 Thread Markus Lehtonen
Continue refactoring of update_recipe() by splitting out the 'patch' mode into a separate function. Signed-off-by: Markus Lehtonen markus.lehto...@linux.intel.com --- scripts/lib/devtool/standard.py | 236 +--- 1 file changed, 122 insertions(+), 114 deletions

[OE-core] [PATCH v2 02/10] devtool: refactor bb task execution into a separate class

2015-06-11 Thread Markus Lehtonen
Signed-off-by: Markus Lehtonen markus.lehto...@linux.intel.com --- scripts/lib/devtool/standard.py | 50 - 1 file changed, 30 insertions(+), 20 deletions(-) diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py index 1e99413

[OE-core] [PATCH v2 06/10] devtool: slight simplification of path splitting logic

2015-06-11 Thread Markus Lehtonen
Signed-off-by: Markus Lehtonen markus.lehto...@linux.intel.com --- scripts/lib/devtool/standard.py | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py index 4b9cebb..c92c9ae 100644 --- a/scripts/lib

[OE-core] [PATCH v2 07/10] devtool: split out 'srcrev' update mode into a separate function

2015-06-11 Thread Markus Lehtonen
Refactor update_recipe() (i.e. the implementation of the update-recipe command) by splitting out the 'srcrev' into a distinct function. Signed-off-by: Markus Lehtonen markus.lehto...@linux.intel.com --- scripts/lib/devtool/standard.py | 188 1 file

[OE-core] [PATCH v2 01/10] devtool: fix wrong indentation

2015-06-11 Thread Markus Lehtonen
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/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py index c5b32d8..1e99413 100644 --- a/scripts/lib/devtool

[OE-core] [PATCH v2 05/10] devtool: simplify few conditionals a bit

2015-06-11 Thread Markus Lehtonen
Just refactor the code. Signed-off-by: Markus Lehtonen markus.lehto...@linux.intel.com --- scripts/lib/devtool/standard.py | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py index aa95e6e..4b9cebb

[OE-core] [PATCH v2 04/10] devtool: simplify the logic of determining patches to be removed

2015-06-11 Thread Markus Lehtonen
A slight simplification of the code. Signed-off-by: Markus Lehtonen markus.lehto...@linux.intel.com --- scripts/lib/devtool/standard.py | 25 +++-- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool

[OE-core] [PATCH v2 03/10] devtool: update-recipe: do rev parsing in a separate function

2015-06-11 Thread Markus Lehtonen
Split out the logic of determining initial rev and update rev into a separate function. Signed-off-by: Markus Lehtonen markus.lehto...@linux.intel.com --- scripts/lib/devtool/standard.py | 55 +++-- 1 file changed, 31 insertions(+), 24 deletions(-) diff --git

[OE-core] [PATCH v2 00/10] devtool refactoring

2015-06-11 Thread Markus Lehtonen
Markus Lehtonen (10): devtool: fix wrong indentation devtool: refactor bb task execution into a separate class devtool: update-recipe: do rev parsing in a separate function devtool: simplify the logic of determining patches to be removed

Re: [OE-core] [PATCH 0/6] devtool: improve handling of local source files

2015-06-11 Thread Markus Lehtonen
Hi Paul, On Thu, 2015-06-04 at 14:49 +0100, Paul Eggleton wrote: On Thursday 04 June 2015 16:12:07 Markus Lehtonen wrote: On Tue, 2015-05-12 at 19:01 +0100, Paul Eggleton wrote: On Thursday 30 April 2015 12:16:06 Markus Lehtonen wrote: This patchset tries to improve handling of local

Re: [OE-core] [PATCH 00/10] devtool refactoring

2015-06-10 Thread Markus Lehtonen
Hi, On 09/06/15 18:01, Paul Eggleton paul.eggle...@linux.intel.com wrote: Hi Markus, On Thursday 04 June 2015 19:31:44 Markus Lehtonen wrote: This patchset contains contains some refactoring of the devtool code, hopefully making the code more maintainable and somewhat easier to read

[OE-core] [PATCH 03/10] devtool: update-recipe: do rev parsing in a separate function

2015-06-04 Thread Markus Lehtonen
Split out the logic of determining initial rev and update rev into a separate function. Signed-off-by: Markus Lehtonen markus.lehto...@linux.intel.com --- scripts/lib/devtool/standard.py | 55 +++-- 1 file changed, 31 insertions(+), 24 deletions(-) diff --git

[OE-core] [PATCH 04/10] devtool: simplify the logic of determining patches to be removed

2015-06-04 Thread Markus Lehtonen
A slight simplification of the code. Signed-off-by: Markus Lehtonen markus.lehto...@linux.intel.com --- scripts/lib/devtool/standard.py | 25 +++-- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool

[OE-core] [PATCH 06/10] devtool: slight simplification of path splitting logic

2015-06-04 Thread Markus Lehtonen
Signed-off-by: Markus Lehtonen markus.lehto...@linux.intel.com --- scripts/lib/devtool/standard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py index dfa45e8..c860094 100644 --- a/scripts/lib/devtool

[OE-core] [PATCH 01/10] devtool: fix wrong indentation

2015-06-04 Thread Markus Lehtonen
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/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py index c5b32d8..1e99413 100644 --- a/scripts/lib/devtool

[OE-core] [PATCH 10/10] devtool: use DevtoolError for error handling

2015-06-04 Thread Markus Lehtonen
. Signed-off-by: Markus Lehtonen markus.lehto...@linux.intel.com --- scripts/devtool | 8 ++- scripts/lib/devtool/__init__.py | 6 ++ scripts/lib/devtool/deploy.py | 31 scripts/lib/devtool/standard.py | 152 ++-- 4 files changed

[OE-core] [PATCH 02/10] devtool: refactor bb task execution into a separate class

2015-06-04 Thread Markus Lehtonen
Signed-off-by: Markus Lehtonen markus.lehto...@linux.intel.com --- scripts/lib/devtool/standard.py | 50 - 1 file changed, 30 insertions(+), 20 deletions(-) diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py index 1e99413

[OE-core] [PATCH 07/10] devtool: split out 'srcrev' update mode into a separate function

2015-06-04 Thread Markus Lehtonen
Refactor update_recipe() (i.e. the implementation of the update-recipe command) by splitting out the 'srcrev' into a distinct function. Signed-off-by: Markus Lehtonen markus.lehto...@linux.intel.com --- scripts/lib/devtool/standard.py | 188 1 file

[OE-core] [PATCH 00/10] devtool refactoring

2015-06-04 Thread Markus Lehtonen
) are available in the git repository at: ssh://oegit/openembedded-core-contrib marquiz/devtool/refactor http://git.openembedded.org/openembedded-core-contrib/commit/?h=marquiz/devtool/refactor Markus Lehtonen (10): devtool: fix wrong indentation devtool: refactor bb task execution into a separate

[OE-core] [PATCH 08/10] devtool: split out 'patch' update mode into a separate function

2015-06-04 Thread Markus Lehtonen
Continue refactoring of update_recipe() by splitting out the 'patch' mode into a separate function. Signed-off-by: Markus Lehtonen markus.lehto...@linux.intel.com --- scripts/lib/devtool/standard.py | 236 +--- 1 file changed, 122 insertions(+), 114 deletions

[OE-core] [PATCH 09/10] devtool: remove some unused return values

2015-06-04 Thread Markus Lehtonen
Signed-off-by: Markus Lehtonen markus.lehto...@linux.intel.com --- scripts/devtool | 1 - scripts/lib/devtool/standard.py | 3 --- 2 files changed, 4 deletions(-) diff --git a/scripts/devtool b/scripts/devtool index 0100eb8..307846a 100755 --- a/scripts/devtool +++ b/scripts

Re: [OE-core] [PATCH 0/6] devtool: improve handling of local source files

2015-06-04 Thread Markus Lehtonen
Hi, On Tue, 2015-05-12 at 19:01 +0100, Paul Eggleton wrote: Hi Markus, On Thursday 30 April 2015 12:16:06 Markus Lehtonen wrote: This patchset tries to improve handling of local source files (i.e. file:// in SRC_URI). First, it improves packages for which S=WORKDIR (that possibly only

Re: [OE-core] [PATCH v2 0/7] devtool: improve handling of local source files

2015-06-04 Thread Markus Lehtonen
Hi, On Thu, 2015-06-04 at 11:49 +0100, Paul Eggleton wrote: Hi Markus, On Wednesday 03 June 2015 17:50:25 Markus Lehtonen wrote: Second version of my patchset aiming to improve handling of local source files. The only significant change since the first version is the addition of unit

[OE-core] [PATCH v2 4/7] oe-selftest: devtool: add method for checking srctree repo

2015-06-03 Thread Markus Lehtonen
Removes some code duplication. Signed-off-by: Markus Lehtonen markus.lehto...@linux.intel.com --- meta/lib/oeqa/selftest/devtool.py | 50 +++ 1 file changed, 19 insertions(+), 31 deletions(-) diff --git a/meta/lib/oeqa/selftest/devtool.py b/meta/lib/oeqa

[OE-core] [PATCH v2 1/7] recipeutils: implement get_recipe_local_files()

2015-06-03 Thread Markus Lehtonen
Signed-off-by: Markus Lehtonen markus.lehto...@linux.intel.com --- meta/lib/oe/recipeutils.py | 8 1 file changed, 8 insertions(+) diff --git a/meta/lib/oe/recipeutils.py b/meta/lib/oe/recipeutils.py index f05b6c0..4bd5ce7 100644 --- a/meta/lib/oe/recipeutils.py +++ b/meta/lib/oe

[OE-core] [PATCH v2 0/7] devtool: improve handling of local source files

2015-06-03 Thread Markus Lehtonen
in qt webkit (2015-05-30 22:25:12 +0100) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib marquiz/devtool/localfiles http://cgit.openembedded.org/openembedded-core-contrib/log/?h=marquiz/devtool/localfiles Markus Lehtonen (7): recipeutils

[OE-core] [PATCH v2 7/7] devtool: modify: make bitbake use local files from srctree

2015-06-03 Thread Markus Lehtonen
. [YOCTO #7602] Signed-off-by: Markus Lehtonen markus.lehto...@linux.intel.com --- scripts/lib/devtool/standard.py | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py index 44948fd..5d2a264 100644

[OE-core] [PATCH v2 3/7] oe-selftest: devtool: add method for checking workspace dir

2015-06-03 Thread Markus Lehtonen
In order to remove some code duplication. Signed-off-by: Markus Lehtonen markus.lehto...@linux.intel.com --- meta/lib/oeqa/selftest/devtool.py | 64 +++ 1 file changed, 24 insertions(+), 40 deletions(-) diff --git a/meta/lib/oeqa/selftest/devtool.py b/meta

[OE-core] [PATCH v2 5/7] devtool: update-recipe: update local files directly

2015-06-03 Thread Markus Lehtonen
a remote URL) we don't want create a patch against them, but, rather copy our modified version over the original source. NOTE: if new files are created, they are represented as patches, rather than copied over the orignal source. [YOCTO #7602] Signed-off-by: Markus Lehtonen markus.lehto

[OE-core] [PATCH v2 6/7] devtool: extract: always import local files to srctree

2015-06-03 Thread Markus Lehtonen
'local-files'), just like before. [YOCTO #7602] Signed-off-by: Markus Lehtonen markus.lehto...@linux.intel.com --- meta/lib/oeqa/selftest/devtool.py | 46 +++ scripts/lib/devtool/standard.py | 58 ++- 2 files changed, 91

[OE-core] [PATCH v2 2/7] oe.patch.GitApplyTree: add paths argument to extractPatches

2015-06-03 Thread Markus Lehtonen
Makes it possible to define which paths are included in the patches. Signed-off-by: Markus Lehtonen markus.lehto...@linux.intel.com --- meta/lib/oe/patch.py | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/meta/lib/oe/patch.py b/meta/lib/oe/patch.py index afb0013..6da2511

Re: [OE-core] [PATCH 11/11] devtool: deploy plugin: wrap long lines in code

2015-05-18 Thread Markus Lehtonen
Hi, On Tue, 2015-05-12 at 16:20 +0100, Paul Eggleton wrote: On Monday 11 May 2015 16:17:11 Markus Lehtonen wrote: Signed-off-by: Markus Lehtonen markus.lehto...@linux.intel.com --- scripts/lib/devtool/deploy.py | 99 +++ 1 file changed, 72

[OE-core] [PATCH 11/11] devtool: deploy plugin: wrap long lines in code

2015-05-11 Thread Markus Lehtonen
Signed-off-by: Markus Lehtonen markus.lehto...@linux.intel.com --- scripts/lib/devtool/deploy.py | 99 +++ 1 file changed, 72 insertions(+), 27 deletions(-) diff --git a/scripts/lib/devtool/deploy.py b/scripts/lib/devtool/deploy.py index 078c74b..f6ae433

[OE-core] [PATCH 08/11] devtool: deploy plugin: add missing docstrings

2015-05-11 Thread Markus Lehtonen
Signed-off-by: Markus Lehtonen markus.lehto...@linux.intel.com --- scripts/lib/devtool/deploy.py | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/lib/devtool/deploy.py b/scripts/lib/devtool/deploy.py index 62c97fb..b569398 100644 --- a/scripts/lib/devtool/deploy.py

[OE-core] [PATCH 09/11] devtool: deploy plugin: remove unnecessary re-import

2015-05-11 Thread Markus Lehtonen
Signed-off-by: Markus Lehtonen markus.lehto...@linux.intel.com --- scripts/lib/devtool/deploy.py | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/lib/devtool/deploy.py b/scripts/lib/devtool/deploy.py index b569398..8637f19 100644 --- a/scripts/lib/devtool/deploy.py +++ b/scripts/lib

[OE-core] [PATCH 10/11] devtool: deploy plugin: rename unused variables

2015-05-11 Thread Markus Lehtonen
Signed-off-by: Markus Lehtonen markus.lehto...@linux.intel.com --- scripts/lib/devtool/deploy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/lib/devtool/deploy.py b/scripts/lib/devtool/deploy.py index 8637f19..078c74b 100644 --- a/scripts/lib/devtool/deploy.py

[OE-core] [PATCH 00/11] devtool: code style fixes

2015-05-11 Thread Markus Lehtonen
This patchset contains numerous small non-functional changes to fix some style errors and to improve the readability of the devtool code. Markus Lehtonen (11): devtool: standard plugins: add missing docstrings devtool: standard plugins: remove unused import devtool: standard plugins: rename

[OE-core] [PATCH 01/11] devtool: standard plugins: add missing docstrings

2015-05-11 Thread Markus Lehtonen
Signed-off-by: Markus Lehtonen markus.lehto...@linux.intel.com --- scripts/lib/devtool/standard.py | 20 +++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py index 81a44d4..55580ee 100644 --- a/scripts

[OE-core] [PATCH 02/11] devtool: standard plugins: remove unused import

2015-05-11 Thread Markus Lehtonen
Signed-off-by: Markus Lehtonen markus.lehto...@linux.intel.com --- scripts/lib/devtool/standard.py | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py index 55580ee..614bcdb 100644 --- a/scripts/lib/devtool/standard.py +++ b/scripts

[OE-core] [PATCH 03/11] devtool: standard plugins: rename usunused variable

2015-05-11 Thread Markus Lehtonen
Signed-off-by: Markus Lehtonen markus.lehto...@linux.intel.com --- scripts/lib/devtool/standard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py index 614bcdb..2a483cf 100644 --- a/scripts/lib/devtool

[OE-core] [PATCH 06/11] devtool: lib: wrap long lines in code

2015-05-11 Thread Markus Lehtonen
Signed-off-by: Markus Lehtonen markus.lehto...@linux.intel.com --- scripts/lib/devtool/__init__.py | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/scripts/lib/devtool/__init__.py b/scripts/lib/devtool/__init__.py index 8866512..676bc52 100644 --- a/scripts/lib/devtool

[OE-core] [PATCH 05/11] devtool: lib: remove unnecessary re-import

2015-05-11 Thread Markus Lehtonen
Signed-off-by: Markus Lehtonen markus.lehto...@linux.intel.com --- scripts/lib/devtool/__init__.py | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/lib/devtool/__init__.py b/scripts/lib/devtool/__init__.py index 00594eb..8866512 100644 --- a/scripts/lib/devtool/__init__.py +++ b/scripts

[OE-core] [PATCH 04/11] devtool: lib: add missing docstrings

2015-05-11 Thread Markus Lehtonen
Signed-off-by: Markus Lehtonen markus.lehto...@linux.intel.com --- scripts/lib/devtool/__init__.py | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/lib/devtool/__init__.py b/scripts/lib/devtool/__init__.py index 78ae0aa..00594eb 100644 --- a/scripts/lib/devtool

[OE-core] [PATCH 07/11] devtool: deploy plugin: fix bad indentation

2015-05-11 Thread Markus Lehtonen
Signed-off-by: Markus Lehtonen markus.lehto...@linux.intel.com --- scripts/lib/devtool/deploy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/lib/devtool/deploy.py b/scripts/lib/devtool/deploy.py index f016b23..62c97fb 100644 --- a/scripts/lib/devtool/deploy.py

[OE-core] [PATCH 4/6] devtool: update-recipe: update local files directly

2015-04-30 Thread Markus Lehtonen
version over the original source. NOTE: if new files are created, they are represented as patches, rather than copied over the orignal source. [YOCTO #7602] Signed-off-by: Markus Lehtonen markus.lehto...@linux.intel.com --- scripts/lib/devtool/standard.py | 48

[OE-core] [PATCH 2/6] recipeutils: implement get_recipe_local_files()

2015-04-30 Thread Markus Lehtonen
Signed-off-by: Markus Lehtonen markus.lehto...@linux.intel.com --- meta/lib/oe/recipeutils.py | 8 1 file changed, 8 insertions(+) diff --git a/meta/lib/oe/recipeutils.py b/meta/lib/oe/recipeutils.py index 19d97b6..f3af717 100644 --- a/meta/lib/oe/recipeutils.py +++ b/meta/lib/oe

[OE-core] [PATCH 1/6] devtool: extract: remove patches when S=WORKDIR

2015-04-30 Thread Markus Lehtonen
(and possibly confusing) patch file(s) into srctree repository. [YOCTO #7602] Signed-off-by: Markus Lehtonen markus.lehto...@linux.intel.com --- scripts/lib/devtool/standard.py | 27 ++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/scripts/lib/devtool

[OE-core] [PATCH 0/6] devtool: improve handling of local source files

2015-04-30 Thread Markus Lehtonen
This patchset tries to improve handling of local source files (i.e. file:// in SRC_URI). First, it improves packages for which S=WORKDIR (that possibly only have local sources. Second, it makes local sources available in the srctree for all packages. See yocto bug #7602 Markus Lehtonen (6

[OE-core] [PATCH 5/6] devtool: extract: always import local files to srctree

2015-04-30 Thread Markus Lehtonen
] Signed-off-by: Markus Lehtonen markus.lehto...@linux.intel.com --- scripts/lib/devtool/standard.py | 56 - 1 file changed, 44 insertions(+), 12 deletions(-) diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py index 8a2783b

[OE-core] [PATCH 6/6] devtool: modify: make bitbake use local files from srctree

2015-04-30 Thread Markus Lehtonen
This change makes it possible to have local files (SRC_URI files in recipe space) under the srctree even if S!=WORKDIR. The files must be placed under the 'local-files' subdirectory. Complements the previous patch that imports local files into srctree. [YOCTO #7602] Signed-off-by: Markus

[OE-core] [PATCH 3/6] oe.patch.GitApplyTree: add paths argument to extractPatches

2015-04-30 Thread Markus Lehtonen
Makes it possible to define which paths are included in the patches. Signed-off-by: Markus Lehtonen markus.lehto...@linux.intel.com --- meta/lib/oe/patch.py | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/meta/lib/oe/patch.py b/meta/lib/oe/patch.py index f68d40f..85cb2c1

Re: [OE-core] [PATCH 2/6] recipetool: ensure git clone is a full clone when extracting

2015-04-30 Thread Markus Lehtonen
or something? Thanks, Markus Lehtonen -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core

Re: [OE-core] [PATCH 4/8] devtool: extract: remove patches when S=WORKDIR

2015-04-24 Thread Markus Lehtonen
Hi, On 23/04/15 19:18, Paul Eggleton paul.eggle...@linux.intel.com wrote: From: Markus Lehtonen markus.lehto...@linux.intel.com All local files from the layer, including patches, are added to to srctree repository when S==WORKDIR. The patch files are useless as they are automatically applied

Re: [OE-core] [PATCH] devtool: extract: remove patches when S=WORKDIR

2015-04-22 Thread Markus Lehtonen
Hi Paul, On Tue, 2015-04-21 at 16:04 +0100, Paul Eggleton wrote: Hi Markus, On Tuesday 21 April 2015 17:49:54 Markus Lehtonen wrote: All local files from the layer, including patches, are added to to srctree repository when S==WORKDIR. The patch files are useless

[OE-core] [PATCH v2] devtool: include bbappends in recipe parsing

2015-04-22 Thread Markus Lehtonen
In order to get correct metadata, SRCREV for example. Signed-off-by: Markus Lehtonen markus.lehto...@linux.intel.com --- meta/lib/oe/recipeutils.py | 6 +++--- scripts/lib/devtool/standard.py | 35 ++- 2 files changed, 25 insertions(+), 16 deletions(-) diff

Re: [OE-core] [PATCH] devtool: include bbappends in recipe parsing

2015-04-22 Thread Markus Lehtonen
Hi, On Tue, 2015-04-21 at 17:42 +0100, Paul Eggleton wrote: On Tuesday 21 April 2015 17:50:43 Markus Lehtonen wrote: In order to get correct metadata, SRCREV for example. Signed-off-by: Markus Lehtonen markus.lehto...@linux.intel.com --- meta/lib/oe/recipeutils.py | 6

[OE-core] [PATCH] devtool: tests: fix update-recipe test after bd1aa28

2015-04-22 Thread Markus Lehtonen
Number of patches in mtd-utils changed in changeset bd1aa28. Signed-off-by: Markus Lehtonen markus.lehto...@linux.intel.com --- meta/lib/oeqa/selftest/devtool.py | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/meta/lib/oeqa/selftest/devtool.py b/meta/lib/oeqa

[OE-core] [PATCH v2] devtool: extract: remove patches when S=WORKDIR

2015-04-22 Thread Markus Lehtonen
file(s) into srctree repository. [YOCTO #7602] Signed-off-by: Markus Lehtonen markus.lehto...@linux.intel.com --- scripts/lib/devtool/standard.py | 20 1 file changed, 20 insertions(+) diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py index

[OE-core] [PATCH] devtool: include bbappends in recipe parsing

2015-04-21 Thread Markus Lehtonen
In order to get correct metadata, SRCREV for example. Signed-off-by: Markus Lehtonen markus.lehto...@linux.intel.com --- meta/lib/oe/recipeutils.py | 6 +++--- scripts/lib/devtool/standard.py | 32 +++- 2 files changed, 22 insertions(+), 16 deletions(-) diff

[OE-core] [PATCH] devtool: extract: remove patches when S=WORKDIR

2015-04-21 Thread Markus Lehtonen
(s). The patches will be removed in one single commit. [YOCTO #7602] Signed-off-by: Markus Lehtonen markus.lehto...@linux.intel.com --- scripts/lib/devtool/standard.py | 20 1 file changed, 20 insertions(+) diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool

[OE-core] [PATCH 1/2] devtool: modify: use B=S if that is the default for the recipe

2015-04-21 Thread Markus Lehtonen
(of some packages that build fine without this modification) gets dirtied by build artefacts. Signed-off-by: Markus Lehtonen markus.lehto...@linux.intel.com --- scripts/lib/devtool/standard.py | 17 - 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/scripts/lib/devtool

[OE-core] [PATCH 2/2] devtool: modify: implement --no-same-dir

2015-04-21 Thread Markus Lehtonen
This option can be used to have a separate build directory, in order to keep the srctree directory clean for packages that do not need to be built in the source directory. Signed-off-by: Markus Lehtonen markus.lehto...@linux.intel.com --- scripts/lib/devtool/standard.py | 9 +++-- 1 file

[OE-core] [PATCH] devtool: call parse_recipe with correct arguments

2015-04-16 Thread Markus Lehtonen
Give the correct data object (config data instead of recipe data) as an argument to oe.recipeutils.patch_recipe() Fixes [YOCTO #7595] Signed-off-by: Markus Lehtonen markus.lehto...@linux.intel.com --- scripts/lib/devtool/standard.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions

Re: [OE-core] [PATCH v2 2/2] combo-layer: support updating up to arbitrary commit

2015-01-27 Thread Markus Lehtonen
On Mon, 2015-01-12 at 11:46 +, Paul Eggleton wrote: Hi Markus, On Wednesday 07 January 2015 18:00:42 Markus Lehtonen wrote: Support defining the top commit up to which to update. In other words, this makes it possible to update up to certain point other than the branch head

[OE-core] [PATCH v2 2/2] combo-layer: support updating up to arbitrary commit

2015-01-07 Thread Markus Lehtonen
-layer update my_component:sha1 Only the update action supports this. Signed-off-by: Markus Lehtonen markus.lehto...@linux.intel.com --- scripts/combo-layer | 22 -- 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/scripts/combo-layer b/scripts/combo-layer index

[OE-core] [PATCH v2 1/2] combo-layer: minor refactor

2015-01-07 Thread Markus Lehtonen
Change get_repos() to assume a list of repository names instead of full list of command line arguments. Signed-off-by: Markus Lehtonen markus.lehto...@linux.intel.com --- scripts/combo-layer | 25 - 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/scripts

[OE-core] [PATCH v2 0/2] combo-layer: support updating up to arbitrary commit

2015-01-07 Thread Markus Lehtonen
I split my changeset into two separate patches. Also, fixed a bug when doing calling pull inside the update action. Markus Lehtonen (2): combo-layer: minor refactor combo-layer: support updating up to arbitrary commit scripts/combo-layer | 45 +++-- 1

[OE-core] [PATCH] combo-layer: support updating up to arbitrary commit

2014-11-27 Thread Markus Lehtonen
-layer update my_component:sha1 Only the update action supports this. Signed-off-by: Markus Lehtonen markus.lehto...@linux.intel.com --- scripts/combo-layer | 45 +++-- 1 file changed, 27 insertions(+), 18 deletions(-) diff --git a/scripts/combo-layer b

<    2   3   4   5   6   7