27735 Commits

Author SHA1 Message Date
Yi Zhao
3426b62b54 libldb: add ptest
* use external cmocka instead of bundled cmocka
* add run-ptest script

Ptest results:
$ ptest-runner libldb
START: ptest-runner
2023-10-12T11:49
BEGIN: /usr/lib/libldb/ptest
PASS: test_ldb_dn
PASS: test_ldb_qsort
DURATION: 0
END: /usr/lib/libldb/ptest
2023-10-12T11:49
STOP: ptest-runner
TOTAL: 1 FAIL: 0

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 4a07ee78c57950aaf2e0858c159ffa6454f7f28a)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-17 08:23:02 -04:00
Yi Zhao
872c600a9f libtevent: fix ptest
* use external cmocka instead of bundled cmocka
* add run-ptest script

Ptest results:
$ ./run-ptest
PASS: replace_testsuite
PASS: test_tevent_tag
PASS: test_tevent_trace

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 287386a51f8c2ed5ad3282d9481c56b7f546a4bf)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-17 08:23:02 -04:00
Yi Zhao
08ccdf95ee samba: use external cmocka instead of bundled cmocka
Do not use bundled cmocka to get rid of bundled library
libcmocka-samba4.so.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 649f63a235a968749ba833476f9acaa7af2e2130)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-17 08:23:02 -04:00
Yi Zhao
ee13d4533d samba: upgrade 4.18.6 -> 4.18.8
This is a security release in order to address the following defects:

CVE-2023-3961:  Unsanitized pipe names allow SMB clients to connect as root to
                existing unix domain sockets on the file system.
                https://www.samba.org/samba/security/CVE-2023-3961.html

CVE-2023-4091:  SMB client can truncate files to 0 bytes by opening files with
                OVERWRITE disposition when using the acl_xattr Samba VFS
                module with the smb.conf setting
		"acl_xattr:ignore system acls = yes"
                https://www.samba.org/samba/security/CVE-2023-4091.html

CVE-2023-4154:  An RODC and a user with the GET_CHANGES right can view all
                attributes, including secrets and passwords.  Additionally,
                the access check fails open on error conditions.
                https://www.samba.org/samba/security/CVE-2023-4154.html

CVE-2023-42669: Calls to the rpcecho server on the AD DC can request that the
                server block for a user-defined amount of time, denying
                service.
                https://www.samba.org/samba/security/CVE-2023-42669.html

CVE-2023-42670: Samba can be made to start multiple incompatible RPC
                listeners, disrupting service on the AD DC.
                https://www.samba.org/samba/security/CVE-2023-42670.html

Release Notes:
https://www.samba.org/samba/history/samba-4.18.8.html

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit f674a9d4f9feb3afecdc81f4bced5469edc3bc71)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-17 08:23:02 -04:00
Khem Raj
9434ed5e29 gutenprint: Upgrade to 5.3.4
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 8bab5168788de6ba7c17630ddd1f191e19602472)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-17 08:23:02 -04:00
Joe Slater
bf7026000c python3-pynacl: add RCONFLICTS with python3-nacl
python3-nacl is in the meta-virtualization layer.

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 74e31e51ffbd52b8864fed4debe7711e3ef4d739)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-17 08:23:02 -04:00
Khem Raj
c6a3490db1 static-group: Match nogroup id to base-passwd from core.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit df98f884b9b9aa16e5323d0ce803fcce4148759f)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-17 08:23:02 -04:00
Daniel McGregor
c3db67f7d6 python3-pylint: allow native build
We use pylint for some native recipes in our build. Allow pylint
to be a native recipe, and likewise allow its runtime dependencies
to be native recipes.

Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit fbb9d270790a7d77926f6a34505399e4f9fc1f51)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-17 08:23:02 -04:00
Khem Raj
dbc5faaeaf poco: Fix data race when create POSIX thread
This back fixes the ptest failures seen with musl

     AssertionError:-
     Failed ptests:
     {'poco': ['Foundation-testrunner', 'NetSSL-testrunner', 'Net-testrunner']}

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 963fc79e271e56d323b626f2ca1d214ad74c3e4d)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-17 08:23:02 -04:00
Khem Raj
3ef2fbb5b8 libnet-idn-encode: Fix build with perl 2.38 and gcc13
Add missing rdep on perl-module-encode-encoding
fixes

