[YOCTO #9006]
Signed-off-by: Markus Lehtonen
---
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
+++ b/meta/lib/oe/gpg_sign.py
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
---
meta
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
This patchset contains two small bugfixes to rpm package and package feed
signing.
Markus Lehtonen (2):
oe/gpg_sign: fix incorrect variable name
sign_package_feed.bbclass: fix task dependencies
meta/classes/sign_package_feed.bbclass | 1 +
meta/lib/oe/gpg_sign.py| 2 +-
2
This dependency was already added to sign_rpm.bbclass. However, the same dep
needs to be
added to sign_package_feed.bbclass, too, to cover the case where rpm
signing is disabled but package feed signing is enabled.
Signed-off-by: Markus Lehtonen
---
meta/classes/sign_package_feed.bbclass | 1
Prevents crash in signing if GPG_PATH is defined.
Signed-off-by: Markus Lehtonen
---
meta/lib/oe/gpg_sign.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/lib/oe/gpg_sign.py b/meta/lib/oe/gpg_sign.py
index 55abad8..821787e 100644
--- a/meta/lib/oe/gpg_sign.py
+++ b
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.")
> >
The configuration needed for different signing backends may vary
(although we currently support only one backend). Thus, do the actual
sanity checking of the configuration there.
Signed-off-by: Markus Lehtonen
---
meta/classes/sign_package_feed.bbclass | 14 ++
meta/classes
This way, one does not get a ton of identical error messages. But, only
one error message before all the recipes are parsed.
Signed-off-by: Markus Lehtonen
---
meta/classes/sign_package_feed.bbclass | 26 --
meta/classes/sign_rpm.bbclass | 26
Signed-off-by: Markus Lehtonen
---
meta/lib/oe/gpg_sign.py | 10 +++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/meta/lib/oe/gpg_sign.py b/meta/lib/oe/gpg_sign.py
index 8832ea9..ea35564 100644
--- a/meta/lib/oe/gpg_sign.py
+++ b/meta/lib/oe/gpg_sign.py
@@ -17,13 +17,17
in the git repository at:
git://git.openembedded.org/openembedded-core-contrib marquiz/rpmsign
for you to fetch changes up to 643834ad064be34e2ad4218b436420cd5a1bc520:
package signing: do sanity checking in an event handler (2016-02-05 15:32:29
+0200)
Markus Lehtonen (3):
package
This patch removes a workaround (needed for bitbake python parser) where
closing curly brackets were replaced by ascii code '\x7d'.
This commit requires a bitbake version with the
"data_smart: simple bracket matching inside python expressions" patch
applied.
Signed-off
any other recipe in git.openembedded.org
repositories or the layer repositories in git.yoctoproject.org (master
branches).
Markus Lehtonen (1):
ncurses: use closing curly brackets in FILES_${PN}-tools variable
meta/recipes-core/ncurses/ncurses.inc | 4 ++--
1 file changed, 2 insertions(+), 2
: update to 3.4.2 (2016-01-26 22:48:57 +)
are available in the git repository at:
contrib-git marquiz/externalsrc
for you to fetch changes up to 58bb2b3bd3195af2715e8dd594326dfa73fc72e9:
externalsrc: use shared CONFIGURESTAMPFILE if B=S (2016-01-29 16:53:19 +0200)
Markus Lehtonen (3
Signed-off-by: Markus Lehtonen
---
meta/classes/autotools.bbclass | 1 +
meta/classes/base.bbclass | 1 +
2 files changed, 2 insertions(+)
diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass
index 7bf510b..7f60c2a 100644
--- a/meta/classes/autotools.bbclass
+++ b
'work-shared' if ${B}=${S}. In addition,
do_configure will depend on changes of this stamp file. As a result,
do_configure is re-run and the build dir is cleaned correctly if a
rebuild for different MACHINE is done.
[YOCTO #8950]
Signed-off-by: Markus Lehtonen
---
meta/classes/externals
Use oe_runmake like in base.bbclass so that EXTRA_OEMAKE will be
respected.
Signed-off-by: Markus Lehtonen
---
meta/classes/autotools.bbclass | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass
index 1400b44
Use oe_runmake like in base.bbclass so that EXTRA_OEMAKE will be
respected.
Signed-off-by: Markus Lehtonen
---
meta/classes/autotools.bbclass | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass
index 1400b44
on which was causing unwanted behavior. This patch changes
buildhistory.bbclass to check for any file named '.git' which fixes
these problems.
[YOCTO #8911]
Signed-off-by: Markus Lehtonen
---
meta/classes/buildhistory.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion
the fetcher local file checksum cache. Also,
this new devtool-specific cache is not used after the workspace layer is
disabled.
[YOCTO #8853]
Signed-off-by: Markus Lehtonen
---
scripts/devtool | 1 +
1 file changed, 1 insertion(+)
diff --git a/scripts/devtool b/scripts/devtool
index 2d57da0
epository at:
git://git.openembedded.org/openembedded-core-contrib marquiz/devtool/fixes
Markus Lehtonen (2):
externalsrc.bbclas: remove nostamp from do_configure
devtool: create-workspace: define separate cache for task file
checksums
meta/classes/externalsrc.bbclass | 3 +--
scripts/devtool
mpilations happen.
During the first bitbake run preparing of the task runqueue may take
much longer because all 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: Mark
signing). Currently, only local signing with gpg is
implemented.
[YOCTO #8755]
Signed-off-by: Markus Lehtonen
---
meta/classes/sign_package_feed.bbclass | 6 +++
meta/classes/sign_rpm.bbclass | 47 +
meta/lib/oe/gpg_sign.py| 76
slightly modified.
Markus Lehtonen (1):
New lib module for handling GPG signing
meta/classes/sign_package_feed.bbclass | 6 +++
meta/classes/sign_rpm.bbclass | 47 +
meta/lib/oe/gpg_sign.py| 76 ++
meta/lib/oe
Hi Mark,
(CC'd the mailing list which was accidentally dropped from my previous email)
On 21/01/16 17:21, "Mark Hatle" wrote:
>On 1/21/16 5:20 AM, Markus Lehtonen wrote:
>> On Wed, 2016-01-13 at 12:28 +0200, Markus Lehtonen wrote:
>>> On Tue, 2016-01-12 at 1
Make it possible to time also other than bitbake commands. The name of
the log file is changed from bitbake.log to commands.log.
Signed-off-by: Markus Lehtonen
---
scripts/contrib/build-perf-test.sh | 17 ++---
1 file changed, 10 insertions(+), 7 deletions(-)
diff --git a/scripts
examining the results.
Signed-off-by: Markus Lehtonen
---
scripts/contrib/build-perf-test.sh | 24
1 file changed, 24 insertions(+)
diff --git a/scripts/contrib/build-perf-test.sh
b/scripts/contrib/build-perf-test.sh
index 105b54b..f1f44d3 100755
--- a/scripts/contrib
Use temporary rpmdb when importing gpg public key and checking rpm
signature. This patch should fix a problem where test_signing_packages()
sometimes fails with
"pmdb: BDB1540 configured environment flags incompatible with existing
environment"
Signed-off-by: Markus Lehtonen
---
met
Hi,
On Tue, 2016-01-12 at 18:24 +0200, Markus Lehtonen wrote:
> Hi Mark,
>
> Thank you for your review! Comments below.
>
> On Mon, 2016-01-11 at 10:33 -0600, Mark Hatle wrote:
> > On 1/11/16 10:13 AM, Markus Lehtonen wrote:
> > > Implement support for remote sign
Hi Mark,
Thank you for your review! Comments below.
On Mon, 2016-01-11 at 10:33 -0600, Mark Hatle wrote:
> On 1/11/16 10:13 AM, Markus Lehtonen wrote:
> > Implement support for remote signing using obs-signd. It is now possible
> > to sign both RPM packages and package feeds w
://git.openembedded.org/openembedded-core-contrib marquiz/rpmsign
for you to fetch changes up to 3ac8c3e5ab0dd6cab1438efd4484e0e313e55d8d:
oe.gpg_sign: support obs-signd (2016-01-11 18:00:19 +0200)
Markus Lehtonen (3):
sign_rpm.bbclass: fix task dependencies
New lib module for handling GPG signing
: Markus Lehtonen
---
meta/classes/sign_package_feed.bbclass | 6 +++
meta/classes/sign_rpm.bbclass | 47 +
meta/lib/oe/gpg_sign.py| 76 ++
meta/lib/oe/package_manager.py | 31 +-
meta/recipes-core/meta
s to setup the signing server and the configure the 'sign'
client command on the build host. The *_PASSPHRASE_FILE settings are not
used when the obssign backend is enabled.
[YOCTO #8755]
Signed-off-by: Markus Lehtonen
---
meta/classes/sign_package_feed.bbclass | 5 +++-
meta/clas
do_rootfs task needs to depend on signing-keys:do_export_public_keys.
The rpm signing public key needs to be present in order to prevent a
crash because it is imported into the rootfs rpmdb before rootfs
creation starts.
Signed-off-by: Markus Lehtonen
---
meta/classes/sign_rpm.bbclass | 1 +
1
On 18/12/15 16:18, "Richard Purdie" wrote:
>On Fri, 2015-12-18 at 14:39 +0200, Markus Lehtonen wrote:
>> On 18/12/15 14:22, "Richard Purdie" <
>> richard.pur...@linuxfoundation.org> wrote:
>> > On Fri, 2015-12-18 at 10:39 +0200, Markus Le
Hi Richard,
On 18/12/15 14:22, "Richard Purdie" wrote:
>On Fri, 2015-12-18 at 10:39 +0200, Markus Lehtonen wrote:
>> Copy kernel .config from ${S} to ${B}, instead of moving it. This
>> prevents mangling the source tree, which is undesirable e.g. when
>> externa
This makes it easier to track changes made to config.
Signed-off-by: Markus Lehtonen
---
meta/classes/cml1.bbclass | 5 +
1 file changed, 5 insertions(+)
diff --git a/meta/classes/cml1.bbclass b/meta/classes/cml1.bbclass
index 95cf584..a95a2bf 100644
--- a/meta/classes/cml1.bbclass
+++ b
6 12:11:26 +)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib marquiz/devtool/kernel
for you to fetch changes up to 2adc35e3129be74afe28dc3087ea44665a80221c:
devtool: update-recipe: create kernel config fragment (2015-12-17 14:34:15
+0200
Some bitbake tasks, notably do_kernel_metadata et al. dirty the
sourcetree. Run git clean in order to get rid of the confusing and
possibly outdated extra files.
Signed-off-by: Markus Lehtonen
---
scripts/lib/devtool/standard.py | 13 -
1 file changed, 12 insertions(+), 1 deletion
local-files' directory if that is present in the
source tree).
This patch also changes the devtool 'extract' command to create the
.config.orig file at the source tree creation time.
[YOCTO #6658]
Signed-off-by: Markus Lehtonen
---
scripts/lib/devtool/standard.py | 50 +
Signed-off-by: Markus Lehtonen
---
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 a5e81f3..43fce11 100644
--- a/scripts/lib/devtool/standard.py
+++ b/scripts/lib/devtool
Copy kernel .config from ${S} to ${B}, instead of moving it. This
prevents mangling the source tree, which is undesirable e.g. when
externalsrc is used.
Signed-off-by: Markus Lehtonen
---
meta/classes/kernel.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta
so because 'do_patch' which is a dependency of
'do_kernel_configme' is not being run.
We now store .config in the srctree and 'do_configure' task is able to
run successfully.
Signed-off-by: Markus Lehtonen
---
scripts/lib/devtool/standard.py | 3 ++-
1 file cha
15:35:42
+0200)
Markus Lehtonen (2):
devtool: extract: copy kernel config to srctree
devtool: extract: update SRCTREECOVEREDTASKS for kernel
scripts/lib/devtool/standard.py | 11 ++-
1 file changed, 10 insertions(+), 1 deletion(-)
--
2.1.4
This makes the correct kernel config to be used when building kernel
from srctree (extrernalsrc). If no kernel config is present in the
builddir 'do_configure' task copies .config from the srctree.
Signed-off-by: Markus Lehtonen
---
scripts/lib/devtool/standard.py | 8
1 fi
Hi,
On Fri, 2015-10-16 at 18:16 +0300, Daniel Istrate wrote:
> [YOCTO # 8134] This test verifies features introduced in bug 8134.
>
> It requires as resources the files from meta-selftest/files/signing:
> For 'gpg --gen-key' the used input was:
> key: RSA
> key-size: 2048
> key-valid: 0
> realnam
Automatically export public key(s) of the signing key(s) from the gpg
keyring. Adds a new simple recipe that does the actual task of exporting
the keys. This patch makes the RPM_GPG_PUBKEY and PACKAGE_FEED_GPG
PUBKEY settings obsolete.
Signed-off-by: Markus Lehtonen
---
meta/classes
Simplifies the configuration. Makes way for the removal of
RPM_GPG_PUBKEY setting and possible future implementation of a separate
signing server support. Also, moves the configuration sanity checking
into a separate function.
Signed-off-by: Markus Lehtonen
---
meta/classes/sign_rpm.bbclass
After this change signed package feeds should be enabled by adding
INERIT += "sign_package_feed"
instead of definining PACKAGE_FEED_SIGN="1".
Signed-off-by: Markus Lehtonen
---
meta/classes/sign_package_feed.bbclass | 24
1 file changed, 24 insert
Signed package feeds are not yet implemented for these package formats.
Signed-off-by: Markus Lehtonen
---
meta/lib/oe/package_manager.py | 4
1 file changed, 4 insertions(+)
diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py
index 5c2130b..964fddc 100644
--- a
Automatically export public key(s) from the gpg keyring. Adds a new
simple recipe that does the actual task of exporting the keys. This
patch makes the RPM_GPG_PUBKEY and PACKAGE_FEED_GPG PUBKEY settings
obsolete.
Signed-off-by: Markus Lehtonen
---
meta/classes/sign_package_feed.bbclass
rg/openembedded-core-contrib marquiz/rpmsign
http://git.openembedded.org/openembedded-core-contrib/log/?h=marquiz/rpmsign
Markus Lehtonen (5):
sign_rpm.bbclass: be more verbose in case of error
sign_rpm.bbclass: make RPM_GPG_NAME a mandatory setting
Add new bbclass for package feed signing
p
Signed-off-by: Markus Lehtonen
---
meta/classes/sign_rpm.bbclass | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/meta/classes/sign_rpm.bbclass b/meta/classes/sign_rpm.bbclass
index 23aea42..39f877a 100644
--- a/meta/classes/sign_rpm.bbclass
+++ b/meta/classes
If defined, use GPG_PATH as the gpg home directory when signing package
feeds. This setting is only used by package_manager if package feed
singning has been enabled, i.e. PACKAGE_FEED_SIGN="1".
Signed-off-by: Markus Lehtonen
---
meta/lib/oe/package_manager.py | 7 +--
1 file
git repository at:
git://git.openembedded.org/openembedded-core-contrib marquiz/rpmsign
http://git.openembedded.org/openembedded-core-contrib/log/?h=marquiz/rpmsign
Markus Lehtonen (2):
sign_rpm.bbclass: introduce GPG_PATH variable
package_manager: support GPG_PATH variable
meta/classes
This bitbake configuration variable can be used to define the gpg home
directory.
Signed-off-by: Markus Lehtonen
---
meta/classes/sign_rpm.bbclass | 4
1 file changed, 4 insertions(+)
diff --git a/meta/classes/sign_rpm.bbclass b/meta/classes/sign_rpm.bbclass
index 0aa4cd8..23aea42 100644
do_compile() task failed when RPM signing was in use.
Signed-off-by: Markus Lehtonen
---
meta/recipes-core/os-release/os-release.bb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-core/os-release/os-release.bb
b/meta/recipes-core/os-release/os-release.bb
do_compile() task failed when RPM signing was in use.
Signed-off-by: Markus Lehtonen
---
meta/recipes-core/os-release/os-release.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-core/os-release/os-release.bb
b/meta/recipes-core/os-release/os-release.bb
index
The name of the directory for local source files under srctree is
'oe-local-files', not 'local-files'. Fixes a bug that slipped through
in b7ab82485e4514e07ab8a76e554da27ddc92e6c0.
Signed-off-by: Markus Lehtonen
---
scripts/lib/devtool/standard.py | 2 +-
1 file change
Enable variable history tracking so that the variables are updated in
the correct file - i.e. in the file they are already defined.
[YOCTO #7715]
Signed-off-by: Markus Lehtonen
---
scripts/lib/devtool/__init__.py | 4 ++--
scripts/lib/devtool/standard.py | 2 +-
2 files changed, 3 insertions
Hi,
On Wed, 2015-09-30 at 10:21 +0100, Paul Eggleton wrote:
> On Wednesday 30 September 2015 12:01:13 Markus Lehtonen wrote:
> > Hi,
> >
> > On Mon, 2015-09-28 at 14:48 +0100, Paul Eggleton wrote:
> > > Hi Markus,
> > >
> > > On Thursday
Hi,
On Mon, 2015-09-28 at 14:48 +0100, Paul Eggleton wrote:
> Hi Markus,
>
> On Thursday 24 September 2015 14:53:07 Markus Lehtonen wrote:
> > This change makes it possible to have local files (non-remote SRC_URI
> > files, i.e. files that are located in the "recipe spa
On Tue, 2015-09-29 at 13:57 +0300, Markus Lehtonen wrote:
> Hi,
>
>
> On Mon, 2015-09-28 at 15:25 -0500, Leonardo Sandoval wrote:
> >
> > On 09/24/2015 06:53 AM, Markus Lehtonen wrote:
> > > In order to remove some code duplication.
> >
Hi,
On Mon, 2015-09-28 at 15:25 -0500, Leonardo Sandoval wrote:
>
> On 09/24/2015 06:53 AM, Markus Lehtonen wrote:
> > In order to remove some code duplication.
> >
> > Signed-off-by: Markus Lehtonen
> > ---
> > me
New method for checking the status of the working tree of a repository.
Signed-off-by: Markus Lehtonen
---
meta/lib/oeqa/selftest/devtool.py | 87 ---
1 file changed, 35 insertions(+), 52 deletions(-)
diff --git a/meta/lib/oeqa/selftest/devtool.py
b/meta
Implement new function that handles patch file generation. The new
function also does the discovery of new, updated and deleted patches.
Signed-off-by: Markus Lehtonen
---
scripts/lib/devtool/standard.py | 119
1 file changed, 72 insertions(+), 47
Signed-off-by: Markus Lehtonen
---
meta/lib/oe/recipeutils.py | 16
1 file changed, 16 insertions(+)
diff --git a/meta/lib/oe/recipeutils.py b/meta/lib/oe/recipeutils.py
index 35b88d3..56056db 100644
--- a/meta/lib/oe/recipeutils.py
+++ b/meta/lib/oe/recipeutils.py
@@ -336,6
In order to remove some code duplication.
Signed-off-by: Markus Lehtonen
---
meta/lib/oeqa/selftest/devtool.py | 63 +++
1 file changed, 24 insertions(+), 39 deletions(-)
diff --git a/meta/lib/oeqa/selftest/devtool.py
b/meta/lib/oeqa/selftest/devtool.py
l files into srctree.
[YOCTO #7602]
Signed-off-by: Markus Lehtonen
---
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 6b85c8c..78b0d27 100644
--- a/scripts/lib
Helper function for replacing a pattern like:
target_dir = os.path.dirname(target)
bb.utils.mkdirhier(target_dir)
shutil.move(source, target)
Signed-off-by: Markus Lehtonen
---
scripts/lib/devtool/standard.py | 16 +++-
1 file changed, 11 insertions(+), 5 deletions(-)
diff
Makes it possible to define which paths are included in the patches.
Signed-off-by: Markus Lehtonen
---
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 7441214..2bf501e 100644
--- a/meta/lib/oe
Removes some code duplication.
Signed-off-by: Markus Lehtonen
---
meta/lib/oeqa/selftest/devtool.py | 49 ++-
1 file changed, 18 insertions(+), 31 deletions(-)
diff --git a/meta/lib/oeqa/selftest/devtool.py
b/meta/lib/oeqa/selftest/devtool.py
index b8b872c
When adding multiple new patches append them to SRC_URI in correct order
so that they apply correctly.
Signed-off-by: Markus Lehtonen
---
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
use local files from srctree (2015-09-24
14:29:31 +0300)
--------
Markus Lehtonen (10):
recipeutils: implement get_recipe_local_files()
oe.patch.GitApplyTree: add paths argument to extractPatches
oe-selftest: devtool: add method fo
directly. Thus, 'oe-local-file' directory is ignored in
patch generation when doing update-recipe, even if committed to Git.
This functionality is only enabled if the 'oe-local-files' directory
is present in srctree.
[YOCTO #7602]
Signed-off-by: Markus Lehtonen
---
meta/
Rename fails over filesystem boundaries.
Signed-off-by: Markus Lehtonen
---
scripts/lib/devtool/upgrade.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/lib/devtool/upgrade.py b/scripts/lib/devtool/upgrade.py
index e74e795..18e010c 100644
--- a/scripts/lib/devtool
"devtool extract zlib ./zlib" would always create create
srctree in ${TOPDIR}/zlib, independent of the users cwd.
Signed-off-by: Markus Lehtonen
---
scripts/devtool| 5 +
scripts/lib/devtool/__init__.py| 6 +-
scripts/lib/devtool/build-image.py | 6 +++---
s
Hi Gary,
On Tue, 2015-09-15 at 07:11 -0600, Gary Thomas wrote:
> On 2015-09-15 07:05, Markus Lehtonen wrote:
> > Some (host) systems only have a binary named 'gpg' (e.g. Fedora) while
> > some only have 'gpg2' (Ubuntu) and others have both of them (openSUSE)
Hi Mark,
On Tue, 2015-09-15 at 08:58 -0500, Mark Hatle wrote:
> On 9/15/15 8:05 AM, Markus Lehtonen wrote:
> > Some (host) systems only have a binary named 'gpg' (e.g. Fedora) while
> > some only have 'gpg2' (Ubuntu) and others have both of them (openSUSE)
for the GnuPG binary in PATH. This makes possible to create signed RPM
packages on different host platforms, using the GnuPG binary of the
host, without the need to explicitly define the gpg binary in bitbake
configuration (via GPG_BIN variable).
[YOCTO #8134]
Signed-off-by: Markus Lehtonen
Use already existing bb.fetch.decodeurl() for getting the parameters for
a URI. This is more fault tolerant and maintainable.
Signed-off-by: Markus Lehtonen
---
scripts/lib/devtool/standard.py | 7 ++-
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/scripts/lib/devtool
rnalsrc is enabled. Instead of moving the source tree,
STAGING_KERNEL_DIR will be a symlink to it.
[YOCTO #6658]
Signed-off-by: Markus Lehtonen
---
meta/classes/kernel.bbclass | 10 +++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/meta/classes/kernel.bbclass b/me
Make sure that 'do_unpack' is executed before 'do_kernel_metadata'.
Enabling externalsrc for kernel disables 'do_validate_branches' task
which caused 'do_kernel_metadata' to fail as the dependency chain to
'do_unpack' got broken.
[YOCTO #6658]
kernel-meta always available.
[YOCTO #6658]
Signed-off-by: Markus Lehtonen
---
meta/classes/externalsrc.bbclass | 12
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/meta/classes/externalsrc.bbclass b/meta/classes/externalsrc.bbclass
index 8f7f479..37c6320 100644
--- a
)
Markus Lehtonen (4):
extrernalsrc.bbclass: treat kernel meta like local source
kernel-yocto.bbclass: do_kernel_metadata depends on do_unpack
kernel.bbclass: do not mv/link sources when externalsrc enabled
devtool: modify: enable do_shared_workdir for kernel
meta
Do not put 'do_shared_workdir' into SRCTREECOVEREDTASKS when creating
bbappend for kernel packages. This will allow building packages that
depend on the shared build artifacts of kernel.
[YOCTO #6658]
Signed-off-by: Markus Lehtonen
---
scripts/lib/devtool/standard.py | 2 +-
1 file
ny
(expanded) values pointing to our source tree get removed.
Signed-off-by: Markus Lehtonen
---
meta/classes/externalsrc.bbclass | 18 +++---
1 file changed, 7 insertions(+), 11 deletions(-)
diff --git a/meta/classes/externalsrc.bbclass b/meta/classes/externalsrc.bbclass
index 8f7f479..
7907]
Signed-off-by: Markus Lehtonen
---
scripts/lib/devtool/standard.py | 34 +++---
1 file changed, 27 insertions(+), 7 deletions(-)
diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py
index de7afd9..6f3bb8e 100644
--- a/scripts/lib/devto
Hi,
On 27/08/15 12:31, "Markus Lehtonen"
wrote:
>Second iteration of my patchset. I tried to address the issues pointed
>out by
>Mark:
>1. The gpg key is not imported to the (temporary) rpm databases used by
> createrepo. Instead, createrepo is patched to ignore s
Hi,
On 27/08/15 15:03, "Mark Hatle" wrote:
>On 8/26/15 11:27 PM, Markus Lehtonen wrote:
>> Hi Mark,
>>
>> On 26/08/15 18:10, "Mark Hatle" wrote:
>>
>>> On 8/26/15 6:18 AM, Markus Lehtonen wrote:
>>>> This change makes it
Hi,
On 27/08/15 15:45, "Paul Eggleton" wrote:
>Hi Markus,
>
>On Thursday 27 August 2015 14:49:50 Markus Lehtonen wrote:
>> The kernel package needs "kern-tools-native" in order for it's
>> do_kernel_metadata. Thus, devtool extract for kernel in a p
This patchset contains few patches to slightly improve the support for kernel
packages in devtool. The last of which is an ugly hack - to be removed after a
future tinfoil rewrite when running arbitrary bitbake task functions becomes
possible.
Markus Lehtonen (3):
devtool: make required tasks
Set SRCTREECOVEREDTASKS appropriately in the workspace .bbappend file
for kernel recipes. This tries to ensure that all needed tasks (esp.
configure and patch) are run when building the kernel - tasks which
would normally be disabled by externalsrc.bbclass.
[YOCTO #6658]
Signed-off-by: Markus
kern-tools-native -c populate_sysroot" in our case. This patch
implements an ugly workaround for that problem, basically by hardcoding
this dependency and running the required bitbake task(s) before tinfoil
is initialized.
[YOCTO #6658]
Signed-off-by: Markus Lehtonen
---
scripts/lib
Change handling of kernel packages so that the "initial rev" is parsed
correctly. Also, the devtool-specific git tags (devtool-base and
devtoo-patched) are now generated for kernel packages as well.
[YOCTO #6658]
Signed-off-by: Markus Lehtonen
---
scripts/lib/devtool/standa
file containing the passphrase for the secret signing key
4. 'PACKAGE_FEED_GPG_PUBKEY = ""' pointing to the
corresponding public key (in "armor" format)
The user may define "GPG_CMD" in the bitbake configuration in order to
specify a specific the gpg binary/wrapper to use f
GPG_BIN which can be used to
define the gpg binary used for signing.
3. The filename of the public keys (published with the package feed and
depoyed into the target rootfs as part of os-release package) is now
postfixed with "-${DISTRO_VERSION}".
[YOCTO #8134]
*** BLURB HERE *
installing packages from the feed).
The original idea idea of this patch is from Mark Hatle
.
[YOCTO #8134]
Signed-off-by: Markus Lehtonen
---
...dumpMetadata-disable-signature-validation.patch | 31 ++
.../createrepo/createrepo_0.4.11.bb| 17 ++--
2
pg binary/wrapper to use.
The sign_rpm.bbclass implements a simple scenario of locally signing the
packages. It could be replaced by a more advanced class that would
utilize a separate signing server for signing the packages, for example.
[YOCTO #8134]
Signed-off-by: Markus L
Adds the public package-signing key into this package. It will be
installed under /etc/pki/rpm-gpg if the RPM signing feature is used. The
key file is not currently directly used by anything in the target
system. It is merely there for possible later use.
[YOCTO #8134]
Signed-off-by: Markus
501 - 600 of 681 matches
Mail list logo