Re: [OE-core] [PATCH 1/1] lib/oe/patch.py: Fix applying a directory as a patch

2019-01-26 Thread Tomasz Dziendzielski
sob., 26 sty 2019 o 11:34 Richard Purdie napisał(a): > > On Fri, 2019-01-25 at 20:55 +0100, Tomasz Dziendzielski wrote: > > If a SRC_URI content ends with '.patch' bitbake is > > trying to apply it as it's a patch file. > > > > It causes that if we use git

[OE-core] [PATCH 0/1] lib/oe/patch.py Fix the function comment

2019-01-26 Thread Tomasz Dziendzielski
://push.yoctoproject.org/poky-contrib dziendzi/patch-comment Tomasz Dziendzielski (1): lib/oe/patch.py: Fix the function comment meta/lib/oe/patch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.20.1 -- ___ Openembedded-core mailing list

[OE-core] [PATCH 1/1] lib/oe/patch.py: Fix the function comment

2019-01-26 Thread Tomasz Dziendzielski
If it's not a patch the function returns nothing. Signed-off-by: Tomasz Dziendzielski --- meta/lib/oe/patch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oe/patch.py b/meta/lib/oe/patch.py index 07a40fc50e..8c8e96a2dc 100644 --- a/meta/lib/oe/patch.py +++ b

[OE-core] [PATCH 0/1] gcc-shared-source: Fix devtool missing patch/unpack tasks

2019-01-26 Thread Tomasz Dziendzielski
to the latest stable kernel for the non-x86 BSPs (2019-01-26 13:40:03 +) are available in the Git repository at: git://push.yoctoproject.org/poky-contrib dziendzi/gcc Tomasz Dziendzielski (1): gcc-shared-source: Fix devtool missing patch/unpack tasks meta/recipes-devtools/gcc/gcc-shared

[OE-core] [PATCH 1/1] gcc-shared-source: Fix devtool missing patch/unpack tasks

2019-01-26 Thread Tomasz Dziendzielski
Devtool needs to execute these tasks so we cannot disable them but if SRC_URI is empty we don't need to disable them anymore. Setting EXTERNALSRC so devshell can find the shared gcc sources. https://bugzilla.yoctoproject.org/show_bug.cgi?id=13036 Signed-off-by: Tomasz Dziendzielski --- meta

[OE-core] [PATCH v2 1/1] gcc-shared-source: Fix devtool missing patch/unpack tasks

2019-01-27 Thread Tomasz Dziendzielski
://bugzilla.yoctoproject.org/show_bug.cgi?id=13036 Signed-off-by: Tomasz Dziendzielski --- meta/recipes-devtools/gcc/gcc-shared-source.inc | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/meta/recipes-devtools/gcc/gcc-shared-source.inc b/meta/recipes-devtools/gcc/gcc-shared

[OE-core] [PATCH v2 0/1] gcc-shared-source: Fix devtool missing patch/unpack tasks

2019-01-27 Thread Tomasz Dziendzielski
/gcc-1 Tomasz Dziendzielski (1): gcc-shared-source: Fix devtool missing patch/unpack tasks meta/recipes-devtools/gcc/gcc-shared-source.inc | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) -- 2.20.1 -- ___ Openembedded-core mailing list

[OE-core] [PATCH 1/1] lib/oe/patch.py: Fix applying a directory as a patch

2019-01-25 Thread Tomasz Dziendzielski
tries to apply that directory as a patch which ends up with a failure. Signed-off-by: Tomasz Dziendzielski --- meta/lib/oe/patch.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/lib/oe/patch.py b/meta/lib/oe/patch.py index 07a40fc50e..3d0b7d7289 100644 --- a/meta/lib/oe/patch.py

[OE-core] [PATCH 0/1] lib/oe/patch.py: Fix applying a directory as a patch

2019-01-25 Thread Tomasz Dziendzielski
: Fix unpack of submodules of submodules (2019-01-24 17:45:49 +) are available in the Git repository at: git://push.yoctoproject.org/poky-contrib dziendzi/patch Tomasz Dziendzielski (1): lib/oe/patch.py: Fix applying a directory as a patch meta/lib/oe/patch.py | 2 ++ 1 file changed, 2

[OE-core] [pseudo][PATCH v2] pseudo_client: Print PSEUDO_LOGFILE path in abort message on path mismatches