Can't locate Encode/Encoding.pm in @INC (you may need to install the Encode::Encoding module)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 9f312824d429603417109eb08d13d260d6231361)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-17 08:22:52 -04:00
Mickael RAMILISON
d6b0361488 python3-rapidjson: add ptest
Signed-off-by: Mickael RAMILISON <mickael.ramilison@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 62039a2c3347841f0e5b2c46345c9bd2fe76805e)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-12 09:58:06 -04:00
Khem Raj
9c1bbbff75 kernel-selftest: Use clang options when clang is available
Enable bpf only with clang

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 6e0da8642ac8e6d277ee82ab91ce1248663fc58d)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-12 09:58:06 -04:00
Khem Raj
1b846b4ab4 kernel-selftest: Copy the .config from kernel build
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit e65836d919e32e471192c47d39150298e97e141b)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-12 09:58:06 -04:00
Martin Jansa
7d5e1cb0f9 opencv: Fix build with protobuf v22 and dnn enabled
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 225ce6a14a8110ab6b573b4dc9f5297a03d17e0f)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-12 09:58:06 -04:00
Gianfranco Costamagna
2a890ea151 cpprestsdk: fix typo in comment, tag is actually 2.0.18
Signed-off-by: Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
Signed-off-by: Gianfranco Costamagna <locutusofborg@debian.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 5596afa6508d8e603e257bcb604637e9fcabe2a6)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-12 09:58:06 -04:00
Fabien Thomas
aefc7318eb Add static-passwd and static-group files
In order to pass reproducible tests, recipes that use the
useradd class must have static ids configured.

Signed-off-by: Fabien Thomas <fabien.thomas@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 2961a31a024bd9d41724b6d16f820baee2b390df)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-12 09:58:06 -04:00
Fabien Thomas
36631ae088 Add static-passwd and static-group files
In order to pass reproducible tests, recipes that use the
useradd class must have static ids configured.

Signed-off-by: Fabien Thomas <fabien.thomas@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 714156cc42cfc35dbd960e7755866fa257f67090)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-12 09:58:06 -04:00
Fabien Thomas
972226d3b1 Add static-passwd and static-group files
In order to pass reproducible tests, recipes that use the
useradd class must have static ids configured.

Signed-off-by: Fabien Thomas <fabien.thomas@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 18f01d2b14a0f7789dfce6db12810a465804e23a)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-12 09:58:06 -04:00
Fabien Thomas
b496fcb98a Add static-passwd and static-group files
In order to pass reproducible tests, recipes that use the
useradd class must have static ids configured.

Signed-off-by: Fabien Thomas <fabien.thomas@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 5ecda23c4ce2534f9f974b7bf066723a58e625aa)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-12 09:58:06 -04:00
Fabien Thomas
65b76335ec Add static-passwd and static-group files
In order to pass reproducible tests, recipes that use the
useradd class must have static ids configured.

Signed-off-by: Fabien Thomas <fabien.thomas@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 1a9892251bddf35d3a797d4968be2f69ac75976b)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-12 09:58:06 -04:00
Fabien Thomas
692cfcba8a Add static-passwd and static-group files
In order to pass reproducible tests, recipes that use the
useradd class must have static ids configured.

Signed-off-by: Fabien Thomas <fabien.thomas@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 7d36797bef881cb5125259e33a4a245529f39112)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-12 09:58:06 -04:00
Fabien Thomas
1ff93fb9ad Add static-passwd and static-group files
In order to pass reproducible tests, recipes that use the
useradd class must have static ids configured.

