Hi,
JOhannes, what's the status of this patchset? I'd like to start experimenting
with system extensions and this looks like the place to start.
/Ola
On Wed, May 22 2024, Johannes Schneider via lists.openembedded.org wrote:
> systemd-sysext allows to overlay another image (or multiple) ontop
From: Ola x Nilsson
Add a sed substitution for ${PTEST_PATH}/tests/Makefile that transforms
SH_LOG_DRIVER = $(SHELL) $(top_srcdir)/build-aux/test-driver
to
SH_LOG_DRIVER = $(SHELL) $(top_builddir)/build-aux/test-driver
which is where the test-driver script can be found when installed.
There
On Tue, Nov 12 2024, Richard Purdie wrote:
> On Mon, 2024-11-11 at 09:35 +0100, Ola x Nilsson via lists.openembedded.org
> wrote:
>> From: Ola x Nilsson
>>
>> Add a sed substitution for ${PTEST_PATH}/Makefile that transforms
>> TEST_LOG_DRIVER = $(SHELL) $(top
From: Ola x Nilsson
The patch "Set relative to top_builddir path in Makefile to access"
sets the default path of `test-driver` to
`$(top_builddir)/$(config_aux_dir)` instead of the normal
`$(top_srcdir)/$(config_aux_dir)`.
This breaks `check test` for Automake projects in generated i
From: Ola x Nilsson
Add a sed substitution for ${PTEST_PATH}/Makefile that transforms
TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/build-aux/test-driver
to
TEST_LOG_DRIVER = $(SHELL) $(top_builddir)/build-aux/test-driver
which is where the test-driver script can be found when installed.
There
From: Ola x Nilsson
Fixes [YOCTO #15635]
The automake patch
"Set relative to top_builddir path in Makefile to access"
sets the default path of `test-driver` to
`$(top_builddir)/$(config_aux_dir)` instead of the normal
`$(top_srcdir)/$(config_aux_dir)`.
This breaks `check test` fo
From: Ola x Nilsson
Add a sed substitution for ${PTEST_PATH}/tests/Makefile that
transforms
TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/build-aux/test-driver
to
TEST_LOG_DRIVER = $(SHELL) $(top_builddir)/build-aux/test-driver
which is where the test-driver script can be found when installed
From: Ola x Nilsson
Add a sed substitution for ${PTEST_PATH}/Makefile that transforms
TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/build-aux/test-driver
to
TEST_LOG_DRIVER = $(SHELL) $(top_builddir)/build-aux/test-driver
which is where the test-driver script can be found when installed.
There
From: Ola x Nilsson
Add a sed substitution for ${PTEST_PATH}/Makefile that transforms
SH_LOG_DRIVER = $(SHELL) $(top_srcdir)/build-aux/test-driver
PL_LOG_DRIVER = $(SHELL) $(top_srcdir)/build-aux/test-driver
to
SH_LOG_DRIVER = $(SHELL) $(top_builddir)/build-aux/test-driver
PL_LOG_DRIVER
From: Ola x Nilsson
Fixes [YOCTO #15635]
The automake patch
"Set relative to top_builddir path in Makefile to access"
sets the default path of `test-driver` to
`$(top_builddir)/$(config_aux_dir)` instead of the normal
`$(top_srcdir)/$(config_aux_dir)`.
This breaks `check test` fo
From: Ola x Nilsson
The patch "Set relative to top_builddir path in Makefile to access"
sets the default path of `test-driver` to
`$(top_builddir)/$(config_aux_dir)` instead of the normal
`$(top_srcdir)/$(config_aux_dir)`.
This breaks `check test` for Automake projects in generated i
From: Ola x Nilsson
Add a sed substitution for ${PTEST_PATH}/Makefile that transforms
TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/build-aux/test-driver
to
TEST_LOG_DRIVER = $(SHELL) $(top_builddir)/build-aux/test-driver
which is where the test-driver script can be found when installed.
There
From: Ola x Nilsson
Add a sed substitution for ${PTEST_PATH}/tests/Makefile that
transforms
TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/build-aux/test-driver
to
TEST_LOG_DRIVER = $(SHELL) $(top_builddir)/build-aux/test-driver
which is where the test-driver script can be found when installed
From: Ola x Nilsson
Add a sed substitution for ${PTEST_PATH}/tests/Makefile that transforms
SH_LOG_DRIVER = $(SHELL) $(top_srcdir)/build-aux/test-driver
to
SH_LOG_DRIVER = $(SHELL) $(top_builddir)/build-aux/test-driver
which is where the test-driver script can be found when installed.
There
From: Ola x Nilsson
Add a sed substitution for ${PTEST_PATH}/Makefile that transforms
SH_LOG_DRIVER = $(SHELL) $(top_srcdir)/build-aux/test-driver
PL_LOG_DRIVER = $(SHELL) $(top_srcdir)/build-aux/test-driver
to
SH_LOG_DRIVER = $(SHELL) $(top_builddir)/build-aux/test-driver
PL_LOG_DRIVER
Looks good to me.
/Ola
On Sun, Oct 27 2024, Martin Jansa wrote:
> Wasn't very future proof for multilib :) please review:
> https://lists.openembedded.org/g/openembedded-core/message/206410
>
> On Tue, Aug 27, 2024 at 11:02 AM Ola x Nilsson via
> lists.openembedded.org wr
From: Ola x Nilsson
Backport the fix for glibc bug 32214.
The missing randomness in early boot may cause some systemd services
to fail when they occasionally try to create tempdirs like
/run/systemd/namespace-aa at the same time.
The error messages can contain things like
"Failed to s
From: Ola x Nilsson
Backport the fix for glibc bug 32214.
The missing randomness in early boot may cause some systemd services
to fail when they occasionally try to create tempdirs like
/run/systemd/namespace-aa at the same time.
The error messages can contain things like
"Failed to s
Please ignore this patch. I was supposed to send it for styhead but got
mixed up.
/Ola
On Mon, Oct 21 2024, Ola x Nilsson wrote:
> From: Ola x Nilsson
>
> Backport the fix for glibc bug 32214.
>
> The missing randomness in early boot may cause some systemd services
>
From: Ola x Nilsson
Backport the fix for glibc bug 32214.
The missing randomness in early boot may cause some systemd services
to fail when they occasionally try to create tempdirs like
/run/systemd/namespace-aa at the same time.
The error messages can contain things like
"Failed to s
From: Ola x Nilsson
Backport the fix for glibc bug 32214.
The missing randomness in early boot may cause some systemd services
to fail when they occasionally try to create tempdirs like
/run/systemd/namespace-aa at the same time.
The error messages can contain things like
"Failed to s
From: Ola x Nilsson
Backport the fix for glibc bug 32214.
The missing randomness in early boot may cause some systemd services
to fail when they occasionally try to create tempdirs like
/run/systemd/namespace-aa at the same time.
The error messages can contain things like
"Failed to s
From: Ola x Nilsson
Some redundant return statements were left over from
insane: Drop oe.qa.add_message usage
Signed-off-by: Ola x Nilsson
---
meta/classes-global/insane.bbclass | 3 ---
1 file changed, 3 deletions(-)
diff --git a/meta/classes-global/insane.bbclass
b/meta/classes-global
From: Ola x Nilsson
The most future proof way to not always ship the example files is to
package them separately.
Signed-off-by: Ola x Nilsson
---
meta/recipes-multimedia/ffmpeg/ffmpeg_6.1.1.bb | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-multimedia
From: Ola x Nilsson
While do_compile and do_install already have the scons_ prefix,
do_configure did not. This was most likely an oversight from when it
was converted from do_configure[noexec] = "1".
Signed-off-by: Ola x Nilsson
---
meta/classes-recipe/scons.bbclass | 4 ++--
1 fi
On Fri, May 17 2024, ol...@axis.com wrote:
> From: Ola x Nilsson
>
> go.bbclass uses a special do_unpack function that causes the git root
> to be different from S. Verify that it unpacks as expected.
>
> [ YOCTO #15483 ]
>
> Signed-off-by: Ola x Nilsson
> ---
>
&
From: Ola x Nilsson
go.bbclass uses a special do_unpack function that causes the git root
to be different from S. Verify that it unpacks as expected.
[ YOCTO #15483 ]
Signed-off-by: Ola x Nilsson
---
Changes since v1:
Correct author
meta/lib/oeqa/selftest/cases/devtool.py | 19
From: Julien Stephan
go.bbclass uses a special do_unpack function that causes the git root
to be different from S. Verify that it unpacks as expected.
[ YOCTO #15483 ]
Signed-off-by: Ola x Nilsson
---
meta/lib/oeqa/selftest/cases/devtool.py | 19 +++
1 file changed, 19
git submodule support.
The extracted source will still have two .git folders, one in S
created by devtool and one in the go path which will contain the tru
git history.
[ YOCTO #15483 ]
Signed-off-by: Anton Almqvist
Signed-off-by: Ola x Nilsson
---
scripts/lib/devtool/standard.py | 5 -
1
From: Ola x Nilsson
The diff hunks were not doing anything important, just remove them.
Signed-off-by: Ola x Nilsson
---
.../binutils/0008-Use-libtool-2.4.patch | 24 ---
1 file changed, 24 deletions(-)
diff --git a/meta/recipes-devtools/binutils/binutils/0008-Use
This was supposed to always be the case from upstream but was exposed
by the 64-bit-time QA checker when file function scanning was enabled.
Signed-off-by: Ola x Nilsson
---
...le-fallocate-on-32-bit-linux-platfor.patch | 51 +++
.../python/python3-numpy_1.26.3.bb
This was supposed to always be the case from upstream but was exposed
by the 64-bit-time QA checker when file function scanning was enabled.
Signed-off-by: Ola x Nilsson
---
...le-fallocate-on-32-bit-linux-platfor.patch | 49 +++
.../python/python3-numpy_1.26.2.bb
QA Issue:
>> /usr/bin/ssh-keyscan uses 32-bit api 'mkstemp'
>>
>> https://autobuilder.yoctoproject.org/typhoon/#/builders/53/builds/8436/steps/12/logs/warnings
>>
>> stdio: WARNING: openssh-9.5p1-r0 do_package_qa: QA Issue:
>> /usr/lib/openssh/ptest
Forgot the signed-off footer, v2 sent
/Ola
On Fri, Jan 12 2024, Ola x Nilsson wrote:
> ---
> meta/classes-global/insane.bbclass | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/meta/classes-global/insane.bbclass
> b/meta/classes-global/insa
Signed-off-by: Ola x Nilsson
---
meta/classes-global/insane.bbclass | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/meta/classes-global/insane.bbclass
b/meta/classes-global/insane.bbclass
index 1ff6a319c4..26457764ce 100644
--- a/meta/classes-global/insane.bbclass
adjtime was overlooked in the original commit.
Signed-off-by: Ola x Nilsson
---
meta/classes-global/insane.bbclass | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/classes-global/insane.bbclass
b/meta/classes-global/insane.bbclass
index 6f3cd3026d..69741a6a79 100644
--- a/meta/classes
Since _TIME_BITS=64 forces the use of _FILE_OFFSET_BITS=64, also check
for functions redirected only based on _FILE_OFFSET_BITS and
__USE_FILE_OFFSET64.
Signed-off-by: Ola x Nilsson
---
meta/classes-global/insane.bbclass | 31 ++
1 file changed, 31 insertions
---
meta/classes-global/insane.bbclass | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/meta/classes-global/insane.bbclass
b/meta/classes-global/insane.bbclass
index 1ff6a319c4..26457764ce 100644
--- a/meta/classes-global/insane.bbclass
+++ b/meta/classes-global/insane.bb
adjtime was overlooked in the original commit.
Signed-off-by: Ola x Nilsson
---
meta/classes-global/insane.bbclass | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/classes-global/insane.bbclass
b/meta/classes-global/insane.bbclass
index 6f3cd3026d..69741a6a79 100644
--- a/meta/classes
Since _TIME_BITS=64 forces the use of _FILE_OFFSET_BITS=64, also check
for functions redirected only based on _FILE_OFFSET_BITS and
__USE_FILE_OFFSET64.
Signed-off-by: Ola x Nilsson
---
meta/classes-global/insane.bbclass | 31 ++
1 file changed, 31 insertions
n files in /lib/modprobe.d
>
> [1] https://www.freedesktop.org/software/systemd/man/modules-load.d.html
> [2] https://www.man7.org/linux/man-pages//man5/modprobe.d.5.html
>
> [YOCTO #12212] https://bugzilla.yoctoproject.org/show_bug.cgi?id=12212
>
> CC: Ola x Nilsson
> CC: Pe
Hi, Ola
>
>> -Original Message-----
>> From: Ola x Nilsson
>> Sent: Friday, June 9, 2023 3:59 PM
>> To: alexandre.bell...@bootlin.com
>> Cc: Qiu, Tingting/仇 婷婷 ; Alexandre Belloni via
>> lists.openembedded.org
>> ;
>> openembedded-core@lists.openembed
install -d ${D}${PTEST_PATH}/tests/data/findfile/test_0/keymaps/include/
>> + install ${S}/tests/data/findfile/test_0/keymaps/test0.map
>> ${D}${PTEST_PATH}/tests/data/findfile/test_0/keymaps/
>> +install ${S}/tests/data/findfile/test_0/keymaps/include/*
>> ${D}
https://github.com/rust-lang/libc/pull/3175 .
Unfortunately I have not had any feedback so far.
I have not even tried applying that change to the stdlib-rs recipe yet.
I think there are 3 or 4 instances of the libc crate that have to be
patched in the rustc release.
--
Ola x Nilsson
The pipe library is deprecated in Python 3.11 and will be removed in
Python 3.13. pipe.quote is just an import of shlex.quote anyway.
Signed-off-by: Ola x Nilsson
---
meta/lib/oe/package.py | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/meta/lib/oe/package.py b/meta
The pipe library is deprecated in Python 3.11 and will be removed in
Python 3.13. pipe.quote is just an import of shlex.quote anyway.
Clean up imports while we're at it.
Signed-off-by: Ola x Nilsson
---
meta/lib/oe/patch.py | 11 +--
1 file changed, 5 insertions(+), 6 dele
c?id=669c40ed8ebf480c95ce36135104e474e361a7e6#n658
>
> So I need to implement this in another way, maybe relocating the files from
> /etc only when systemd is enabled.
>
> Thanks for raising the issue.
>
> Jose
>
Hi,
Please consider https://bugzilla.yoctoproject
On Fri, Dec 16 2022, Ola x Nilsson wrote:
> v2:
>
> Renamed conf/distro/time64.conf -> conf/distro/time64.inc
> Use SITEINFO_BITS to select when to apply GLIBC_64BIT_TIME_FLAGS.
>
>
> I did not add _LARGEFILE to the option yet as I do not believe it is
> the right pla
Check for known symbols that should have been redirected to 64bit
variants when -D_FILE_OFFSET_BITS=64 and -D_TIME_BITS=64 are set.
Signed-off-by: Ola x Nilsson
---
meta/classes-global/insane.bbclass | 132 +
1 file changed, 132 insertions(+)
diff --git a/meta
v2:
Renamed conf/distro/time64.conf -> conf/distro/time64.inc
Use SITEINFO_BITS to select when to apply GLIBC_64BIT_TIME_FLAGS.
I did not add _LARGEFILE to the option yet as I do not believe it is
the right place.
The _TIME_BITS=64 and _FILE_OFFSET_BITS=64 option redefine types and
functions. T
Signed-off-by: Ola x Nilsson
---
meta/conf/distro/include/time64.inc | 20
1 file changed, 20 insertions(+)
create mode 100644 meta/conf/distro/include/time64.inc
diff --git a/meta/conf/distro/include/time64.inc
b/meta/conf/distro/include/time64.inc
new file mode 100644
On Thu, Dec 08 2022, Alexander Kanavin wrote:
> On Thu, 8 Dec 2022 at 08:11, Ola x Nilsson wrote:
>> +GLIBC_64BIT_TIME_FLAGS:pn-glibc = ""
>> +GLIBC_64BIT_TIME_FLAGS:pn-glibc-tests = ""
>> +# pipewire-v4l2 explicitly sets _FILE_OFFSET_BITS=32 to get acc
On Thu, Dec 08 2022, Richard Purdie wrote:
> On Thu, 2022-12-08 at 11:00 +0100, Alexander Kanavin wrote:
>> On Thu, 8 Dec 2022 at 08:11, Ola x Nilsson wrote:
>> > +# TODO: Only for 32-bit architectures?
>> > +TARGET_CC_ARCH:append:arm =
On Fri, Dec 09 2022, Khem Raj wrote:
> Thanks for the patches
>
> On 12/7/22 23:11, Ola x Nilsson wrote:
>> Signed-off-by: Ola x Nilsson
>> ---
>> meta/conf/distro/time64.conf | 23 +++
>> 1 file changed, 23 insertions(+)
>> cre
Patch so ppoll is properly redirected to it's 64bit time variant even
when source fortification is active.
Signed-off-by: Ola x Nilsson
---
...fortify-symbol-for-64-bit-time_t-BZ-.patch | 528 ++
meta/recipes-core/glibc/glibc_2.36.bb | 1 +
2 files changed
Signed-off-by: Ola x Nilsson
---
meta/conf/distro/time64.conf | 23 +++
1 file changed, 23 insertions(+)
create mode 100644 meta/conf/distro/time64.conf
diff --git a/meta/conf/distro/time64.conf b/meta/conf/distro/time64.conf
new file mode 100644
index 00
Check for known symbols that should have been redirected to 64bit
variants when -D_FILE_OFFSET_BITS=64 and -D_TIME_BITS=64 are set.
Signed-off-by: Ola x Nilsson
---
meta/classes-global/insane.bbclass | 132 +
1 file changed, 132 insertions(+)
diff --git a/meta
Here is my sanity checker that check for glibc symbols that use 32-bit
time_t or file offsets.
I include one glibc patch that fixes a problem where the redirect for
ppoll did not work when fortify_source was enabled.
Also include some distro settings for the -F_TIME_BITS=64 flags that I
have used
On Mon, Dec 05 2022, Richard Purdie wrote:
> On Mon, 2022-12-05 at 11:00 +0100, Ola x Nilsson wrote:
>> On Wed, Nov 30 2022, Richard Purdie wrote:
>>
>> > On Wed, 2022-11-30 at 17:56 +0100, Alexandre Belloni wrote:
>> > > On 30/11/2022 16:46:17+, Ross B
used on the
recipes we actually use so far so we could get to a testable system. My
biggest worry at the moment is rust, I know to little to know if it is
an actual problem and how to fix it.
I would like to be part of any "y2038 team" for Yocto.
--
Ola x Nilsson
-=-=-=-=-=-=-=-
Add --disable-tests to EXTRA_OECONF as the tests are not usable in
ptest - they can only run in-situ - and fails to build when building
with -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64.
Signed-off-by: Ola x Nilsson
---
meta/recipes-core/kbd/kbd_2.5.1.bb | 1 +
1 file changed, 1 insertion(+)
diff
On Thu, Nov 24 2022, Richard Purdie wrote:
> On Thu, 2022-11-24 at 17:52 +0100, Ola x Nilsson wrote:
>> bison-native is required if any .y-file is changed, by patch or in
>> devtool. Otherwise the build will fail with
>
> The key point is that we don't patch
-situ - and fails when building with
-D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64.
Signed-off-by: Ola x Nilsson
---
meta/recipes-core/kbd/kbd_2.5.1.bb | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-core/kbd/kbd_2.5.1.bb
b/meta/recipes-core/kbd/kbd_2.5.1.bb
index
anned to change' actually happens we should be ready
> for it.
>
> Alex
>
>
>
>
> On Tue, 8 Nov 2022 at 18:58, Ola x Nilsson wrote:
>>
>>
>> And here is a link to the documentation for the _TIME_BITS Feature Test
>> Macro
>> https://www.gnu.or
And here is a link to the documentation for the _TIME_BITS Feature Test
Macro
https://www.gnu.org/software/libc/manual/html_node/Feature-Test-Macros.html#index-_005fTIME_005fBITS
The docs for _FILE_OFFSET_BITS is just above.
/Ola
On Tue, Nov 08 2022, Ola x Nilsson wrote:
> Sorry, that l
Sorry, that link did not explain the -D_USE_TIME_BITS=64 flag.
I was sure I had read official docs of this somewhere but now I can only
find
https://sourceware.org/glibc/wiki/Y2038ProofnessDesign#Detailed_implementation
/Ola
On Tue, Nov 08 2022, Ola x Nilsson wrote:
> As far as I can t
As far as I can tell from glibc's documentation, this is how you are
supposed to do it. glibc chose to always support both 32 and 64 bit
APIs for time and file offset and make the normal int size the default.
musl chose to switch to 64bit altogether.
https://www.gnu.org/software/libc/manual/htm
I'm working on the same thing, but I put GLIBC_64BIT_TIME_CPPFLAGS in
TARGET_CC_ARCH instead to make sure they applied everywhere.
I'd be interested to hear what others think is the best place to put
these flags.
I'm also looking at QA tests to make sure that no application or shared
object is s
Signed-off-by: Ola x Nilsson
---
meta/lib/oe/package_manager.py | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py
index 7c373715ad..c841fdbf29 100644
--- a/meta/lib/oe/package_manager.py
+++ b/meta/lib/oe
Replace copy-and-if with a filtering list comprehension.
Signed-off-by: Ola x Nilsson
---
meta/classes/devtool-source.bbclass | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/meta/classes/devtool-source.bbclass
b/meta/classes/devtool-source.bbclass
index a8110006fb
Signed-off-by: Ola x Nilsson
---
meta/lib/oe/packagedata.py | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/meta/lib/oe/packagedata.py b/meta/lib/oe/packagedata.py
index cbde380b03..a82085a792 100644
--- a/meta/lib/oe/packagedata.py
+++ b/meta/lib/oe/packagedata.py
Signed-off-by: Ola x Nilsson
---
meta/lib/oe/types.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/lib/oe/types.py b/meta/lib/oe/types.py
index 77ee7ee541..bbbabafbf6 100644
--- a/meta/lib/oe/types.py
+++ b/meta/lib/oe/types.py
@@ -154,7 +154,8 @@ def path(value
Signed-off-by: Ola x Nilsson
---
meta/classes/tinderclient.bbclass | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/meta/classes/tinderclient.bbclass
b/meta/classes/tinderclient.bbclass
index 00f453cec1..f7e41f2959 100644
--- a/meta/classes/tinderclient.bbclass
+++ b
Signed-off-by: Ola x Nilsson
---
meta/classes/package.bbclass | 76
1 file changed, 34 insertions(+), 42 deletions(-)
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index d8bef3afb0..f955df 100644
--- a/meta/classes
Tweak the write loop slightly to avoid dict lookups that can easily be
done in the for loop.
Signed-off-by: Ola x Nilsson
---
meta/classes/libc-package.bbclass | 15 +++
1 file changed, 7 insertions(+), 8 deletions(-)
diff --git a/meta/classes/libc-package.bbclass
b/meta/classes
Signed-off-by: Ola x Nilsson
---
meta/lib/oeqa/selftest/cases/recipetool.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/meta/lib/oeqa/selftest/cases/recipetool.py
b/meta/lib/oeqa/selftest/cases/recipetool.py
index 1c701a40bf..c1562c63b2 100644
--- a/meta/lib/oeqa
Signed-off-by: Ola x Nilsson
---
meta/classes/report-error.bbclass | 8 ++--
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/meta/classes/report-error.bbclass
b/meta/classes/report-error.bbclass
index ea043b23e1..1a12db1206 100644
--- a/meta/classes/report-error.bbclass
+++ b
Signed-off-by: Ola x Nilsson
---
meta/lib/oeqa/selftest/cases/package.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/lib/oeqa/selftest/cases/package.py
b/meta/lib/oeqa/selftest/cases/package.py
index 0a88dc25b3..6596dabc32 100644
--- a/meta/lib/oeqa/selftest/cases
On Tue, Dec 11 2018, Burton, Ross wrote:
> On Tue, 11 Dec 2018 at 08:58, Ola x Nilsson wrote:
>> -self.logger.error("GDB result:\n%s: %s" % output)
>> +self.logger.error("GDB result:\n%s: %s", status, output)
>
> Isn't stat
Signed-off-by: Ola x Nilsson
---
meta/lib/oeqa/selftest/cases/package.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/lib/oeqa/selftest/cases/package.py
b/meta/lib/oeqa/selftest/cases/package.py
index 0a88dc25b3..b0abc2f4ee 100644
--- a/meta/lib/oeqa/selftest/cases
inal:
>
> self.remove_variables()
>
> the function will comment the the unset SANITY_TESTED_DISTROS in local.conf
>
I would keep/modify the message that SANITY_TESTED_DISTROS is needed, so
the user could set it before running oe-selftest the next time. Ju
self.install(additional_pkgs.split(), attempt_only=True)
Do we actually need this function? The name is completely disconnected
from what it actually does, and the same should be achievable with
self.pm.install((d.getVar('IMAGE_INSTALL_DEBUGFS') or '').split(),
BB_DONT_CACHE was not set for non-virtual recipes where PN != BPN, such
as quilt-native. Recipes that do not set BBCLASSEXTEND should always
have BB_DONT_CACHE set by externalsrc.
Signed-off-by: Ola x Nilsson
---
meta/classes/externalsrc.bbclass | 4 ++--
1 file changed, 2 insertions(+), 2
t a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py
> index 8f4b42b0da..63d3d0f609 100644
> --- a/meta/lib/oe/package_manager.py
> +++ b/meta/lib/oe/package_manager.py
> @@ -581,6 +581,10 @@ class PackageManager(object, metaclass=ABCMeta):
> bb.n
Allow debugsource listing using dwarfsourcefiles to fail for static
libraries when the archive content is not as expected.
Signed-off-by: Ola x Nilsson
---
meta/classes/package.bbclass | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/meta/classes/package.bbclass b
The debugsource must be added from the package providing the static
lib, because any package using that lib does not have access to the
source code.
Fixes [YOCTO #12558]
Signed-off-by: Ola x Nilsson
---
meta/classes/package.bbclass | 44
1 file
You were right, I needed to check if it was a proper file.
I stumbled into another issue, that golang .a files can not be read by
dwarfsrcfiles. I'm not familiar with go, so I don't really know what
to do about it. This patch is still an improvement in my book, even
if it cannot handle go archiv
ping?
--
Ola Nilsson
From: openembedded-core-boun...@lists.openembedded.org
on behalf of Ola x Nilsson
Sent: Friday, February 23, 2018 08:46
To: openembedded-core@lists.openembedded.org
Subject: [OE-core] [PATCH] package.bbclass: Include dbgsrc for
* Use PACKAGECONFIG for pam instead of two bb.utils.contains
* Add leading whitespace to EXTRA_OEMAKE_append_libc_musl
* Usr lnr in do_install_append rather than a sed generated
../-sequence.
Signed-off-by: Ola x Nilsson
---
meta/recipes-core/libcgroup/libcgroup_0.41.bb | 11 ++-
1
> From: openembedded-core-boun...@lists.openembedded.org
> [mailto:openembedded-core-boun...@lists.openembedded.org] On Behalf
> Of Paul Eggleton
> Sent: den 23 februari 2018 04:02
> To: openembedded-core@lists.openembedded.org
>
> Signed-off-by: Paul Eggleton
> ---
> meta/lib/oe/path.py | 24 +
The debugsource must be added from the package providing the static
lib, because any package using that lib does not have access to the
source code.
Fixes [YOCTO #12558]
Signed-off-by: Ola x Nilsson
---
meta/classes/package.bbclass | 42 ++
1 file
The --with-udev-rules-dir option used with udev is exactly what the
configure script uses, so there is no need for it.
On the other hand, if we do not have an udev.pc file we should tell
alsa-utils where to install the rules so we know where they should be
deleted from.
Signed-off-by: Ola x
> From: Richard Purdie
> Sent: Wednesday, September 13, 2017 12:41
>
>On Tue, 2017-09-12 at 11:23 +, Ola x Nilsson wrote:
>> I noticed that the preceding commit has been merged.
>> Is there some problem with this one?
>
I noticed that the preceding commit has been merged.
Is there some problem with this one?
--
Ola Nilsson
From: openembedded-core-boun...@lists.openembedded.org
on behalf of Ola x Nilsson
Sent: Monday, August 28, 2017 16:58
To: openembedded-core
Sorted entries are easier to read.
Signed-off-by: Ola x Nilsson
---
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 174cc861e1..0998fa7055 100644
--- a/scripts/lib/devtool
to protect the
.git/info/exclude file.
Signed-off-by: Ola x Nilsson
---
meta/classes/externalsrc.bbclass| 16 ++-
meta/lib/oeqa/selftest/cases/devtool.py | 48 +
2 files changed, 63 insertions(+), 1 deletion(-)
diff --git a/meta/classes/extern
to the file in case that is useful.
The test_recipe.inc file is usually cleaned up in a finally block,
but that block executes before any teardown operations. This blocks
any teardown that requires the presence of the test_recipe.inc file.
Signed-off-by: Ola x Nilsson
---
meta/lib/oeqa
l also handle the case where ${B} != ${S} but the abspaths are
equal.
Signed-off-by: Ola x Nilsson
---
scripts/lib/devtool/__init__.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/lib/devtool/__init__.py b/scripts/lib/devtool/__init__.py
index d646b0cf63..29c4c05071 1
Please name the class image_wic.bbclass instead.
As dashes are not allowed in function names, you cannot use
the image_wic_do_write_wks_template pattern of function
names if you use a class name with a dash in it.
--
Ola x Nilsson
> -Original Message-
> From: openembedded-cor
Add created symlinks to the exclude file. This will both make them
less distracting and hide them from the srctree_hash_files function.
Signed-off-by: Ola x Nilsson
---
meta/classes/externalsrc.bbclass | 17 -
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/meta
1 - 100 of 127 matches
Mail list logo