From: Tobias Hagelborn <tobia...@axis.com>
Fixed copy & paste error causing error when extracting SRCREV
for packages containing multiple SRCREV definitons.
Signed-off-by: Tobias Hagelborn <tobias.hagelb...@axis.com>
---
scripts/buildhistory-collect-srcrevs | 2 +-
1 file chan
Setup a directory tree for source code according to section name.
(if known).
This tree is intended for code browsing ONLY.
If source is moved, for instance with devtool modify,
this command should be rerun to be up-to-date with that move.
Signed-off-by: Tobias Hagelborn <tobia...@axis.
convenient local search in source code.
Example:
nfs-utils (console/network) maps to ->
console/
network/
nfs-utils
Signed-off-by: Tobias Hagelborn <tobia...@axis.com>
---
meta/classes/srctree.bbclass | 92
1 file changed, 92 i
to
SRCTREE_PN_PATH in a custom class and set SRCTREE_EXTENSION in a configuration
file.
Tobias Hagelborn (2):
srctree.bbclass: Download sourcecode and make it searchable
devtool: srctree: New command for setting up browsable source-code
meta/classes/srctree.bbclass | 92
.
This is done by implementing a custom dir generation function and assign to
SRCTREE_PN_PATH
in a custom class and set SRCTREE_EXTENSION in a configuration file.
Tobias Hagelborn (2):
srctree.bbclass: Download sourcecode and make it searchable
devtool: srctree: New command for setting up
convenient local search in source code.
Example:
nfs-utils (console/network) maps to ->
console/
network/
nfs-utils
Signed-off-by: Tobias Hagelborn <tobia...@axis.com>
---
meta/classes/srctree.bbclass | 90
1 file changed, 90 i
Setup a directory tree for source code according to section name.
(if known).
This tree is intended for code browsing ONLY.
If source is moved, for instance with devtool modify,
this command should be rerun to be up-to-date with that move.
Signed-off-by: Tobias Hagelborn <tobia...@axis.
* Support stripping of .ko modules verifying file extension and
check of content "vermagic="
* Minor refactoring (removing lint errors)
Signed-off-by: Tobias Hagelborn <tobia...@axis.com>
---
meta/lib/oe/package.py | 44 +---
1
ng default behavior
Config example:
[Deploy]
strip = true
[YOCTO #11227]
Signed-off-by: Tobias Hagelborn <tobia...@axis.com>
---
scripts/lib/devtool/deploy.py | 32
1 file changed, 28 insertions(+), 4 deletions(-)
diff --git a/scripts/lib/devtool/deploy.
Strip all executables in a directory.
Utility function placed in oe-package together with run_strip.
strip_execs is based on strip_sysroot from staging.bbclass
Moving out datastore references in favor of function parameters.
Signed-off-by: Tobias Hagelborn <tobia...@axis.com>
---
meta/
Make use of the library function oe.package.strip_execs for stripping
sysroot executables. oe.packge.strip_execs is based on code previously
residing in sysroot_strip.
Signed-off-by: Tobias Hagelborn <tobia...@axis.com>
---
meta/classes/staging.bbclass
Strip all executables in a directory.
Utility function placed in oe-package together with run_strip.
strip_execs is based on strip_sysroot from staging.bbclass
Moving out datastore references in favor of function parameters.
Signed-off-by: Tobias Hagelborn <tobia...@axis.com>
---
meta/
ng default behavior
Config example:
[Deploy]
strip = true
[YOCTO #11227]
Signed-off-by: Tobias Hagelborn <tobia...@axis.com>
---
scripts/lib/devtool/deploy.py | 32
1 file changed, 28 insertions(+), 4 deletions(-)
diff --git a/scripts/lib/devtool/deploy.
* Support stripping of .ko modules verifying file extension and
check of content "vermagic="
* Minor refactoring (removing lint errors)
Signed-off-by: Tobias Hagelborn <tobia...@axis.com>
---
meta/lib/oe/package.py | 44 +---
1
Make use of the library function oe.package.strip_execs for stripping
sysroot executables. oe.packge.strip_execs is based on code previously
residing in sysroot_strip.
Signed-off-by: Tobias Hagelborn <tobia...@axis.com>
---
meta/classes/staging.bbclass
t behavior
* Added .ko strip support compared to original function sysroot_strip
Config example:
[Deploy]
strip = true
[YOCTO #11227]
Signed-off-by: Tobias Hagelborn <tobia...@axis.com>
---
scripts/lib/devtool/deploy.py | 134 --
1 file changed, 130
On 06/14/2017 01:35 PM, Tobias Hagelborn wrote:
On 06/14/2017 11:28 AM, Richard Purdie wrote:
On Wed, 2017-06-14 at 08:24 +0200, Tobias Hagelborn wrote:
New devtool deploy-target option --strip which enables deploying
stripped binaries, saving some space on target.
* Copies the files of ${D
On 06/14/2017 11:28 AM, Richard Purdie wrote:
On Wed, 2017-06-14 at 08:24 +0200, Tobias Hagelborn wrote:
New devtool deploy-target option --strip which enables deploying
stripped binaries, saving some space on target.
* Copies the files of ${D} into a new directory and strips them in
place
On 07/07/2017 07:32 AM, Tobias Hagelborn wrote:
UPDATE v2:
- Rebased on latest Poky
- Fixed issue with bad paths
- Dirname based on $PN
In our organization, there is a demand to be able download source code for
searching.
With the use of sstate-cache this has been challenge. Also, the source
ng default behavior
Config example:
[Deploy]
strip = true
[YOCTO #11227]
Signed-off-by: Tobias Hagelborn <tobia...@axis.com>
---
scripts/lib/devtool/deploy.py | 33 +
1 file changed, 29 insertions(+), 4 deletions(-)
diff --git a/scripts/lib/devtool/deploy.
New devtool deploy-target option --strip which enables deploying
stripped binaries, saving some space on target.
Updates in v4:
- Updated to correct the errors found by Autobilder.
- Verified devtool-deploy-target with poky-master
[YOCTO #11227]
Tobias Hagelborn (2):
package.py: strip_execs
* Support stripping of .ko modules verifying file extension and
check of content "vermagic="
* Minor refactoring (removing lint errors)
Signed-off-by: Tobias Hagelborn <tobia...@axis.com>
---
meta/lib/oe/package.py | 44 +---
1
On 06/21/2017 12:09 PM, Jussi Kukkonen wrote:
On 20 June 2017 at 10:42, Tobias Hagelborn <tobias.hagelb...@axis.com
<mailto:tobias.hagelb...@axis.com>> wrote:
>
> New devtool deploy-target option --strip which enables deploying
> stripped binaries, saving
* Support stripping of .ko modules verifying file extension and
check of content "vermagic="
Signed-off-by: Tobias Hagelborn <tobia...@axis.com>
---
meta/lib/oe/package.py | 23 ++-
1 file changed, 14 insertions(+), 9 deletions(-)
diff --git a/meta/lib/oe/p
ng default behavior
Config example:
[Deploy]
strip = true
[YOCTO #11227]
Signed-off-by: Tobias Hagelborn <tobia...@axis.com>
---
scripts/lib/devtool/deploy.py | 33 +
1 file changed, 29 insertions(+), 4 deletions(-)
diff --git a/scripts/lib/devtool/deploy.
- rename type to exec_type not to shadow type
- rename isELF is_elf
---
meta/lib/oe/package.py | 19 +--
1 file changed, 9 insertions(+), 10 deletions(-)
diff --git a/meta/lib/oe/package.py b/meta/lib/oe/package.py
index a79c668..839e9a2 100644
--- a/meta/lib/oe/package.py
+++
New devtool deploy-target option --strip which enables deploying
stripped binaries, saving some space on target.
Updates in v5:
- Updated according to feedback from Richard Purdie
- Separate lint issue fixes
- Verified devtool-deploy-target with poky-master
[YOCTO #11227]
Tobias Hagelborn
ng default behavior
Config example:
[Deploy]
strip = true
[YOCTO #11227]
Signed-off-by: Tobias Hagelborn <tobia...@axis.com>
---
scripts/lib/devtool/deploy.py | 33 +
1 file changed, 29 insertions(+), 4 deletions(-)
diff --git a/scripts/lib/devtool/deploy.
- rename type to exec_type not to shadow type
- rename isELF is_elf
Signed-off-by: Tobias Hagelborn <tobia...@axis.com>
---
meta/lib/oe/package.py | 19 +--
1 file changed, 9 insertions(+), 10 deletions(-)
diff --git a/meta/lib/oe/package.py b/meta/lib/oe/package.py
* Support stripping of .ko modules verifying file extension and
check of content "vermagic="
Signed-off-by: Tobias Hagelborn <tobia...@axis.com>
---
meta/lib/oe/package.py | 23 ++-
1 file changed, 14 insertions(+), 9 deletions(-)
diff --git a/meta/lib/oe/p
convenient local search in source code.
Example:
nfs-utils (console/network) maps to ->
console/
network/
nfs-utils
Signed-off-by: Tobias Hagelborn <tobia...@axis.com>
---
meta/classes/srctree.bbclass | 90
1 file changed, 90 i
Setup a directory tree for source code according to section name.
(if known).
This tree is intended for code browsing ONLY.
If source is moved, for instance with devtool modify,
this command should be rerun to be up-to-date with that move.
Signed-off-by: Tobias Hagelborn <tobia...@axis.
the package source code in your own way.
This is done by implementing a custom dir generation function and assign to
SRCTREE_PN_PATH
in a custom class and set SRCTREE_EXTENSION in a configuration file.
Tobias Hagelborn (2):
srctree.bbclass: Download sourcecode and make it searchable
devtool
On 09/05/2017 02:10 PM, Randy MacLeod wrote:
On 2017-09-01 08:00 AM, Peter Kjellerstedt wrote:
Well, the most common request we've gotten from the developers is that
they want to be able to search through all the sources, e.g., to find
out where a particular function is used. The tmp directory
Findings from using Hash Equivalence server at scale:
=
We have now used the OE Hash Equivalence server at scale in our C/I chain at
our company.
This has given some insights in what works and what can be improved when
running this
service in
From: Tobias Hagelborn
Retry insert operations in case the database is locked by
an external process. For instance an external cleanup or data
retention transaction. Use async sleep to not block the event loop.
Signed-off-by: Tobias Hagelborn
---
lib/hashserv/server.py | 41
the global sstate cache.
If this case is detected, re-run the fetch operation to get the
global .sig file (if it exists).
Change-Id: Id0491af1d3a0d29b2773d1607be9edfb7fa5ad70
Signed-off-by: Tobias Hagelborn
---
meta/classes-global/sstate.bbclass | 6 +-
1 file changed, 5 insertions(+), 1 deletion
the global sstate cache.
If this case is detected, re-run the fetch operation to get the
global .sig file (if it exists).
Signed-off-by: Tobias Hagelborn
---
meta/classes-global/sstate.bbclass | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/meta/classes-global/sstate.bbclass
b
the global sstate cache.
If this case is detected, re-run the fetch operation to get the
global .sig file (if it exists).
Signed-off-by: Tobias Hagelborn
---
New in v3:
* Use exists
* Consolidate into previously existing fetch block (with new condition)
meta/classes-global/sstate.bbclass | 5 +++--
1
: GPG exited with code 2:
gpg: signing failed: Bad passphrase
The provided solution with renaming the files into final destination has proven
to eliminate the issue.
Cheers
Tobias
From: openembedded-core@lists.openembedded.org
on behalf of Tobias Hagelborn
Sent: Thursday, March 23, 2023
Move the signature file into place only after it is successfully signed.
This to avoid race and corrupted .sig files in cases multiple onging
builds write to a shared sstate-cache dir.
Signed-off-by: Tobias Hagelborn
---
meta/lib/oe/gpg_sign.py | 25 +++--
1 file changed, 15
To: Tobias Hagelborn ;
openembedded-core@lists.openembedded.org
Subject: Re: [OE-core] [PATCH] lib/oe/gpg_sign.py: Avoid race when creating
.sig files in detach_sign
On Wed, 2023-03-29 at 23:33 +0100, Richard Purdie via
lists.openembedded.org wrote:
> On Thu, 2023-03-23 at 11:08 +0100, Tob
ers
Tobias
From: openembedded-core@lists.openembedded.org
on behalf of Tobias Hagelborn
Sent: Friday, December 22, 2023 7:09 AM
To: openembedded-core@lists.openembedded.org
Subject: [OE-core] [PATCH] sstate.bbclass: Only sign packages at the time of
their creation
Fr
From: Tobias Hagelborn
The purpose of the change is to never sign a package not created by
the build itself.
sstate_create_package is refactored into Python and re-designed
to handle signing inside the function. Thus, the signing should never
apply to existing sstate packages. The function
solution.
We have run this cache in production now with and it seems to do OK
so I would like to share it either as a contribution or an idea for
improvement.
Tobias Hagelborn (1):
hashserv: Unihash cache
lib/hashserv/server.py | 188 ++---
1 file changed, 159
in the
unihash cache. This caches unihashes from the database that have
not been written during the current session.
Stats have been added for hits, misses and size of the unihash cache.
Signed-off-by: Tobias Hagelborn
---
lib/hashserv/server.py | 188 ++---
1
46 matches
Mail list logo