Signed-off-by: Fabien Thomas <fabien.thomas@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 84043e673b2c424e9fc8d2b349147f35c6828903)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-12 09:58:06 -04:00
Fabien Thomas
a85d9eda34 meta-filesystems/layer.conf : Add meta-networking dependency
Recipe smbnetfs depends on samba, which is in meta-networking.

Signed-off-by: Fabien Thomas <fabien.thomas@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 3801443f170c9c4db3c50e2c4ba7271d8d6f4633)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-12 09:58:06 -04:00
Khem Raj
3428b644c3 ptest-packagelists-meta-oe: Add kernel-selftest to x86/x86-64 images
Test run for 10+ minutes so they belong to slow testset

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit b729ec1b11d4b170a9e7a9c1ff8db5260ba1c7eb)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-12 09:58:06 -04:00
Khem Raj
a24c6be197 kernel-selftest: Build bpf tests again
Fix run-ptest script to run all compiled selftests
disable bpf on riscv for now

Signed-off-by: Khem Raj <raj.khem@gmail.com>

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 30779662be112081096fb9a223acb0f8a4ccd6f3)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-12 09:58:06 -04:00
Christophe Vu-Brugier
ec16b76b89 libnvme: apply patch already upstream to fix build with musl
Build failure with musl due to conflicting definitions of ioctl()
between glibc and musl has been fixed by libnvme developers with this
commit:

 * ca47ba3119

Signed-off-by: Christophe Vu-Brugier <christophe.vu-brugier@seagate.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 8930d8798b44f538fcfb2013cf273c4534778404)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-12 09:58:06 -04:00
Markus Volk
3724a3036b gnome-control-center: Fix polkit gettext issue
polkit.its and polkit.loc are taken from host. This should be fine
as long as the host provides these files. At least on fedora 38
they are not installed by default and configure fails with:

| ../gnome-control-center-45.0/meson.build:205:6: ERROR: Command
`/home/flk/poky/build/tmp/work/corei7-64-poky-linux/gnome-control-center/45.0/recipe-sysroot-native/usr/bin/nativepython3 /home/flk/poky/build/tmp/work/corei7-64-poky-linux/gnome-control-center/45.0/gnome-control-center-45.0/build-aux/meson/find_xdg_file.py gettext/its/polkit.its` failed with status 1.
|
| A full log can be found at
/home/flk/poky/build/tmp/work/corei7-64-poky-linux/gnome-control-center/45.0/build/meson-logs/meson-log.txt
| ERROR: meson failed
| WARNING:
/home/flk/poky/build/tmp/work/corei7-64-poky-linux/gnome-control-center/45.0/temp/run.do_configure.6974:182 exit 1 from 'exit 1'

export XDG_DATA_DIRS to avoid this issue

https://gitlab.gnome.org/GNOME/gnome-control-center/-/blob/main/meson.build?ref_type=heads#L203
https://gitlab.gnome.org/GNOME/gnome-control-center/-/blob/main/build-aux/meson/find_xdg_file.py?ref_type=heads

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 6ee4a15ce28b7f09fa80aad05276ad347a182cbd)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-12 09:58:06 -04:00
Ahmad Fatoum
d4a94d7966 signing.bbclass: don't export OPENSSL environment variables globally
OPENSSL_{MODULES,ENGINES,CONF} and SSL_CERT_{DIR,FILE} are currently
exported globally for any recipe that inherits signing. This not only
affects the tasks that use the signing infrastructure, but also unrelated
tasks like e.g. do_fetch. Avoid this by exporting the variables only
for these tasks that actually call signing_prepare.

This resolves a breakage I observed on Ubuntu 18.04, where the host
tool wget is called with the environment variables set and then fails
with a SSL error (exit code 5).

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 4ad790c7334b02d6d150285a952d84a02645773f)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-12 09:58:06 -04:00
Chen Qi
bff5009bbe libblockdev: fix QA error in case of multilib
Fix the following QA error.