2020-11-27 Thread Tomasz Dziendzielski
The logfile path should be more visible so it's easier investigate the error. Signed-off-by: Tomasz Dziendzielski --- pseudo_client.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pseudo_client.c b/pseudo_client.c index 116d926..ea9d551 100644 --- a/pseudo_client.c

[OE-core] [pseudo][PATCH] pseudo_client: Print PSEUDO_LOGFILE path to abort message on path mismatches

2020-11-27 Thread Tomasz Dziendzielski
The logfile path should be more visible so it's easier investigate the error. Signed-off-by: Tomasz Dziendzielski --- pseudo_client.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pseudo_client.c b/pseudo_client.c index 116d926..ea9d551 100644 --- a/pseudo_client.c

[OE-core] [PATCH] pseudo: Update to print PSEUDO_LOGFILE in abort message on path mismatches

2020-12-02 Thread Tomasz Dziendzielski
Signed-off-by: Tomasz Dziendzielski --- meta/recipes-devtools/pseudo/pseudo_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/pseudo/pseudo_git.bb b/meta/recipes-devtools/pseudo/pseudo_git.bb index 2e13fec540..600885b5c2 100644 --- a/meta/recipes

[OE-core] [PATCH] populate_sdk_base: Fix condition syntax if SDK_RELOCATE_AFTER_INSTALL is disabled

2020-12-22 Thread Tomasz Dziendzielski
If variable is set to empty string the comparison is "if [ -eq 1 ]" which fails with "[: -eq: unary operator expected". Signed-off-by: Tomasz Dziendzielski --- meta/classes/populate_sdk_base.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[OE-core] [PATCH] devtool: Fix source extraction for gcc shared source

