FIXES [YOCTO #14235]
This script is a starting point for a "linter" for bbclass files.
Currently it will check for '_' in the bbclass filename and '-' in
addtask or EXPORT_FUNCTION. It will print warnings only no errors.
Signed-off-by: Saul Wold
---
scripts/check-bbcla
://bugzilla.yoctoproject.org/show_bug.cgi?id=14235
Saul Wold (1):
check-bbclasses: add new script to check bbclasses
scripts/check-bbclasses | 109
1 file changed, 109 insertions(+)
create mode 100755 scripts/check-bbclasses
--
2.34.1
correctly.
Signed-off-by: Saul Wold
---
Tested with a lib32 image and without
meta/lib/oeqa/runtime/decorator/package.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/meta/lib/oeqa/runtime/decorator/package.py
b/meta/lib/oeqa/runtime/decorator/package.py
index
This adds a check to ensure we that if a variable is
empty it gets an empty string, this also adds quotes
to indicate the variable contents.
"comment": "CUSTOM_SPECIAL="
or
"comment": "CUSTOM_SPECIAL=variable contents"
Signed-off-by:
that occurred in master.
Fixes: [YOCTO #15026]
Signed-off-by: Saul Wold
---
meta/classes/package.bbclass | 7 +++
1 file changed, 7 insertions(+)
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index 8b11fdd155..2950218145 100644
--- a/meta/classes/package.bbclass
+++ b
On 2/20/23 14:40, Richard Purdie wrote:
On Mon, 2023-02-20 at 13:30 -0800, Saul Wold wrote:
This is needed when the SDK or eSDK is installed in a /build top level
directory as it conflicts with the build directory within the existing
/usr/src/debug/build (which is really a link). Rename
that occurred in master.
Fixes: [YOCTO #15026]
Signed-off-by: Saul Wold
---
meta/classes/package.bbclass | 7 +++
1 file changed, 7 insertions(+)
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index 8b11fdd155..2950218145 100644
--- a/meta/classes/package.bbclass
+++ b
On 2/16/23 07:25, Joshua Watt wrote:
On Wed, Feb 15, 2023 at 6:31 PM Saul Wold wrote:
This adds a check to ensure we that if a variable is
empty it gets an empty string, this also adds quotes
to indicate the variable contents.
"comment": "
This adds a check to ensure we that if a variable is
empty it gets an empty string, this also adds quotes
to indicate the variable contents.
"comment": "CUSTOM_SPECIAL=''"
or
"comment": "CUSTOM_SPECIAL= 'variable contents'"
Signed-off
as needed.
Saul Wold (1):
create-spdx-2.2: Add support for custom Annotations
meta/classes/create-spdx-2.2.bbclass | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
--
2.25.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#177168):
https
Date": "2023-02-13T19:44:20Z",
"annotationType": "OTHER",
"annotator": "Tool: oe-spdx-creator - 1.0",
"comment": "CUSTOM_VARIABLE=some value or string"
},
Signed-off-by: Saul Wold
On 2/13/23 12:03, Joshua Watt wrote:
On Mon, Feb 13, 2023 at 1:54 PM Saul Wold wrote:
This change adds a new variable to track which recipe variables
are added as SPDX Annotations.
Usage: add SPDX_CUSTOME_ANNOTATION_VARS =
nit: CUSTOM
v2 will come shortly (I will try to address
Date": "2023-02-13T19:44:20Z",
"annotationType": "OTHER",
"annotator": "Tool: oe-spdx-creator - 1.0",
"comment": "CUSTOM_VARIABLE=some value or string"
},
Signed-off-by: Saul Wold
The original patch was actually allowing .debug modules
though which was in-correct. This change blocks the
parsing of .debug modules (which is correct). As noted in
[YOCTO #15022] this should address the empty modules.dep
when using the BusyBox depmod.
Signed-off-by: Saul Wold
---
.../busybox
The create_spdx code relies on patched code, if files are changed
or added during the do_configure phase they will be missed by the
create_spdx process. So we need to ensure files modifications/additions
happen in the do_patch phase.
Signed-off-by: Saul Wold
---
meta/recipes-extended
The create_spdx code relies on patched code, if files are changed
or added during the do_configure phase they will be missed by the
create_spdx process. So we need to ensure files modifications/additions
happen in the do_patch phase.
Signed-off-by: Saul Wold
---
meta/recipes-extended
Signed-off-by: Saul Wold
---
meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb
b/meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb
index 65068f02df8..303026ad789 100644
Upstream made a few tweaks and accepted the patch.
Signed-off-by: Saul Wold
---
...dd-support-for-excluding-a-directory.patch | 35 ++-
1 file changed, 19 insertions(+), 16 deletions(-)
diff --git
a/meta/recipes-kernel/kmod/kmod/0001-depmod-Add-support-for-excluding
On 4/1/22 04:11, Richard Purdie wrote:
On Thu, 2022-03-31 at 15:21 -0700, Saul Wold wrote:
This ensure that when depmod-native runs we can find the correct
exclude.conf information, in this case adding .debug to ignore
the .debug kernell modules. The kmod utilities like depmod can use
either
/depmod.d (nonarch_base_lib)
When the busybox modutils are used, /lib/depmod.d is not used, so
it's safe add the exclude.conf file to /lib/depmod.d.
Signed-off-by: Saul Wold
---
meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb | 9 +++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff
This adds a new configuration directive to depmod that causes
depmod to exclude a give path entry like .debug.
kernel-dbg provides the modules .debug/.ko files and
when installed either directly or when dbg-pkgs are selected
this can cause depmod to fail.
Signed-off-by: Saul Wold
---
v2
As with the kmod version of depmod, exclude .debug from being
searched. Since busybox does not use the depmod.d and any
configuration file option is ignored we just hardcode it.
Signed-off-by: Saul Wold
---
...001-depmod-Ignore-.debug-directories.patch | 32 +++
meta/recipes
I got some feedback from the kmod upstream, a v2 will be coming soon.
Sau!
On 3/30/22 15:11, Saul Wold wrote:
This adds a new configuration directive to depmod that causes
depmod to exclude a give path entry like .debug.
kernel-dbg provides the modules .debug/.ko files and
when installed
Use the native staging dir so that we can get the correct depmod.d configuration
files. When depmod runs we want to ensure that the newly supported exclude.conf
is read so that .debug/.ko files are excluded.
Signed-off-by: Saul Wold
---
meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb | 4
kmod.
Signed-off-by: Saul Wold
---
.../kmod/depmodwrapper-cross_1.0.bb | 3 +
...dd-support-for-excluding-a-directory.patch | 158 ++
meta/recipes-kernel/kmod/kmod_29.bb | 4 +
3 files changed, 165 insertions(+)
create mode 100644
meta/recipes-kernel
Signed-off-by: Saul Wold
---
meta/classes/base.bbclass | 4 +--
meta/classes/cross-canadian.bbclass | 6 ++--
meta/classes/cve-check.bbclass| 31 ++-
meta/classes/insane.bbclass | 7 +++--
meta/classes
This patch is another part of the inclusive language change
to rename internal variables to more understandable names.
Signed-off-by: Saul Wold
---
meta/classes/base.bbclass | 4 +--
meta/classes/cross-canadian.bbclass | 6 ++--
meta/classes/cve-check.bbclass
Signed-off-by: Saul Wold
---
scripts/contrib/convert-variable-renames.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/contrib/convert-variable-renames.py
b/scripts/contrib/convert-variable-renames.py
index ed012610db..856c001e11 100755
--- a/scripts/contrib
Signed-off-by: Saul Wold
---
meta/lib/oe/license.py | 28 +++-
1 file changed, 15 insertions(+), 13 deletions(-)
diff --git a/meta/lib/oe/license.py b/meta/lib/oe/license.py
index b5d378a549b..4cd382b4fd7 100644
--- a/meta/lib/oe/license.py
+++ b/meta/lib/oe/license.py
From: Saul Wold
This re-writes the INCOMPATIBLE_LICENSE checking code to replace
the WHITELIST_ with
INCOMPATIBLE_LICENSE_EXCEPTIONS = ': : ...'
This initial set of changes leaves most of the code structure in
place, but the code in base.bbclass needs to be re-written to make
the check more
-by: Saul Wold
Signed-off-by: Richard Purdie
---
meta/classes/base.bbclass | 66 --
meta/classes/license_image.bbclass | 5 ++-
meta/lib/oe/license.py | 10 +
3 files changed, 40 insertions(+), 41 deletions(-)
diff --git a/meta/classes/base.bbclass
Update the comment to reflect new variable names
Signed-off-by: Saul Wold
---
v2: Update comment and change include -> include_licenses,
exclude -> exclude_licenses
meta/lib/oe/license.py | 31 +--
1 file changed, 17 insertions(+), 14 deletions(-)
diff
Update the comment to reflect new variable names
Signed-off-by: Saul Wold
---
meta/lib/oe/license.py | 28 +++-
1 file changed, 15 insertions(+), 13 deletions(-)
diff --git a/meta/lib/oe/license.py b/meta/lib/oe/license.py
index b5d378a549b..4cd382b4fd7 100644
packages (PKGS) and not recipe
names (PN). This also is taking into account the changes for SPDX
licenses.
This is a work in progress. This version does test successfully
with oe-selftest. This will be refactored as multiple patches as
appropriate.
Signed-off-by: Saul Wold
---
meta/classes
By renaming LICENSE_EXCLUSION to _exclude_incompatible, it makes it
clear that this is an internal variable.
Signed-off-by: Saul Wold
---
meta/classes/base.bbclass| 2 +-
meta/classes/package.bbclass | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/meta/classes
From: Saul Wold
(From meta-yocto rev: e937a42996c046baca7ce502c6ce0ee3c7ed38e3)
Signed-off-by: Saul Wold
---
v2: rename internal variables and fix comments and messages
meta-poky/conf/local.conf.sample.extended | 2 +-
meta/classes/base.bbclass | 4 +--
meta/classes
Signed-off-by: Saul Wold
---
meta-poky/conf/local.conf.sample.extended| 2 +-
meta/classes/base.bbclass| 4 ++--
meta/classes/license.bbclass | 2 +-
meta/conf/bitbake.conf | 1 +
meta
Folks,
As a follow-on to yesterday's email and replies, I would like to make
the following proposal for dealing with the changes to
INCOMPATIBLE_LICENSE and associated variables.
Current Usage:
INCOMPATIBLE_LICENSE is a list of licenses that are considered
incompatible with a distro's
Folks,
I am working on a proposal to re-write how INCOMPATIBLE_LICENSES is used
and processed to possibly include a COMPATIBLE_LICENSES variable as
well, see PeterK's email [0]
I am trying to determine the usage of WHITELIST_ which would be
used to override a license that might be listed
Add back Copyright info with update.
Signed-off-by: Saul Wold
---
scripts/contrib/convert-variable-renames.py | 11 +++
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/scripts/contrib/convert-variable-renames.py
b/scripts/contrib/convert-variable-renames.py
index
From: Saul Wold
This script searches for a list of variable that have been renamed
and converts them to their more descriptive names. It also searches
for a list of variables that have been removed or deprecated and
prints a message.
It will print a message to inform the user
This is one option to handle the rename, another alternative would
be to change the new INCOMPATIBLE_LICENSE_ALLOWED_RECIPES to VarFlag
style.
Signed-off-by: Saul Wold
---
meta/classes/base.bbclass| 4 ++--
meta/classes/license_image.bbclass | 2 +-
meta
to be updated in their files. Many of these changes are context
sensitive and may not be modified as they might be existing calls to
other libraries. This message is informational only.
I have tested this on poky and meta-openembedded so far.
Signed-off-by: Saul Wold
---
scripts/contrib/descriptive
On 2/8/22 07:37, Konrad Weihmann wrote:
On 08.02.22 16:02, Saul Wold wrote:
This patch will read the begining of source files and try to find
the SPDX-License-Identifier to populate the licenseInfoInFiles
field for each source file. This does not populate licenseConcluded
at this time, nor
to have some
binary characters, the license is then converted to ascii strings.
Signed-off-by: Saul Wold
---
v2: Clean up commit message
v3: Really fix up regex based on Peter's feedback!
meta/classes/create-spdx.bbclass | 22 ++
1 file changed, 22 insertions(+)
diff --git
to have some
binary characters, the license is then converted to ascii strings.
Signed-off-by: Saul Wold
---
v2: Updated commit message, and fixed REGEX based on Peter's suggetion
meta/classes/create-spdx.bbclass | 23 +++
1 file changed, 23 insertions(+)
diff --git a/meta
This changes a couple of variables to be more representive of
their usage.
Signed-off-by: Saul Wold
---
meta/lib/oeqa/selftest/cases/imagefeatures.py | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/meta/lib/oeqa/selftest/cases/imagefeatures.py
b/meta/lib/oeqa
variable.
Sau!
Saul Wold (5):
skip_recipe: remove old class and rename VarFlag to SKIP_RECIPE
imagefeatures: selftest: Change variable to be more descriptive
multilib: Use renamed SKIP_RECIPE varFlag
dnf: Use renamed SKIP_RECIPE varFlag
documentation: Update for skip_recipe rename
meta
This change better describes what the VarFlag is doing since it
is implemeted with the SkipRecipe() function.
By moving this into base.bbclass we simplify the distro inherit.
Signed-off-by: Saul Wold
---
meta/classes/base.bbclass | 10 ++
meta/classes/blacklist.bbclass
This change better aligns the name of the variable with it's
purpose. Since we removed the odler class, the associated
documentation is also removed.
Signed-off-by: Saul Wold
---
meta/conf/documentation.conf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/conf
This is a more descriptive variable name updated in base.bbclass
Signed-off-by: Saul Wold
---
meta/recipes-devtools/dnf/dnf_4.10.0.bb | 2 +-
meta/recipes-devtools/libdnf/libdnf_0.65.0.bb | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-devtools/dnf
This is a more descriptive variable name updated in base.bbclass
Signed-off-by: Saul Wold
---
meta/classes/multilib.bbclass | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/meta/classes/multilib.bbclass b/meta/classes/multilib.bbclass
index 4a3e582816d..ec2013198ce
On 2/3/22 13:24, Richard Purdie wrote:
On Thu, 2022-02-03 at 09:07 -0800, Saul Wold wrote:
When a file can not be identified by checksum and they contain an SPDX
License-Identifier tag, use it as the found license.
[YOCTO #14529]
Tested with LICENSE files that contain 1 or more SPDX-License
def get_srcrev(d, method_name='sortable_revision'):
# ... trimmed
scms = []
fetcher = Fetch(d.getVar('SRC_URI').split(), d)
# ... trimmed
[YOCTO #14040]
Signed-off-by: Saul Wold
---
scripts/lib/recipetool/create.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --gi
When a file can not be identified by checksum and they contain an SPDX
License-Identifier tag, use it as the found license.
[YOCTO #14529]
Tested with LICENSE files that contain 1 or more SPDX-License-Identifier tags
Signed-off-by: Saul Wold
---
scripts/lib/recipetool/create.py | 16
On 2/1/22 19:21, Peter Kjellerstedt wrote:
-Original Message-
From: openembedded-core@lists.openembedded.org
On Behalf Of Saul Wold
Sent: den 2 februari 2022 01:02
To: openembedded-core@lists.openembedded.org; jpewhac...@gmail.com
Cc: Saul Wold
Subject: [OE-core] [PATCH] create-spdx
to have some
binary characters, the license is then converted to ascii strings.
Signed-off-by: Saul Wold
---
Merge after Joshua's patch (spdx: Add set helper for list properties) merges
meta/classes/create-spdx.bbclass | 23 +++
1 file changed, 23 insertions(+)
diff --git a/meta
This patch will read the begining of source files and try to find
the SPDX-License-Identifier to populate the licenseInfoInFiles
field for each source file. This does not populate licenseConculed
at this time, nor rolls it up to package level.
Signed-off-by: Saul Wold
---
classes/create
Overall I think this is going in the right direction, I need to review
it a little deeper and check the actual output.
I am not sure that you tested this against master as you use the old _
override syntax vs using a :.
See note below.
Sau!
On 1/12/22 11:40, Andres Beltran wrote:
-off-by: Saul Wold
---
meta/classes/package.bbclass | 17 +
meta/lib/oe/package.py | 9 -
2 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index 09cd376f4af..4927fb99ff1 100644
--- a/meta
kernel binary for the debug
information and extended packagedata. The extended package data is
used by create-spdx.
Signed-off-by: Saul Wold
---
meta/classes/kernel.bbclass | 44 -
1 file changed, 19 insertions(+), 25 deletions(-)
diff --git a/meta/classes
Since the kernel source is stored in work-shared, we need to add it
to the search path so the kernel and kernel-modules source code can
be found correctly.
Signed-off-by: Saul Wold
---
meta/classes/create-spdx.bbclass | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/meta
debuginfo / extended packagedata can be generated
correctly. This is the data that's used by create-spdx.
Sau!
Saul Wold (3):
create-spdx: Add kernel work-shared source
package: Add support for kernel stripping
kernel.bbclass: use common strip()
meta/classes/create-spdx.bbclass | 6
On 1/12/22 06:30, Bruce Ashfield wrote:
On Tue, Jan 11, 2022 at 6:59 PM Saul Wold wrote:
Re-use the runstrip() code from oe.packaging, for the kernel
stripping process. Since runstrip() is python the kernel do_strip()
need to be converted to Python also. The stripped kernel image
kernel binary for the debug
information and extended packagedata. The extended package data is
used by create-spdx.
Signed-off-by: Saul Wold
---
meta/classes/kernel.bbclass | 44 -
1 file changed, 19 insertions(+), 25 deletions(-)
diff --git a/meta/classes
-off-by: Saul Wold
---
meta/classes/package.bbclass | 21 +++--
meta/lib/oe/package.py | 7 +--
2 files changed, 12 insertions(+), 16 deletions(-)
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index 09cd376f4af..794996e6d6d 100644
--- a/meta
S variable
If this looks good, I will send a non-RFC patch set tomorrow.
Sau!
Saul Wold (3):
create-spdx: Add kernel work-shared source
package: Add support for kernel stripping
kernel.bbclass: use common strip()
meta/classes/create-spdx.bbclass | 6 -
meta/classes/kernel.bbclass
Since the kernel source is stored in work-shared, we need to add it
to the search path so the kernel and kernel-modules source code can
be found correctly.
Signed-off-by: Saul Wold
---
meta/classes/create-spdx.bbclass | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/meta
On 1/11/22 03:27, Richard Purdie wrote:
On Mon, 2022-01-10 at 16:42 -0800, Saul Wold wrote:
On 1/8/22 11:27, Bruce Ashfield wrote:
On Fri, Jan 7, 2022 at 6:19 PM Richard Purdie
mailto:richard.pur...@linuxfoundation.org>> wrote:
On Fri, 2022-01-07 at 13:24 -0800, Saul Wold
On 1/8/22 11:27, Bruce Ashfield wrote:
On Fri, Jan 7, 2022 at 6:19 PM Richard Purdie
<mailto:richard.pur...@linuxfoundation.org>> wrote:
On Fri, 2022-01-07 at 13:24 -0800, Saul Wold wrote:
> Move the do_strip() functionality to a more common location in the
of package stripping.
Signed-off-by: Saul Wold
---
meta/classes/kernel.bbclass | 35 +++
1 file changed, 3 insertions(+), 32 deletions(-)
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 7685c6921fa..30e67abb936 100644
--- a/meta/classes
or hardcode the values to runstrip.
Signed-off-by: Saul Wold
---
meta/classes/package.bbclass | 23 ---
meta/lib/oe/package.py | 7 +--
2 files changed, 17 insertions(+), 13 deletions(-)
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index
Since the kernel source is stored in work-shared, we need to add it
to the search path so the kernel and kernel-modules source code can
be found correctly.
Signed-off-by: Saul Wold
---
meta/classes/create-spdx.bbclass | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/meta
ressive. I am guessing
that part of the change might need some tuning.
Thanks
Sau!
Saul Wold (3):
create-spdx: Add kernel work-shared source
kernel.bbclass: remove do_strip() method
package: Add support for kernel stripping
meta/classes/create-spdx.bbclass | 6 +-
meta/classes/kern
From: Saul Wold
When the tranisiton to perl-cross occured, the threading define
seems to have been missed. The perl tests for threading where
simply skipped, so there was no direct failures. This was verified
by running perl ptest before and after the change to see PASS vs SKIP
results
On 1/6/22 10:22, Khem Raj wrote:
On Thu, Dec 30, 2021 at 1:24 PM Saul Wold wrote:
When the tranisiton to perl-cross occured, the threading define
seems to have been missed. The perl tests for threading where
simply skipped, so there was no direct failures. This was verified
by running
On 1/5/22 09:30, Bruce Ashfield wrote:
On Wed, Jan 5, 2022 at 12:07 PM Richard Purdie
wrote:
On Tue, 2022-01-04 at 14:07 -0800, Saul Wold wrote:
On 12/22/21 01:09, Richard Purdie wrote:
On Tue, 2021-12-21 at 11:08 -0800, Saul Wold wrote:
Stop ignoring or skipping the kernel and kernel
On 12/22/21 01:09, Richard Purdie wrote:
On Tue, 2021-12-21 at 11:08 -0800, Saul Wold wrote:
Stop ignoring or skipping the kernel and kernel modules code in the
split debug and striping functions, this will allow create_spdx to
process the kernel and modules.
Signed-off-by: Saul Wold
.
Signed-off-by: Saul Wold
---
meta/recipes-devtools/perl/perl_5.34.0.bb | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/recipes-devtools/perl/perl_5.34.0.bb
b/meta/recipes-devtools/perl/perl_5.34.0.bb
index a6ae80f07e1..3306a093692 100644
--- a/meta/recipes-devtools/perl/perl_5.34.0.bb
Stop ignoring or skipping the kernel and kernel modules code in the
split debug and striping functions, this will allow create_spdx to
process the kernel and modules.
Signed-off-by: Saul Wold
---
meta/classes/package.bbclass | 8 ++--
1 file changed, 2 insertions(+), 6 deletions(-)
diff
Adding the dbg package allows the package bbclass to parse the
debug information which can then be used by the create_spdx bbclass
Signed-off-by: Saul Wold
---
meta/classes/kernel.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes/kernel.bbclass b/meta
These changes allow the package bbclass to process the kernel and
kernel modules so that they that extended packaging info can be used
by the create-spdx bbclass.
Tested with qemux86-64
Saul Wold (2):
kernel: add -dbg package
package.bbclass: don't skip kernel and kernel modules
meta
On 12/8/21 01:57, Eero Aaltonen wrote:
On Mon, 2021-12-06 at 23:31 +, Richard Purdie via
lists.openembedded.org wrote:
On Mon, 2021-12-06 at 16:35 +0100, Quentin Schulz wrote:
blocklist has a more obvious meaning than blacklist and is also not
an
issue wrt inclusivity, so let's use that
On 12/6/21 17:01, Jon Mason wrote:
This email is a follow-up from the session held on Friday at the
OpenEmbedded Developer's Virtual Meeting (see
https://www.openembedded.org/wiki/OEDVM_Nov_2021)
The session was not recorded, but the slides can be found at
If LICENSE_PATH is not set, then the split() will fail on a NoneType.
Signed-off-by: Saul Wold
---
meta/classes/create-spdx.bbclass | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/meta/classes/create-spdx.bbclass b/meta/classes/create-spdx.bbclass
index 1d5c8b3bc1
I was trying to build more layers such as meta-clang and found
additional changes are needed to support other packages that are
installed into work-shared.
We might also need a similar patch for the archiver is this change
is acceptable.
Sau!
Saul Wold (2):
create_spdx: ensure
There is a function with the same name is_work_shared() in the archiver class
this causes a conflict when both classes are included. Use work-shared as the
check in WORKDIR to allow for other packages beyond the kernel and gcc that
use a common shared-work source directory.
Signed-off-by: Saul
On 11/16/21 8:39 AM, Saul Wold wrote:
On 11/15/21 2:44 PM, Paul Eggleton wrote:
On Tuesday, 9 November 2021 08:01:38 NZDT Saul Wold wrote:
On 11/4/21 2:20 PM, Joshua Watt wrote:
On 11/4/21 3:50 PM, Richard Purdie wrote:
On Thu, 2021-11-04 at 15:45 -0500, Joshua Watt wrote:
On 11/4/21 3
On 11/15/21 2:44 PM, Paul Eggleton wrote:
On Tuesday, 9 November 2021 08:01:38 NZDT Saul Wold wrote:
On 11/4/21 2:20 PM, Joshua Watt wrote:
On 11/4/21 3:50 PM, Richard Purdie wrote:
On Thu, 2021-11-04 at 15:45 -0500, Joshua Watt wrote:
On 11/4/21 3:43 PM, Richard Purdie wrote:
On Thu
On 11/4/21 2:20 PM, Joshua Watt wrote:
On 11/4/21 3:50 PM, Richard Purdie wrote:
On Thu, 2021-11-04 at 15:45 -0500, Joshua Watt wrote:
On 11/4/21 3:43 PM, Richard Purdie wrote:
On Thu, 2021-11-04 at 20:00 +, Jose Quaresma wrote:
Richard Purdie escreveu no dia
quinta,
28/10/2021 à(s)
Add annotations to relationships and refactor code to add
create_annotation() function for code reuse.
Ensure that "cross" recipes are factored into isNative also.
v2: removed leftover and unused annotation per Joshua
Sau!
Saul Wold (3):
spdx.py: Add annotation to relationship
c
Having annotations on relationship can provide additional information
about the relationship such as how it was derived.
Signed-off-by: Saul Wold
---
lib/oe/spdx.py | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/lib/oe/spdx.py b/lib/oe/spdx.py
index 4416194..9e7ced5
This allows code reuse and future usage with relationship annotations
Signed-off-by: Saul Wold
---
classes/create-spdx.bbclass | 18 --
1 file changed, 12 insertions(+), 6 deletions(-)
diff --git a/classes/create-spdx.bbclass b/classes/create-spdx.bbclass
index dd341db..72a9b55
Recipes that inherit cross should also be categorized as isNative
Signed-off-by: Saul Wold
---
classes/create-spdx.bbclass | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/classes/create-spdx.bbclass b/classes/create-spdx.bbclass
index 72a9b55..e8f476f 100644
Add annotations to relationships and refactor code to add
create_annotation() function for code reuse.
Ensure that "cross" recipes are factored into isNative also.
Sau!
Saul Wold (3):
spdx.py: Add annotation to relationship
create-spdx: add create_annotation function
create-s
This allows code reuse and future usage with relationship annotations
Signed-off-by: Saul Wold
---
classes/create-spdx.bbclass | 18 --
1 file changed, 12 insertions(+), 6 deletions(-)
diff --git a/classes/create-spdx.bbclass b/classes/create-spdx.bbclass
index dd341db..72a9b55
Recipes that inherit cross should also be categorized as isNative
Signed-off-by: Saul Wold
---
classes/create-spdx.bbclass | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/classes/create-spdx.bbclass b/classes/create-spdx.bbclass
index 72a9b55..883bc23 100644
Having annotations on relationship can provide additional information
about the relationship such as how it was derived.
Signed-off-by: Saul Wold
---
lib/oe/spdx.py | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/lib/oe/spdx.py b/lib/oe/spdx.py
index 4416194..9e7ced5
This is added to allow the create-spdx code to create annotations
that store values properly according to the SPDX Specification.
Initialy they will be used to track if a recipe is a native type.
Signed-off-by: Saul Wold
---
meta/lib/oe/spdx.py | 7 +++
1 file changed, 7 insertions
the
same checksum as the target file. The that are generated DocumentRefs
point to the native recipe rather than the target recipe DocumentRef.
Signed-off-by: Saul Wold
---
meta/classes/create-spdx.bbclass | 21 +++--
1 file changed, 19 insertions(+), 2 deletions(-)
diff --git a/meta
1 - 100 of 6765 matches
Mail list logo