ERROR: QA Issue: libblockdev: Files/directories were installed but not shipped in any package:
  /usr/lib
  /usr/lib/python3.11
  /usr/lib/python3.11/site-packages
  /usr/lib/python3.11/site-packages/gi
  /usr/lib/python3.11/site-packages/gi/overrides
  /usr/lib/python3.11/site-packages/gi/overrides/BlockDev.py

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit a76f0b1f7c9fc7ecb4ebaaf9862fff3624fdef53)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-12 09:58:06 -04:00
Christophe Vu-Brugier
7da957f042 nvme-cli: upgrade 2.5 -> 2.6
Signed-off-by: Christophe Vu-Brugier <christophe.vu-brugier@seagate.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 719042228998484b9022676a2726002d10593343)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-12 09:58:06 -04:00
Khem Raj
d2bc55848e libnvme: Fix test builds on musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Christophe Vu-Brugier <christophe.vu-brugier@seagate.com>
(cherry picked from commit 29644952a6555849274b8ef8a8bd9fba2658dd76)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-12 09:58:06 -04:00
Christophe Vu-Brugier
8ebd46ece8 libnvme: upgrade 1.5 -> 1.6
Signed-off-by: Christophe Vu-Brugier <christophe.vu-brugier@seagate.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 9ef26775a5d9afad5277c8ef6c1f3332e4bbdf10)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-12 09:58:06 -04:00
Khem Raj
c1ff702cf6 klibc: Upgrade to 2.0.13 release
Drop backported patch and refresh others as needed

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 04ed4f1383314f0bd96ca3b4c04c64d998a0c0fb)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-12 09:58:06 -04:00
Khem Raj
0eb91f152f stressapptest: Upgrade to 1.0.11 release
Drop patches already in this upstream version

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 350fd96f1e1271314855647981d0cc0ba6c155db)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-12 09:58:06 -04:00
Markus Volk
8f6e3aab5d pipewire: Upgrade 0.3.80 -> 0.3.81
This is the first 1.0 release candidate that is API and ABI compatible
with previous 0.3.x releases.

  - jackdbus support is now enabled by default.
  - IRQ based scheduling in ALSA was improved and enabled by default for
    Pro-Audio profile. It will also link the pcms together to get lower
    latency. This now matches what JACK does and gives equal latency to
    PipeWire for Pro-Audio profiles.
  - Support both old and new versions of webrtc-audio-processing to make
    the transition easier.
  - Forced quantum changes by nodes or metadata will now also force a
    suspend and resume of the graph, like the rate changes to make sure all
    nodes adapt to the new quantum. This is important for Pro-Audio nodes
    that need to reconfigure the hardware to a new period in IRQ based
    scheduling.
  - Fix a regression in regex parsing.
  - Many bugfixes and improvements.

  - jackdbus is by default enabled now. The idea is that when jackdbus is
    installed, the real libjack.so is in the path and we can become a
    real JACK client.
  - Forces quantum changes by nodes or metadata will now also force a
    suspend and resume in the graph, like the rate changes to make sure all
    nodes adapt to the new quantum. This is important for Pro-Audio nodes
    that need to reconfigure the hardware to a new period.
  - The stream now has an EARLY_PROCESS option that can be used to implement
    custum buffer fill levels. (#3480)
  - Fix a regression in regex parsing. (#3528)
  - Fix a bug in position reporting in the driver node. (#3189) (#3544)
  - Destroying a link will now recalculate the graph correctly.
  - Fix the rate comparison for finding the best rate in the graph.
  - Use malloc_trim() when available to release memory. (#1840)

  - pw-cat now supports DFF DSD files.
  - pw-cli avoid some NULL derefs in some cases.

  - The RAOP sink has seen some cleanups and improvements. It will now ask
    for feedback every 2 seconds to keep some devices alive.
  - A bug in filter-chain was fixed where it would fail to apply the gain
    when mixing just one source.
  - The filter-chain can now pass the stream volume to a control in the
    filter-chain graph. (#3434)
  - Improve volume handling in RAOP sink.

  - Some cleanup in the pending_stream handling.
  - Fix a regression in the event emission code where it failed to emit
    a changed event when a node was linked. (#3522)
  - Lower the realtime priority of pulseaudio clients.
  - Set pulse.module.id on the echo-cancel streams. (#3541)

  - Support both old and new versions of webrtc-audio-processing to make
    the transition easier.
  - The ALSA driver now does the sync of all followers directly from the
    wakeup event. This results in more stable rate matching.
  - IRQ based scheduling in ALSA was improved and enabled by default for
    Pro-Audio profile. It will also link the pcms together to get lower
    latency. This now matches what JACK does and gives equal latency to
    PipeWire for Pro-Audio profiles.
  - GNU/Hurd support was added.
  - Some improvements to passthrough handling.

  - Improvements to the codec handling when PipeWire is used as Audio
    Gateway.
  - Adapt to new Bluez API for BAP devices.

  - When the jack library is set in the default library path, avoid using
    LD_LIBRARY_PATH because this can cause confusion.
  - Handle clearing the latency on a port.
  - jack_property now always manages to actually change the metadata because
    it waits for a roundtrip before exiting.

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 9fc1b037e473cd77628c56fed5688e724ccb4ae9)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-12 09:58:06 -04:00
Johannes Kauffmann
e747c6bd11 open62541: add Backport status and link to patch
Signed-off-by: Johannes Kauffmann <johanneskauffmann@hotmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 0287a38fbcead63a16d8b6d931d5e0e70adfe494)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-12 09:58:06 -04:00
Thomas Roos
f2450bffe1 python3-boto3, python3-botocore: remove recipes
python3-boto3 and python3-botocore are provided by meta-aws.
They have ptests and upgraded as soon as there is an release.
Having them here also causing issues with yocto-check-layer
https://bugzilla.yoctoproject.org/show_bug.cgi?id=15223
As discussed on IRC with Richard Purdie, those recipes should just be provided
by meta-aws. Agreed here https://github.com/openembedded/meta-openembedded/issues/744
by Khem.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit bc98fb0765ab32aa98c7752306a3e314b13e85b5)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-12 09:58:06 -04:00
Denys Zagorui
35e7d49014 libbpf: add arm, powerpc and mips64 to COMPATIBLE_HOST
There is is no build time issues with libbpf for these
architectures so we can add them to COMPATIBLE_HOST

Signed-off-by: Denys Zagorui <dzagorui@cisco.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit bb8049afe96db57707afc259743e288bec456117)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-12 09:58:06 -04:00
Gianfranco Costamagna
504ac0982e dlt-daemon: Add an additional fix for non-systemd builds
Signed-off-by: Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
Signed-off-by: Gianfranco Costamagna <locutusofborg@debian.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 13ab3b1a55f8ecbda99bf5a1b6dd36df2761051f)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-12 09:58:06 -04:00
Gianfranco Costamagna
27affa050c dlt-daemon: do not disable dlt-system build when systemd is set to off
Signed-off-by: Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
Signed-off-by: Gianfranco Costamagna <locutusofborg@debian.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 1fc2b9532b56685bd603fe93d867fc1268d7313f)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-12 09:58:06 -04:00
Gianfranco Costamagna
1d0368ff3e dlt-daemon: update patch 544.patch
Signed-off-by: Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
Signed-off-by: Gianfranco Costamagna <locutusofborg@debian.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit a5f0e3291b4947df76f5246ff0d246440e086816)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-12 09:58:06 -04:00
Gianfranco Costamagna
1d3c3fa08a dlt-daemon: Enable experimental coredumphandler feature
Signed-off-by: Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
Signed-off-by: Gianfranco Costamagna <locutusofborg@debian.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit c065c929ab80c0ee5971c74d7e55559eebd78665)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-12 09:58:06 -04:00
Gianfranco Costamagna
afd076c5ca dlt-daemon: Make it work without systemd
Make sure also without systemd enabled as default, the tools can be built and installed,
such as dlt-adaptor, dlt-adaptor-stdin, dlt-adaptor-udp, dlt-examples and dlt-console.
They have stub functionalities when systemd is not default, but they can still be used with
limited functionalities

