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 <markus.lehto...@linux.intel.com>
---
Prevents crash in signing if GPG_PATH is defined.
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
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
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
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/me
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
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 <markus.lehto...@linux.intel.com>
---
meta/classes/sign_package_feed.bbclas
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 <markus.lehto...@linux.intel.com>
---
meta/classes/sign_package_feed.bbclass | 26 --
meta/classes/sign_rpm.b
in 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
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-by: Marku
'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 <markus.lehto...@linux.intel.
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
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
---
: 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
Use oe_runmake like in base.bbclass so that EXTRA_OEMAKE will be
respected.
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
meta/classes/autotools.bbclass | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/meta/classes/autotools.bbclass b/meta/c
Use oe_runmake like in base.bbclass so that EXTRA_OEMAKE will be
respected.
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
meta/classes/autotools.bbclass | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/meta/classes/autotools.bbclass b/meta/c
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 <markus.lehto...@linux.intel.com>
---
meta/classes/buildhistory.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
n.
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: Markus Lehtonen <
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 | 1
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 <markus.lehto...@linux.intel.com>
---
scripts/devtool | 1 +
1 file changed, 1 insertion(+)
diff --git a/scripts/dev
signing). Currently, only local signing with gpg is
implemented.
[YOCTO #8755]
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
meta/classes/sign_package_feed.bbclass | 6 +++
meta/classes/sign_rpm.bbclass | 47 +
meta/lib/oe/gpg_s
is
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" <mark.ha...@windriver.com> wrote:
>On 1/21/16 5:20 AM, Markus Lehtonen wrote:
>> On Wed, 2016-01-13 at 12:28 +0200, Markus Lehtonen wrote:
>&g
examining the results.
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
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 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 <markus.lehto...@linux.intel.com>
---
scripts/contrib/build-perf-test.sh | 17 ++---
1 file changed, 10 insertions
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 <
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
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 <markus.lehto...@linux.intel.com>
---
meta/classes/sign_package_feed.bbclas
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 <markus.lehto...@linux.intel.com>
---
://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
-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
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
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 <markus.lehto...@linux.intel.com>
---
scripts/lib/devtool/standard.p
+)
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)
Markus
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 <markus.lehto...@linux.intel.com>
---
scripts/lib/devtool/standard.py | 13 -
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 a5e81f3..43fce11 100644
--- a/scripts/lib/d
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 <markus.lehto...@linux.intel.com>
---
meta/classes/kernel.bbclass | 2 +-
1 file changed, 1 insertion
This makes it easier to track changes made to config.
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
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
Hi Richard,
On 18/12/15 14:22, "Richard Purdie" <richard.pur...@linuxfoundation.org> 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,
On 18/12/15 16:18, "Richard Purdie" <richard.pur...@linuxfoundation.org> 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:
>> >
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 <markus.lehto...@linux.intel.com>
---
scripts/lib/d
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
' 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 <markus.lehto...@linux.intel.com>
---
scripts/lib/devtool/standard.py | 3 ++-
1 file changed, 2 insertions
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
>
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 <markus.le
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 <markus.lehto...@linux.intel.
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 <markus.lehto...@linux.intel.com>
---
meta/classes/sign_package_feed.bbclass | 24 ++
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 <markus.lehto...@linux.intel.com>
---
meta/c
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
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/c
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 package feeds are not yet implemented for these package formats.
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
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_mana
in the 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 <markus.lehto...@linux.intel.com>
---
meta/classes/sign_rpm.bbclass | 4
1 file changed, 4 insertions(+)
diff --git a/meta/classes/sign_rpm.bbclass b/meta/c
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 <markus.lehto...@linux.intel.com>
---
meta/lib/oe/pa
do_compile() task failed when RPM signing was in use.
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
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/r
do_compile() task failed when RPM signing was in use.
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
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/r
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 <markus.lehto...@linux.intel.com>
---
scripts/lib/devtool/standard.py | 2 +-
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
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
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 <markus.lehto...@linux.intel.com>
---
scripts/lib/devtool/__init__.py | 4 ++--
scripts/lib/devtool/standard.
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 <markus.lehto...@linux.intel.com>
> > ---
> >
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 <markus.lehto...@linux.intel.com>
---
scripts/lib/devtool/standard.py | 119
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
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
+++
In order to remove some code duplication.
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
meta/lib/oeqa/selftest/devtool.py | 63 +++
1 file changed, 24 insertions(+), 39 deletions(-)
diff --git a/meta/lib/oeqa/selftest/devtool.py
to srctree.
[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 6b85c8c
Removes some code duplication.
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
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/li
When adding multiple new patches append them to SRC_URI in correct order
so that they apply correctly.
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/d
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 for checking
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 <markus.lehto...@linux.intel.com>
---
meta/lib/oeqa/selftest/devtool.py
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 <markus.lehto...@linux.intel.com>
---
scripts/lib/devtool/standard.py | 16 +++-
1 file chang
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 7
New method for checking the status of the working tree of a repository.
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
meta/lib/oeqa/selftest/devtool.py | 87 ---
1 file changed, 35 insertions(+), 52 deletions(-)
diff --git a/me
Rename fails over filesystem boundaries.
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
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..1
"devtool extract zlib ./zlib" would always create create
srctree in ${TOPDIR}/zlib, independent of the users cwd.
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
scripts/devtool| 5 +
scripts/lib/devtool/__init__.py| 6 +-
scripts/l
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).
> > Currentl
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).
> > Currentl
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 <markus.lehto...@linux.intel.com>
---
.../configure.ac
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 <markus.lehto...@linux.intel.com>
---
scripts/lib/devtool/standard.py | 7 ++-
1 file changed, 2 insertions(+), 5 deletions(-)
)
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 <markus.lehto...@linux.intel.com>
---
scripts/lib/d
pointing to our source tree get removed.
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
meta/classes/externalsrc.bbclass | 18 +++---
1 file changed, 7 insertions(+), 11 deletions(-)
diff --git a/meta/classes/externalsrc.bbclass b/meta/classes/externalsrc.b
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]
Signed-off-by: Markus Lehtonen <markus.le
kernel-meta always available.
[YOCTO #6658]
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
meta/classes/externalsrc.bbclass | 12
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/meta/classes/externalsrc.bbclass b/meta/classes/externalsrc.b
is enabled. Instead of moving the source tree,
STAGING_KERNEL_DIR will be a symlink to it.
[YOCTO #6658]
Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
meta/classes/kernel.bbclass | 10 +++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/meta/c
-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
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
Hi,
On 27/08/15 12:31, Markus Lehtonen
openembedded-core-boun...@lists.openembedded.org on behalf of
markus.lehto...@linux.intel.com 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
Hi,
On 27/08/15 15:03, Mark Hatle mark.ha...@windriver.com wrote:
On 8/26/15 11:27 PM, Markus Lehtonen wrote:
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
Hi,
On 27/08/15 15:45, Paul Eggleton paul.eggle...@linux.intel.com 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 pristine
environment fails
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 markus.lehto...@linux.intel.com
---
scripts/lib/devtool
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
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 markus.lehto...@linux.intel.com
---
scripts/lib
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 Lehtonen markus.lehto...@linux.intel.com
---
meta/classes/package_rpm.bbclass | 5
meta
. 'PACKAGE_FEED_GPG_PUBKEY = path_to_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 for signing.
[YOCTO #8134]
Signed-off-by: Markus Lehtonen markus.lehto
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 ***
Markus Lehtonen
installing packages from the feed).
The original idea idea of this patch is from Mark Hatle
mark.ha...@windriver.com.
[YOCTO #8134]
Signed-off-by: Markus Lehtonen markus.lehto...@linux.intel.com
---
...dumpMetadata-disable-signature-validation.patch | 31 ++
.../createrepo
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
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
for signing the packages, for example.
[YOCTO #8134]
Signed-off-by: Markus Lehtonen markus.lehto...@linux.intel.com
---
meta/classes/package_rpm.bbclass | 5
meta/classes/sign_rpm.bbclass| 58
meta/lib/oe/package_manager.py | 28 +++
3
Implement simple scheme of signing RPM packages and RPM package feeds locally
in the builder host. RPM package signing is implemented in a new bbclass. This
could be extended/replaced to enable more sophisticated schemes like using a
signing server.
[YOCTO #8134]
Markus Lehtonen (3
. 'PACKAGE_FEED_GPG_PUBKEY = path_to_pubkey' pointing to the
corresponding public key (in armor format)
[YOCTO #8134]
Signed-off-by: Markus Lehtonen markus.lehto...@linux.intel.com
---
meta/lib/oe/package_manager.py | 24 ++--
1 file changed, 22 insertions(+), 2 deletions(-)
diff
501 - 600 of 676 matches
Mail list logo