2021-01-19 Thread Tomasz Dziendzielski
If do_patch task is disabled then prepare do_configure dependencies to fetch external sources and create symlink to ${S} in devtool workspace. [YOCTO #13036] Signed-off-by: Tomasz Dziendzielski --- .../gcc/gcc-shared-source.inc | 1 + scripts/lib/devtool/standard.py

[OE-core] [PATCH] selftest/devtool: Add modify_localfiles_only test checking symlink path

2021-01-23 Thread Tomasz Dziendzielski
If recipe uses only file:// fetcher devtool unpacks sources under oe-local-files/ and adds symlink in source root directory. We need to verify if the symlink in subdirectory has correct path. See [YOCTO #13738] for details. Signed-off-by: Tomasz Dziendzielski --- meta/lib/oeqa/selftest/cases

[OE-core] [PATCH] externalsrc: Remove task dependencies to deleted tasks

2021-01-25 Thread Tomasz Dziendzielski
pendencies since they should be already covered. [YOCTO #14151] Signed-off-by: Tomasz Dziendzielski --- meta/classes/externalsrc.bbclass | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/classes/externalsrc.bbclass b/meta/classes/externalsrc.bbclass index 7a7d31e311..8e164707e6 100644

Re: [OE-core] [PATCH] externalsrc: Remove task dependencies to deleted tasks

2021-01-25 Thread Tomasz Dziendzielski
>would it help to change the python recipe to do: >addtask do_create_manifest after do_patch do_prepare_recipe_sysroot >? Well I think it would, I just thought it's done that way for some reason. I will submit a new patch. Best regards, Tomasz Dziendzielski -=-=-=-=-=-=-=-=-=-=-=- L

[OE-core] [PATCH] python3: Use addtask statement instead of task dependencies

2021-01-25 Thread Tomasz Dziendzielski
#14151] Signed-off-by: Tomasz Dziendzielski --- meta/recipes-devtools/python/python3_3.9.1.bb | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/meta/recipes-devtools/python/python3_3.9.1.bb b/meta/recipes-devtools/python/python3_3.9.1.bb index 17d0c032f7..093ebfe7ef 100644

[OE-core] [PATCH] devtool: Fix file:// fetcher symlink directory structure

2021-01-21 Thread Tomasz Dziendzielski
Add backward relative path if file is under directory. [YOCTO #13738] Signed-off-by: Tomasz Dziendzielski --- scripts/lib/devtool/standard.py | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py index

[OE-core] [PATCH v2] devtool: Fix file:// fetcher symlink directory structure

2021-01-21 Thread Tomasz Dziendzielski
Add relative path if file is under directory. [YOCTO #13738] Signed-off-by: Tomasz Dziendzielski --- scripts/lib/devtool/standard.py | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py index f7d8a82117

Re: [OE-core] [PATCH v2] devtool: Fix file:// fetcher symlink directory structure

2021-01-22 Thread Tomasz Dziendzielski
k files under subdirectories (oe-local-files/dir/foo) - it's working correctly but it may be good to cover it. But there is no test checking if after "devtool modify" directory structure in src "root" is preserved and symlinks are not broken. Best regards, Tomasz Dziendzielski -=

[OE-core] [PATCH v2] externalsrc: Fix parsing error with devtool non-git sources

2021-01-20 Thread Tomasz Dziendzielski
t poky directory) and if yes, then treat srcdir as non-git sources. Signed-off-by: Tomasz Dziendzielski --- meta/classes/externalsrc.bbclass | 4 1 file changed, 4 insertions(+) diff --git a/meta/classes/externalsrc.bbclass b/meta/classes/externalsrc.bbclass index dd093957

Re: [OE-core] [PATCH] devtool: Fix source extraction for gcc shared source

2021-01-19 Thread Tomasz Dziendzielski
lags(task, False)" and tell devtool to execute do_configure task dependencies (to prepare gcc sources). Best regards, Tomasz Dziendzielski -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#147004): https://lists.openembedded.org/g/openembedd

Re: [OE-core] [PATCH] devtool: Fix source extraction for gcc shared source

2021-01-19 Thread Tomasz Dziendzielski
ailures=0, errors=0) Best regards, Tomasz Dziendzielski -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#147000): https://lists.openembedded.org/g/openembedded-core/message/147000 Mute This Topic: https://lists.openembedded.org/mt/79954315/21656 Gr

[OE-core] [PATCH v2] devtool: Fix source extraction for gcc shared source

2021-01-19 Thread Tomasz Dziendzielski
If do_patch task is disabled then prepare do_configure dependencies to fetch external sources and create symlink to ${S} in devtool workspace. [YOCTO #13036] Signed-off-by: Tomasz Dziendzielski --- scripts/lib/devtool/standard.py | 30 ++ 1 file changed, 26

Re: [OE-core] [PATCH] devtool: Fix source extraction for gcc shared source

2021-01-19 Thread Tomasz Dziendzielski
Flags('do_patch', False) or []): +if not is_kernel_yocto and ('noexec' in (d.getVarFlags('do_patch', False) or []) or 'task' not in (d.getVarFlags('do_patch', False) or []): Best regards, Tomasz Dziendzielski -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#147007): https://l

[OE-core] [PATCH] externalsrc: Fix parsing error with devtool non-git sources

2021-01-20 Thread Tomasz Dziendzielski
If srcdir is under poky directory (e.g. devtool poky/build/workspace/sources) and is not a git repository then ${@srctree_hash_files(d)} will run "git rev-parse --git-dir" and detect poky directory as git-dir and run "'git', 'add', '-A', '.'], cwd=s_dir" trying to add srcdir but build dir is in

[OE-core] [PATCH 2/2] meta: Fix native inheritance order in recipes

2021-01-24 Thread Tomasz Dziendzielski
Classes native/nativesdk should be inherited last to prevent unexpected behaviour. See [YOCTO #5729] for details. Signed-off-by: Tomasz Dziendzielski --- meta/recipes-core/glibc/cross-localedef-native_2.32.bb | 2 +- meta/recipes-devtools/meson/nativesdk-meson_0.56.2.bb | 2 +- meta/recipes

[OE-core] [PATCH 1/2] insane: Add test for native/nativesdk inherit order

2021-01-24 Thread Tomasz Dziendzielski
Classes native/nativesdk should be inherited last to prevent unexpected behaviour. [YOCTO #5729] Signed-off-by: Tomasz Dziendzielski --- meta/classes/insane.bbclass | 28 +++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/meta/classes/insane.bbclass b

[OE-core] [PATCH] lib/oe/utils: Return empty string in parallel_make

2021-01-15 Thread Tomasz Dziendzielski
In cmake.bbclass we set CMAKE_BUILD_PARALLEL_LEVEL using parallel_make function and if PARALLEL_MAKE is set to empty string then this variable is exported as "None" causing cmake to fail with: "'CMAKE_BUILD_PARALLEL_LEVEL' environment variable invalid number 'None' given." S

[OE-core] [PATCH] bitbake: Don't treat mc recipe (Midnight Commander) as a multiconfig target

2021-01-28 Thread Tomasz Dziendzielski
ulticonfig configuration named do_populate_sysroot Signed-off-by: Tomasz Dziendzielski --- bitbake/lib/bb/cache.py| 4 ++-- bitbake/lib/bb/cooker.py | 6 +++--- bitbake/lib/bb/runqueue.py | 6 +++--- bitbake/lib/bb/siggen.py | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff -

[OE-core] [PATCH] sstatesig: Add descriptive error message to getpwuid/getgrgid "uid/gid not found" KeyError

2021-01-31 Thread Tomasz Dziendzielski
host user contamination. Add more information to the exception message to make it easier for user to debug. [YOCTO #14031] Signed-off-by: Tomasz Dziendzielski --- meta/lib/oe/sstatesig.py | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/meta/lib/oe/sstatesig.py b/meta/lib/oe/ss

[OE-core] [PATCH] license_image: Introduce SKIP_LICENSE_MANIFEST_RECIPES variable to prevent from trying to use license recipeinfo file from image recipes

2021-02-04 Thread Tomasz Dziendzielski
if dependency recipe inherits image.bbclass, so let's introduce SKIP_LICENSE_MANIFEST_RECIPES variable that will contain list of recipes that should be skipped. Signed-off-by: Tomasz Dziendzielski --- meta/classes/license_image.bbclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff

Re: [OE-core] [PATCH] license_image: Introduce SKIP_LICENSE_MANIFEST_RECIPES variable to prevent from trying to use license recipeinfo file from image recipes

2021-02-04 Thread Tomasz Dziendzielski
image recipes depending on other image recipes are less common scenarios and only in these cases my change would be needed. If we remove "(not dep[0] == pn)" we would require all developers to adapt their builds with SKIP_LICENSE_MANIFEST_RECIPES variable. Best regards, Toma

Re: [OE-core] [PATCH] license_image: Introduce SKIP_LICENSE_MANIFEST_RECIPES variable to prevent from trying to use license recipeinfo file from image recipes

2021-02-04 Thread Tomasz Dziendzielski
>I didn't see anything on the docs mailing list, but we should also >have a matching update to the docs for the new variable (unless it is >already in the docs, I didn't check for that). Thanks, please check now: https://lists.yoctoproject.org/g/docs/message/860 Best regard

Re: [OE-core] [PATCH 1/2] insane: Add test for native/nativesdk inherit order

2021-01-27 Thread Tomasz Dziendzielski
s well. Is this expected? It's not expected. I wrongly assumed there is some general mechanism checking INSANE_SKIP. I will prepare a patch with the correct INSANE_SKIP handling. Best regards, Tomasz Dziendzielski -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#

[OE-core] [PATCH] lib/oe/package_manager: Do not pass stderr to package manager as an argument

2021-01-26 Thread Tomasz Dziendzielski
: | * opkg_prepare_url_for_install: Couldn't find anything to satisfy '(en_US.UTF-8)'. In this change I remove stderr redirection to stdout and pass it to bb.note instead. Signed-off-by: Tomasz Dziendzielski --- meta/lib/oe/package_manager/__init__.py | 11 +-- 1 file changed, 9 insertions(+), 2

[OE-core] [PATCH 1/2] insane: Add missing INSANE_SKIP mechanism for native-last QA check

2021-01-27 Thread Tomasz Dziendzielski
See [YOCTO #5729] for details. Signed-off-by: Tomasz Dziendzielski --- meta/classes/insane.bbclass | 43 +++-- 1 file changed, 22 insertions(+), 21 deletions(-) diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index 3597943ddd..e371c1c71f

[OE-core] [PATCH 2/2] insane: native-last: Print classes inherited after native/nativesdk

2021-01-27 Thread Tomasz Dziendzielski
See [YOCTO #5729] for details. Signed-off-by: Tomasz Dziendzielski --- meta/classes/insane.bbclass | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index e371c1c71f..53230fc667 100644 --- a/meta/classes

Re: [OE-core] [PATCH] sanity.bbclass: check if PSEUDO_IGNORE_PATHS and ${S} overlap

2021-01-27 Thread Tomasz Dziendzielski
ry. \n") Isn't ${S} added to PSEUDO_IGNORE_PATHS almost every time in meta/classes/base.bbclass? if os.path.normpath(d.getVar("WORKDIR")) != os.path.normpath(d.getVar("S")): d.appendVar("PSEUDO_IGNORE_PATHS", ",${S}") Best regards, Tomasz

Re: [OE-core] [PATCH 1/2] insane: Add test for native/nativesdk inherit order

2021-01-27 Thread Tomasz Dziendzielski
Sorry for inconvenience. Best regards, Tomasz Dziendzielski -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#147372): https://lists.openembedded.org/g/openembedded-core/message/147372 Mute This Topic: https://lists.openembedded.org/mt/80075083/21656

Re: [OE-core] [PATCH 2/2] insane: native-last: Print classes inherited after native/nativesdk

2021-01-28 Thread Tomasz Dziendzielski
and for improving the commit log. I will add more descriptive messages even for small changes next time. Best regards, Tomasz Dziendzielski -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#147420): https://lists.openembedded.org/g/openembedded-core/m

Re: [OE-core] [PATCH] bitbake: Don't treat mc recipe (Midnight Commander) as a multiconfig target

2021-01-28 Thread Tomasz Dziendzielski
ke -e mc:foo" returns "ERROR: Nothing PROVIDES 'mc:foo'". I will try to find a solution to keep it working for the environment dump. Best regards, Tomasz Dziendzielski -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#147396): https:/

Re: [OE-core] [PATCH] bitbake: Don't treat mc recipe (Midnight Commander) as a multiconfig target

2021-01-28 Thread Tomasz Dziendzielski
ump before and after my change and it was the same (with exception of hashes and timestamps). I will submit a new patchset. Best regards, Tomasz Dziendzielski czw., 28 sty 2021 o 17:33 Tomasz Dziendzielski via lists.openembedded.org napisał(a): > >Hmm, this might be problematic, since "b

[OE-core] [PATCH v2] bitbake: Don't treat mc recipe (Midnight Commander) as a multiconfig target

2021-01-28 Thread Tomasz Dziendzielski
ulticonfig configuration named do_populate_sysroot Signed-off-by: Tomasz Dziendzielski --- skipped change in showEnvironment() to keep "bitbake -e" working --- bitbake/lib/bb/cache.py| 4 ++-- bitbake/lib/bb/cooker.py | 4 ++-- bitbake/lib/bb/runqueue.py | 6 +++--- bitbake/lib/b

Re: [OE-core] [PATCH v2] bitbake: Don't treat mc recipe (Midnight Commander) as a multiconfig target

2021-01-30 Thread Tomasz Dziendzielski
>>I did put this into testing anyway and it triggered errors in several selftests: >> >>bitbake-selftest: >>https ://autobuilder.yoctoproject.org/typhoon/#/builders/87/builds/1792/steps/11/logs/stdio >>

Re: [OE-core] [PATCH v2] bitbake: Don't treat mc recipe (Midnight Commander) as a multiconfig target

2021-01-30 Thread Tomasz Dziendzielski
rtunately now I don't have access to machine that could handle all oe-selftest. Could we agree that I will send second patch so it will be tested on autobuider? Best regards, Tomasz Dziendzielski -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#14

Re: [OE-core] [PATCH] lib/oe/patch.py: Don't return command stderr from runcmd function

2021-01-29 Thread Tomasz Dziendzielski
doing that and pass it through env argument. Best regards, Tomasz Dziendzielski pt., 29 sty 2021 o 12:41 Quentin Schulz napisał(a): > Hi Tomasz, > > On Fri, Jan 29, 2021 at 12:38:08PM +0100, Tomasz Dziendzielski wrote: > > If a function returns any stderr it will be pass

[OE-core] [PATCH] lib/oe/patch.py: Don't return command stderr from runcmd function

2021-01-29 Thread Tomasz Dziendzielski
that will result in: | FileNotFoundError: [Errno 2] No such file or directory: 'sh:' To fix this I separated output, made the function return stdout and print stderr only in case of command error. Signed-off-by: Tomasz Dziendzielski --- meta/lib/oe/patch.py | 14 +- 1 file changed, 9

[OE-core] [PATCH] lib/oe/patch.py: Ignore scissors line on applying patch

2021-01-31 Thread Tomasz Dziendzielski
The "devtool modify" could remove message body before scissors line, so patches re-generated from git tree were incorrectly modified. Adding --no-scissors to "git am" invocation to prevent this behaviour. [YOCTO #12674] Signed-off-by: Tomasz Dziendzielski --- meta/lib/o

Re: [OE-core] [PATCH] Fix corrupted magic number in ipk on populate_sdk task

2021-06-01 Thread Tomasz Dziendzielski
atest poky it's not a common deploy dir anymore. Please disregard this patch. Best regards, Tomasz Dziendzielski wt., 1 cze 2021 o 17:48 Richard Purdie napisał(a): > On Tue, 2021-06-01 at 17:21 +0200, Tomasz Dziendzielski wrote: > > If any do_package_write_ipk runs parallel with popul

[OE-core] [PATCH] Fix corrupted magic number in ipk on populate_sdk task

2021-06-01 Thread Tomasz Dziendzielski
there are not many recipes using populate_sdk class. Signed-off-by: Tomasz Dziendzielski Signed-off-by: Kamil Kwiek Signed-off-by: Jan Brzezanski Signed-off-by: Paulo Neves --- meta/classes/package_ipk.bbclass| 10 ++ meta/lib/oe/package_manager/ipk/__init__.py | 3 +++ 2 files changed

Re: [OE-core] [PATCH] license_image: Introduce SKIP_LICENSE_MANIFEST_RECIPES variable to prevent from trying to use license recipeinfo file from image recipes

2021-02-09 Thread Tomasz Dziendzielski
not only the ones called *-image. Unfortunately that way we could not catch missing manifests with recipes that should provide them. Would such change be accepted? Best regards, Tomasz Dziendzielski -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply

Re: [OE-core] [PATCH 1/2] insane: Add test for native/nativesdk inherit order

2021-02-11 Thread Tomasz Dziendzielski
extend(extra_skip_classes) + broken_order = [] for class_item in reversed(inherited_classes): if needle not in class_item: Best regards, Tomasz Dziendzielski -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#147943): https:/

[OE-core] [PATCH] externalsrc: Detect code changes in submodules

2021-01-27 Thread Tomasz Dziendzielski
The srctree_hash was calculated only from main source directory ignoring changes in submodules. [YOCTO #13748] Use submodule--helper to determine all submodules, and calculate hash from all git tree objects names combined. Signed-off-by: Tomasz Dziendzielski --- meta/classes

[OE-core] [PATCH] kernel-yocto: stop converting remote branches to local branches

2021-03-23 Thread Tomasz Dziendzielski
ons ~20 minutes to simply do that conversion in do_kernel_checkout which is not needed (at least I do not see any benefit after testing with this patch). Signed-off-by: Wladislav Wiebe Signed-off-by: Tomasz Dziendzielski --- meta/classes/kernel-yocto.bbclass | 9 - 1 file changed, 9 deleti

Re: [OE-core] [PATCH] kernel-yocto: stop converting remote branches to local branches

2021-03-23 Thread Tomasz Dziendzielski
>On Tue, Mar 23, 2021 at 10:22 AM Tomasz Dziendzielski > wrote: >> >> From: Wladislav Wiebe >> >> Introduced poky upstream commit: >> 14df6d53b6 linux-yocto: improve checkout error handling and reporting >> >> Converts all remote branches to lo

[OE-core] [PATCH] bitbake.conf: Add sstate-build-populate_sdk and intercept_scripts- to PSEUDO_IGNORE_PATHS

2021-02-17 Thread Tomasz Dziendzielski
Recipes using populate_sdk.bbclass are failing with pseudo abort due to path mismatch on these paths. Signed-off-by: Tomasz Dziendzielski --- meta/conf/bitbake.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index

Re: [OE-core] [PATCH] bitbake.conf: Add sstate-build-populate_sdk and intercept_scripts- to PSEUDO_IGNORE_PATHS

2021-02-18 Thread Tomasz Dziendzielski
>> Recipes using populate_sdk.bbclass are failing with pseudo abort due to >> path mismatch on these paths. >> >> Signed-off-by: Tomasz Dziendzielski >> --- >> meta/conf/bitbake.conf | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) > &g

[OE-core] [PATCH] bitbake.conf: Introduce PSEUDO_LOGFILE and FAKEROOTLOGS variables used by bitbake to print pseudo.log

2021-02-22 Thread Tomasz Dziendzielski
Bitbake depends on these variables while looking for pseudo.log file in case of fakeroot task failure. Signed-off-by: Tomasz Dziendzielski --- meta/conf/bitbake.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index

[OE-core] [PATCH v2] bitbake.conf: Introduce FAKEROOTLOGS variable used by bitbake to print pseudo.log

2021-02-22 Thread Tomasz Dziendzielski
Bitbake depends on this variable while looking for pseudo.log file in case of fakeroot task failure. Signed-off-by: Tomasz Dziendzielski --- v2 remove PSEUDO_LOGFILE variable, it seems it's not needed --- meta/conf/bitbake.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/conf

Re: [OE-core] [PATCH] license_image: Prevent do_populate_lic_deploy from using image recipes' recipeinfo

2021-10-28 Thread Tomasz Dziendzielski
came from. I'll send a patch in a moment. Best regards, Tomasz Dziendzielski -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#157596): https://lists.openembedded.org/g/openembedded-core/message/157596 Mute This Topic: https://lists.openembedded.org/mt

Re: [OE-core] [PATCH] license_image: Prevent do_populate_lic_deploy from using image recipes' recipeinfo

2021-10-27 Thread Tomasz Dziendzielski
vely lost/ignored for the second image Maybe I'll try to merge license.manifest from the first image target to the second image. Best regards, Tomasz Dziendzielski wt., 26 paź 2021 o 14:55 Richard Purdie napisał(a): > On Tue, 2021-10-26 at 09:32 +0200, Tomasz Dziendzielski wrote: > &g

[OE-core] [PATCH] license_image: Prevent do_populate_lic_deploy from using image recipes' recipeinfo

2021-10-26 Thread Tomasz Dziendzielski
(which means dep is an image recipe) and skip if true. Signed-off-by: Tomasz Dziendzielski Signed-off-by: Jan Brzezanski Signed-off-by: Ricardo Rodrigues Signed-off-by: Szymon Czarnuch Signed-off-by: Kamil Kwiek --- meta/classes/license_image.bbclass | 15 +++ 1 file changed, 11

[OE-core] [PATCH] kernel-yocto: Add KERNEL_SKIP_BRANCH_CONVERSION var to skip branch conversion from remote to local

2021-10-26 Thread Tomasz Dziendzielski
do that conversion in do_kernel_checkout which is not needed (at least I do not see any benefit after testing with this patch). Since this conversion is required for some linux-yocto workflows we introduce variable that allows skipping this on demand. Signed-off-by: Tomasz Dziendzielski Signed-

[OE-core] git fetcher hangs with File name too long

2022-01-25 Thread Tomasz Dziendzielski
whole path there? Should we cut somehow the directory name or maybe change it to a less human readable hash? Some advice would be helpful. Best regards, Tomasz Dziendzielski -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#16096

[OE-core] [PATCH] base.bbclass: Add sstate-cache dependency to GCCVERSION

2022-06-29 Thread Tomasz Dziendzielski
? [file-rdeps] Add vardeps dependency to GCCVERSION to make sure the package is rebuild with correct gcc version. Signed-off-by: Tomasz Dziendzielski Signed-off-by: Jan Brzezanski --- meta/classes/base.bbclass | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/classes/base.bbclass b/meta

Re: [OE-core] [PATCH] base.bbclass: Add sstate-cache dependency to GCCVERSION

2022-06-30 Thread Tomasz Dziendzielski
hence ${B} couldn't be cleaned The problem is not that it didn't rerun the make or didn't clean the ${B} or ${S}. After changing GCCVERSION the nativesdk-mgen is taken from sstate-cache. Best regards, Tomasz Dziendzielski śr., 29 cze 2022 o 16:23 Richard Purdie napisał(a): > On Wed, 2022-06

[OE-core] [PATCH] sstate-cache-cleaner.py: Add a script for sstate cache cleaning

2022-11-21 Thread Tomasz Dziendzielski
From: Mikolaj Lasota Bash script used at the moment takes too much time to calculate obsolete sstate cache files. Let's try to rewrite necessary logic in python and store intermediate data in memory rather than temporary files. Signed-off-by: Mikolaj Lasota Signed-off-by: Tomasz Dziendzielski

Re: [OE-core] [PATCH] sstate-cache-cleaner.py: Add a script for sstate cache cleaning

2023-02-02 Thread Tomasz Dziendzielski
finish the cleanup in couple of days (and got finally killed), while proposed version took just couple of hours (~4h). The internal ticket only has a comment "CI execution time reduced from ~16 days to 5 minutes". This looks like a big improvement. Best regards, Toma