Reported-By: Federico Briata <federicobriata@gmail.com>
Reported-By: Andrea Reali <andrea.reali@cnhind.com>
Signed-off-by: Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
Signed-off-by: Gianfranco Costamagna <locutusofborg@debian.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit f558bc9d3b2dab9e1a7824fad04f498839e140af)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-12 09:58:06 -04:00
Khem Raj
682fa4b2f0 ptest-image: Switch to using core-image-minimal
Keeps the dependencies really to minimum.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit d8d5444c25475f48df910888703e65edfece59db)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-12 09:58:05 -04:00
Jörg Sommer
7f7849f5b8 collectd: Use https in SRC_URI, add HOMEPAGE
Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 99ef9c1969dfb3c0813570e401031fa051ec7a24)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-12 09:58:05 -04:00
Khem Raj
be0088da5a images: Rename ptest images to rhyme with oe-core ptest images
Easy to understand for new-comers.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 7b5cb622b4e40ceb7b150c83ee98c40fd24ab9aa)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-12 09:58:05 -04:00
Khem Raj
3adc76cf05 images: Rename <layer>-image to <layer>-image-all
These are test images to build all recipes in layer. Renaming them makes
them refect what they are. Moreover we can rename the ptest images to
match OE-Core naming conventions for meta-oe/meta-perl/meta-python

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 0cb018059499f7531749ee1d5d1cbb02a6cf3f0a)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-12 09:58:05 -04:00
Khem Raj
4e6ae41f0e images: Delete layer specific base images
These were essentially duplicates of core-image-minimal, however
core-image-base is a better baseline for upper layers, so switched the
consumers of these images to use core-image-base

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit e88b777cbecd85ff7d2916209774354a6a458101)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-12 09:58:05 -04:00
Khem Raj
a08bf20991 images: Inherit from core-image-base
We really do not need to define base images which already exist in core
layer, reuse them here.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit ef9d73fced12e7b2dab485f0443cec84e55d016b)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-12 09:58:05 -04:00
Clément Péron
35edaebc55 Revert "protobuf: stage protoc binary to sysroot"
This reverts commit a0557fe5433620717eeb00d3b16801711337b1a4.

As said by Ross[Ø]:
"Putting the _target_ protoc into the sysroot for executation at _build_
time isn't useful because even if it has the right architecture, the
tune might be incompatible.  Recipes which want protoc should just depend
on protobuf-native."

This has been reverted recently by Samuli[1]:
"If protoc is enabled for the build, recipes using protobuf will
fail when protoc is not available in the recipe sysroot"

Be the revert is incorret as This is an issue coming from qtgrpc
other recipes that use protobuf or gRPC compiler, proplery looks for
the binary in the correct sysroot folder.

Qtgrpc recipe should fix this issue at the recipe level, for example this
is what I've done for "etcd-cpp-apiv3" recipe[2] that doesn't need this
patch to properly compile.

So keeping this hack doesn't seems to be a correct fix.

Note that qtgrpc recipe isn't available on meta-oe nor any other public
layers.

0: https://patchwork.yoctoproject.org/project/oe/patch/20230904161230.377450-1-ross.burton@arm.com/
1: https://patchwork.yoctoproject.org/project/oe/patch/20230927051101.3088498-1-samuli.piippo@qt.io/
2: 47f0d9e032

CC: Samuli Piippo <samuli.piippo@gmail.com>
CC: Ross Burton <ross.burton@arm.com>
Signed-off-by: Clément Péron <peron.clem@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit bfb626a23022d871ce3c0c64cb9e5d1cc17c737e)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-12 09:58:05 -04:00