summaryrefslogtreecommitdiffstats
path: root/meta
Commit message (Collapse)AuthorAgeFilesLines
...
* apt: Upgrade to v2.6.0Sudip Mukherjee2023-05-057-143/+13
| | | | | | | | | | | | | | Changes: Rebase patches for upstream changes Remove upstream applied patches Update homepage Update sha256sum for new version (From OE-Core rev: 2e42fb105e474b5ab25f2d2ded55124838b39e8d) Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cryptodev: upgrade to 1.13Andrey Zhizhikin2023-05-057-26/+28
| | | | | | | | | | | | | | Upgrade cryptodev to new release 1.13. This resoves the Kernel build issues for 6.3.y, where Crypto API has been updated, see [1]. Refresh all layer patches with `devtool` to resolve hunks. Link: [1]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=255e48eb17684157336bd6dd98d22c1b2d9e3f43 (From OE-Core rev: dc85b747af14f5262590e72e55d2c49670cf09a7) Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qtwebkitgtk: Backport a build fix for GCC 13Khem Raj2023-05-052-0/+38
| | | | | | | | (From OE-Core rev: b2a8379713af625f1667bc63ee85031ac65ca3a4) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* iproute2: upgrade 6.2.0 -> 6.3.0Changhyeok Bae2023-05-051-1/+1
| | | | | | | | (From OE-Core rev: 70835d2cfa781e7a30f026d1ab1f88256f6d1693) Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Fix timesyncd runtime assertions with 64bit time_tKhem Raj2023-05-053-0/+660
| | | | | | | | | | This issue is seen on 32bit architectures using 64bit time_t (From OE-Core rev: 75dcd69f0589a42e01f0e0f9353f68977d2f319f) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* insane.bbclass: simplify exceptions for 32 bit time API checkAlexander Kanavin2023-05-052-17/+16
| | | | | | | | | | | | | | | | Existing implementation required to list both specific problematic apis, and files that use them: neither is necessary as both are seen in package_qa error messages, and can cause excessive amount of exception lines, if there are too many files, or they are installed in arch-specific locations. Also, the value of INSANE_SKIP should be the test that needs to be skipped, and in this case it wasn't. Also, all problematic recipes are now correctly listed. (From OE-Core rev: e6ebd0c556dfc576a59f5755d97089a2a241f698) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/sdk/assimp: run only when zlib is in the SDKAlexander Kanavin2023-05-051-0/+3
| | | | | | | | | | | | | | Otherwise assimp will silently fall back to a vendored copy of zlib which will fail with -D_TIME_BITS=64 due to https://github.com/madler/zlib/pull/764 This was exposed by multilib mips core-image-minimal SDKs, where the default 64 bit sysroot has zlib, but 32 bit sysroot does not. (From OE-Core rev: c0fb603c9e26e91388320c02842b42cc7b091d6c) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* time64.inc: add a comment about how to simulate Y2038 in qemuAlexander Kanavin2023-05-051-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Setting clock to 2040 causes the following ptest failures on qemux86: {'perl': ['t/op/magic', 'lib/File/stat', 'ext/POSIX/t/time']} {'python3': ['test_create_server_ssl_verified', 'test_create_unix_server_ssl_verified', 'test_local_good_hostname']} {'dbus': ['dbus/test-relay_with_config.test', 'dbus/test-misc-internals.test', 'dbus/test-corrupt.test', 'dbus/test-loopback_with_config.test', 'dbus/test-relay.test', 'dbus/test-misc-internals_with_config.test', 'dbus/test-loopback.test', 'dbus/test-fdpass_with_config.test', 'dbus/test-corrupt_with_config.test', 'dbus/test-fdpass.test']} {'openssl': ['Dubious,_test_returned_5', 'Dubious,_test_returned_1']} {'glibc-tests': ['/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-utimes', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-utimensat', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-utime', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-timespec_get', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-timer4', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-stat', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-sigtimedwait', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-settimeofday', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-sem5', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-select', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-scm_rights', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-rwlock14', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-ppoll', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-ntp_gettimex', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-ntp_gettime', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-ntp_adjtime', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-mtx-timedlock', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-mqueue8', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-mqueue2', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-mqueue10', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-mqueue1', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-lutimes', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-lchmod', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-futimesat', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-futimes', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-futimens', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-fts', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-fcntl', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-cond11', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-cnd-timedwait', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-clock_settime', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-clock_adjtime', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-clock', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-aio6', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-adjtimex', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/ftwtest', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-lchmod-time64']} {'openssh': ['key_options']} {'curl': ['test_0031', 'test_0046', 'test_0053', 'test_0061', 'test_0062', 'test_0172', 'test_0179', 'test_0327', 'test_0329', 'test_0420', 'test_1104', 'test_1216', 'test_1415']} {'glib-2.0': ['glib/asyncqueue.test', 'glib/module-test-plugin.test', 'glib/file.test', 'glib/fileutils.test', 'glib/module-test-library.test']} {'gstreamer1.0': ['gstreamer/elements_multiqueue.test']} (may be flaky) {'tcl': ['cmdAH.test', 'interp.test']} {'libmodule-build-perl': ['t/compat']} Some ptests fail on qemux86-64 as well: {'curl': ['test_0031', 'test_0046', 'test_0053', 'test_0061', 'test_0062', 'test_0172', 'test_0179', 'test_0327', 'test_0329', 'test_0420', 'test_1104', 'test_1216', 'test_1415']} {'python3': ['test_create_server_ssl_verified', 'test_create_unix_server_ssl_verified', 'test_local_good_hostname']} {'openssh': ['key_options']} {'openssl': ['Dubious,_test_returned_5', 'Dubious,_test_returned_1']} {'tcl': ['interp.test']} {'python3-cryptography': ['tests/hazmat/primitives/test_pkcs7.py:TestPKCS7Builder.test_smime_sign_detached', 'tests/hazmat/primitives/test_pkcs7.py:TestPKCS7Builder.test_sign_pem', 'tests/hazmat/primitives/test_pkcs7.py:TestPKCS7Builder.test_sign_alternate_digests_der[hash_alg0-\\x06\\t`\\x86H\\x01e\\x03\\x04\\x02\\x01]', 'tests/hazmat/primitives/test_pkcs7.py:TestPKCS7Builder.test_sign_alternate_digests_der[hash_alg1-\\x06\\t`\\x86H\\x01e\\x03\\x04\\x02\\x02]', 'tests/hazmat/primitives/test_pkcs7.py:TestPKCS7Builder.test_sign_alternate_digests_der[hash_alg2-\\x06\\t`\\x86H\\x01e\\x03\\x04\\x02\\x03]', 'tests/hazmat/primitives/test_pkcs7.py:TestPKCS7Builder.test_sign_attached', 'tests/hazmat/primitives/test_pkcs7.py:TestPKCS7Builder.test_sign_binary', 'tests/hazmat/primitives/test_pkcs7.py:TestPKCS7Builder.test_sign_smime_canonicalization', 'tests/hazmat/primitives/test_pkcs7.py:TestPKCS7Builder.test_sign_text', 'tests/hazmat/primitives/test_pkcs7.py:TestPKCS7Builder.test_sign_no_capabilities', 'tests/hazmat/primitives/test_pkcs7.py:TestPKCS7Builder.test_sign_no_attributes', 'tests/hazmat/primitives/test_pkcs7.py:TestPKCS7Builder.test_multiple_signers', 'tests/hazmat/primitives/test_pkcs7.py:TestPKCS7Builder.test_multiple_signers_different_hash_algs']} Note that setting the year to 2035 resolves almost all of the above, as onl the following then fail: qemux86: {'python3': ['test_local_good_hostname']} {'curl': ['test_0420']} qemux86-64: {'python3': ['test_local_good_hostname']} {'curl': ['test_0420']} (From OE-Core rev: 333836663ab7bb7994ef23ac8698f8fe2cb95580) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf: set minimum required target kernel to 5.15Alexander Kanavin2023-05-051-6/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In particular this enables a number of useful features in glibc (which utilize newer kernel APIs), such as actually using 64 bit time_t versions of kernel syscalls: https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/unix/sysv/linux/kernel-features.h;h=07b440f4eea364b05fa49bf71ceebf78f80efe13;hb=HEAD#l164 In general, OLDEST_KERNEL setting is used in these two places: - kernel.bbclass compares it with the target kernel version being built. If a vendor BSP still offers an older kernel, OLDEST_KERNEL should be set to match. - glibc recipe passes it as a parameter to the build so that additional features and optimized paths that kernels older than OLDEST_KERNEL are enabled. Note that there is a related setting, SDK_OLDEST_KERNEL, which remains as it was (at 3.2.0) to ensure maximum compatibility with kernels on SDK host machines; that setting is used to build nativesdk-glibc and verify the kernel version when the SDK is being installed. Build host kernel versions are not checked directly; compatible distros are listed instead. (From OE-Core rev: feb8e3fb71131a414a2a9271832b4e16860301ea) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* time64.inc: add glibc-testsuite to 'special cases'Alexander Kanavin2023-05-051-0/+1
| | | | | | | | | | | It builds glibc source like other glibc recipes do, and so the same problems occur. (From OE-Core rev: 68b50d362ec61f27be818e40fcbb281d9bacf756) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils: backport a patch to address failures when time64.inc is in useAlexander Kanavin2023-05-052-0/+95
| | | | | | | | (From OE-Core rev: e80a836be72d304aa2f47421882390263623b6fc) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston: add xwayland to DEPENDS for PACKAGECONFIG xwaylandMing Liu2023-05-051-1/+1
| | | | | | | | | | | Otherwise xwayland.pc would not be present in sysroot, this leads to some xwayland configs missing like have_listenfd, have_glamor. (From OE-Core rev: 7f1932cb5a408320a5b542e20ba2807718349e8f) Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd-systemctl: fix instance template WantedBy symlink constructionMartin Siegumfeldt2023-05-051-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | Fix issue of the below instance template systemd service dependency [Install] WantedBy=svc-wants@%i.service creating the symlink (instance "a" example) /etc/systemd/system/svc-wants@%i.service.wants/svc-wanted-by@a.service which should be /etc/systemd/system/svc-wants@a.service.wants/svc-wanted-by@a.service as implemented by this change. The functionality appears regressed just after "thud" baseline when the logic was refactored from shell script into python (commit 925e30cb104ece7bfa48b78144e758a46dc9ec3f) (From OE-Core rev: 308397f0bb3d6f3d4e9ec2c6a10823184049c9b5) Signed-off-by: Martin Siegumfeldt <mns@gomspace.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* license.bbclass: Include LICENSE in the output when it fails to parsePeter Kjellerstedt2023-05-051-1/+1
| | | | | | | | (From OE-Core rev: 1a5197760da3890cc80ac7da8d589766612d9051) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* zvariant: add ptest feature for zvariant test suiteFrederic Martinsons2023-05-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Below is the output of run-ptest script under qemu root@qemux86-64:~# /usr/lib/zvariant/ptest/run-ptest running 37 tests test framing_offset_size::tests::framing_offset_size_bump ... ok$<2> test owned_value::tests::from_value ... ok$<2> test object_path::unit::owned_from_reader ... ok$<2> test str::tests::from_string ... ok$<2> test signature::tests::signature_slicing ... ok$<2> test str::tests::test_ordering ... ok$<2> test owned_value::tests::map_conversion ... ok$<2> test owned_value::tests::serde ... ok$<2> test tests::enums ... ok$<2> test tests::derive ... ok$<2> test tests::f64_value ... ok$<2> test tests::i16_value ... ok$<2> test tests::fd_value ... ok$<2> test tests::i32_value ... ok$<2> test tests::i8_value ... ok$<2> test tests::i64_value ... ok$<2> test tests::ip_addr ... ok$<2> test tests::issue_59 ... ok$<2> test tests::issue_99 ... ok$<2> test tests::array_value ... ok$<2> test tests::object_path_value ... ok$<2> test tests::dict_value ... ok$<2> test tests::signature_value ... ok$<2> test tests::serialized_size ... ok$<2> test tests::struct_byte_array ... ok$<2> test tests::struct_ref ... ok$<2> test tests::str_value ... ok$<2> test tests::option_value ... ok$<2> test tests::struct_value ... ok$<2> test tests::struct_with_hashmap ... ok$<2> test tests::u16_value ... ok$<2> test tests::u32_value ... ok$<2> test tests::unit ... ok$<2> test tests::u8_value ... ok$<2> test tests::unit_fds ... ok$<2> test tests::value_value ... ok$<2> test tests::recursion_limits ... ok$<2> test result: ok$<2>. 37 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.21s root@qemux86-64:~# (From OE-Core rev: 912bbec9fe44f22ab70c3553af6cb699543b8411) Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-bcrypt: enable build of unit testsFrederic Martinsons2023-05-051-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | The source code of bcrypt extension doesn't define any tests but it is to show the ptest-cargo usage Below is the updated test suite output for the recipe (cut): PASS: tests/test_bcrypt.py:test_invalid_params[password-$2b$04$cVWp4XaNU8a4v1uMRum2SO-513-10-ValueError] PASS: tests/test_bcrypt.py:test_invalid_params[password-$2b$04$cVWp4XaNU8a4v1uMRum2SO-20-0-ValueError] PASS: tests/test_bcrypt.py:test_2a_wraparound_bug ============================================================================ Testsuite summary running 0 tests test result: ok$<2>. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s root@qemux86-64:/usr/lib/python3-bcrypt/ptest# (From OE-Core rev: 7388fec005b94d8e3827afcdf0de1e5b05ea1346) Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ptest-cargo.bbclass: create classFrederic Martinsons2023-05-051-0/+130
| | | | | | | | | | | | | | | | | | This new class offers the possibility to build rust unit tests (and integration tests) and find them correctly. Due to non deterministic names of generated binaries, a custom parsing of build result must be performed. See https://github.com/rust-lang/cargo/issues/1924 All rust projects will generate a test binary with "cargo build --tests" command, even if there are no test defined in source code. The binary will just output that it ran 0 tests. (From OE-Core rev: dad9bad239d757ae0b159fe5f1276b6856547b4c) Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Whitelist CVE-2023-0664Virendra Thakur2023-05-051-0/+5
| | | | | | | | | | | | This CVE is related to Windows. Link: https://nvd.nist.gov/vuln/detail/CVE-2023-0664 (From OE-Core rev: d5ce88c15183c2bf887543c8c31e9c31aaa56a1a) Signed-off-by: Virendra Thakur <virendrak@kpit.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rust: Upgrade 1.68.2 -> 1.69.0Alex Kiernan2023-05-0512-139/+99
| | | | | | | | | | | | Rebase patches, drop crossbeam_atomic is this fully merged upstream. https://blog.rust-lang.org/2023/04/20/Rust-1.69.0.html (From OE-Core rev: 39e05f9b0fdc3f76f8b80a12989f78614bc9ea5c) Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: patch out build paths from native binariesAlexander Kanavin2023-05-051-0/+4
| | | | | | | | (From OE-Core rev: 9ea0f850928b3e7d7a2eb280b8b3ed0c9f977cd6) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dhcpcd: use git instead of tarballsAlexander Kanavin2023-05-051-4/+3
| | | | | | | | | | | As announced here: https://roy.marples.name/downloads/dhcpcd/ (From OE-Core rev: 6e317eaab45da2dea70d1485fdae93cfeea0db1d) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* selftest/distrodata: clean up exception lists in recipe maintainers testAlexander Kanavin2023-05-052-3/+10
| | | | | | | | | | | | | | | | | Specifically: - add missing maintainer.inc entries for initramfs-module-*, systemd-machine-units and target-sdk-provides-dummy and drop them from exception list. - remove rust from exception list for unbuildable-by-default recipes as it is now buildable. - add missing maintainer.inc entry for libx11-compose-data and cve-update-nvd2-native; as they are also unbuildable by default, they needs to be in exception list as well. (From OE-Core rev: e9158b191c1cfc16f97abed6c05891aa84fe9463) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package_manager/ipk: fix config path generation in _create_custom_config()Enrico Jörns2023-05-051-1/+1
| | | | | | | | | | | | | | "sysconfdir" contains "/" by definition and thus using os.path.join() leads to self.target_rootfs being always ignored (and thus attempting to generate paths in host's /etc). Use oe.path.join() instead which was made for this purpose. (From OE-Core rev: 8414c504138f6de663f5130c6b4a6ede5605d88b) Signed-off-by: Enrico Jorns <ejo@pengutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3targetconfig.bbclass: Extend PYTHONPATH instead of overwritingJohannes Schrimpf2023-05-051-1/+1
| | | | | | | | | | | | | | | | [YOCTO #15108] -- https://bugzilla.yoctoproject.org/show_bug.cgi?id=15108 Since the latest change, the PYTHONPATH is overwritten instead of extended. This leads to changed behavior and build errors of recipes where the PYTHONPATH is set before setup_target_config is run. Fixes: c9617c03bcee ("python3targetconfig.bbclass: use PYTHONPATH to point to the target config") (From OE-Core rev: 2442ab92f8610784d28d8d83056b643bd95b0b4e) Signed-off-by: Johannes Schrimpf <dev@loewen-email.de> [Luca: add Fixes: tag] Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* quilt: Fix merge.test race conditionKhem Raj2023-05-052-0/+49
| | | | | | | | | | | This is consistently seen with musl and grep from busybox Therefore backport a patch from upstream to fix it (From OE-Core rev: 511bcd965af658e6bb0c61d9f2adb1af75af773b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* unfs3: fix symlink time setting issuehen Qi2023-05-052-0/+89
| | | | | | | | | | | | | | | | | | | | | Add back the dropped 0001-attr-fix-utime-for-symlink.patch to fix symlink time setting issue on NFS. The problem could be reproduced by runing the following command on nfs booted qemu: ln -s dest src && touch -h src Apart from the rpm operations mentioned in the original patch, 'docker pull' also fails with a 'stale file' error. The common pattern here is extracting files from a bundle and setting times for them. (From OE-Core rev: fe35a2c11ba6f87735bccae244817016f9c1b5db) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ghostscript: fix CVE-2023-28879Joe Slater2023-05-052-0/+61
| | | | | | | | | | | Backport from tag ghostpdl-10.01.1-gse-10174 which is after 10.01.1. (From OE-Core rev: 8a70d6935afa38173dbf012b8e1c3d59228504df) Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: backport fix for CVE-2023-28488Ross Burton2023-05-052-0/+64
| | | | | | | | (From OE-Core rev: ee1de8f4e52f98c141f0807484b505287f161aa6) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dmidecode: upgrade to 3.5Ross Burton2023-05-052-37/+9
| | | | | | | | | | | | | | | | This includes a fix for CVE-2023-30630. Remove the patch changing prefix and instead pass the paths to the make install command. Passing -e to make is no longer needed, the Makefile respects variables now. (From OE-Core rev: 86f2f9cfdc23cc9a2579d968cb9bb0fc61608b62) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Default to https git protocol where possibleRichard Purdie2023-05-0549-58/+60
| | | | | | | | | | The recommendation from server maintainers is that the https protocol is both faster and more reliable than the dedicated git protocol at this point. Switch to it where possible. (From OE-Core rev: 139102a73d4151f4748b4a861bd4ab28dda7dab7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* maintainers.inc: Move repo to unassignedRichard Purdie2023-05-041-1/+1
| | | | | | (From OE-Core rev: a51a069bad78c578122ae1a5b500f715246d413d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uboot-sign: support 64bits addressJamin Lin2023-05-041-1/+5
| | | | | | | | | | | | | | | | | | | | The default value of address-cells is "1", so the generated "its" file only support 32bits address for uboot FIT image. However, some platforms may want to support 64bits address of UBOOT_LOADADDRESS and UBOOT_ENTRYPOINT. Therefore, add variables to support both 64bits and 32bits address. By default, the address-cell is 1 which is used for 32bits load address. If users would like to use 64bits load address, users are able to set as following for "0x400000000" 64bits load address. 1. FIT_ADDRESS_CELLS = "2" 2. UBOOT_LOADADDRESS= "0x04 0x00000000" (From OE-Core rev: b4e46cdbd0727d97d13c2b8e9e4ce19c5c693f51) Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel-fitimage: support 64 bits addressJamin Lin2023-05-041-1/+5
| | | | | | | | | | | | | | | | | | | | The default value of address-cells is "1", so the generated "its" file only supports 32bits address for kernel FIT image. However, some platforms may want to support 64bits address of UBOOT_LOADADDRESS and UBOOT_ENTRYPOINT. Therefore, adds a variable to support both 64bits and 32bits address cells. By default, the address-cell is "1" which is used for 32bits load address. If users would like to use 64bits load address, users are able to set as following for "0x400000000" 64bits load address. 1. FIT_ADDRESS_CELLS = "2" 2. UBOOT_LOADADDRESS= "0x04 0x00000000" (From OE-Core rev: 8ce15c76c50d5d61524fea585d19989baefb5df2) Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* populate_sdk_ext.bbclass: redirect stderr to stdout so that both end in LOGFILEMartin Jansa2023-05-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * this in the end doesn't help much, I was debugging warning (about base-files.do_install signature being different than expected) from: python3 $target_sdk_dir/ext-sdk-prepare.py $LOGFILE '${SDK_INSTALL_TARGETS}' this shows the warning on console, but it doesn't end in $LOGFILE, because it writes only contents of cooker log into the $LOGFILE with: with open(logfile, 'a') as logf: logf.write('Preparing SDK for %s...\n' % ', '.join(sdk_targets)) ret = run_command_interruptible('BB_SETSCENE_ENFORCE=1 bitbake --quiet %s' % ' '.join(sdk_targets)) if not ret: ret = run_command_interruptible('bitbake --quiet build-sysroots') lastlog = get_last_consolelog() if lastlog: with open(lastlog, 'r') as f: for line in f: logf.write(line) if ret: print('ERROR: SDK preparation failed: error log written to %s' % logfile) return ret maybe we could remove whole support for $LOGFILE parameter and just redirect the output like other commands on this line (From OE-Core rev: 719f22df160ebde303274ccfc04049cffdb51577) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mpg123: Reset ac_cv_sys_file_offset_bits on muslKhem Raj2023-05-041-0/+2
| | | | | | | | | | | This is required to nullify whats passed from cached site file musl-common (From OE-Core rev: 19c9ba1089863b8ba2ff8e089cce29d16993c8f8) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gpgme: Reset ac_cv_sys_file_offset_bits on muslKhem Raj2023-05-041-0/+2
| | | | | | | | | | | This is required to nullify whats passed from cached site file musl-common (From OE-Core rev: 9357ef5dd9ba8bc9e906aab3630c9e2bdb14b174) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* devicetree.bbclass: Allow selection of dts files to buildPetr Kubizňák2023-05-041-2/+7
| | | | | | | | | | | | | | Add DT_FILES variable to allow the user of the class to select specific dts files to build. This is useful for packages featuring dts files for multiple machines. Since many machine configs contain a list of dtb files (e.g. KERNEL_DEVICETREE), DT_FILES works with both dts and dtb files. (From OE-Core rev: a6164c384a5bf3980a7a6c7f23927af9aca93b85) Signed-off-by: Petr Kubizňák <kubiznak@2n.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl-version: remove PERL* assignmentsPatrick Williams2023-05-041-6/+0
| | | | | | | | | | | | | | | | | | | | The perl-version.bbclass executes functions which can depend on variables potentially populated by native, such as `libdir`. The sanity `native-last` suggests that recipes should `inherit native` last, but when that is done the variables like PERLVERSION end up as `None`, since `${STAGING_LIBDIR}` needs `${libdir}` which is not yet populated (by native). All recipes in poky and widely used meta-layers have already been updated to use the functions directly instead of relying on these problematic variables. Delete the variables so that future recipes do not make the mistake of using them. Related: openbmc/openbmc#3770 (From OE-Core rev: 9351b6e7fab5669340bb062b9c84fb4faa3dce0b) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Upgrade 7.2.0 -> 8.0.0Richard Purdie2023-05-0422-625/+107
| | | | | | | | | | | | | | | | | | | | | | | Drop backported/merged patches: Revert-linux-user-add-more-compat-ioctl-definitions.patch configure-Fix-check-tcg-not-executing-any-tests.patch contrib-vhost-user-blk-Replace-lseek64-with-lseek.patch Revert-linux-user-fix-compat-with-glibc-2.36-sys-mou.patch Drop socket chardev patch with conflicts: chardev-connect-socket-to-a-spawned-command.patch This last patch was added in support of swtpm however it isn't clear if anyone is still using that workflow. The patch uses API calls such as as qemu_fork() which were removed in 8.0.0 and replaced with gspawn calls. If anyone needs the patch, it will be better for them to forward port it, test it and reinstate it, preferably with a discussion with upstream about it too. (From OE-Core rev: fe8125565af07b73f9b29db2188ecb6e884bcc70) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Add fix for powerpc instruction fallback issueRichard Purdie2023-05-042-0/+71
| | | | | | | | | | | | | See the patch for more details, fixes a regression in qemu causing illegal instructions in libm on powerpc, triggered by a libinput upgrade. https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=f1c56cdff09f650ad721fae026eb6a3651631f3d was the glibc code generating the instruction and triggering the issue. (From OE-Core rev: bf0e4c8bb6ba22274d17d74c1df69a78f8aa157c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* maintainers.inc: Fix email address typoRichard Purdie2023-05-031-1/+1
| | | | | | (From OE-Core rev: 2a86ca028980b501e386f6bb8293a094fd77f97b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: 23.0.2 -> 23.0.3Otavio Salvador2023-05-033-1/+1
| | | | | | | | | | | Update to 23.0.3 stable release. Release notes in: - https://docs.mesa3d.org/relnotes/23.0.3.html (From OE-Core rev: 0defbb5925e309799162e221285e4cfb2e2c2ca5) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* piglit: upgrade to latest revisionRoss Burton2023-05-031-1/+1
| | | | | | | (From OE-Core rev: ba1d66131aa93733828e8dfd718acd6659e82802) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* waffle: upgrade 1.7.0 -> 1.7.2Upgrade Helper2023-05-033-27/+13
| | | | | | | | | | | | | Upstream now only generates CMake files on Windows, so remove all references to CMake. A zsh completion is now installed, remove this for now as we don't really use zsh. (From OE-Core rev: 94cf6ef11bba381ab6f65b03ed1ed14022438151) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gtk+3: upgrade 3.24.36 -> 3.24.37Ross Burton2023-05-032-36/+1
| | | | | | | | | Drop merged introspection patch. (From OE-Core rev: 8ac81784ce414057039bc16417a8b2dd8f58497d) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libinput: upgrade to 1.23.0Ross Burton2023-05-032-24/+2
| | | | | | | | | | | Remove determinism.patch, this is obsolete now that we set GIT_CEILING_DIRECTORIES to stop git climbing the tree outside of the work directory. (From OE-Core rev: e652d9bee3940e8ee7c3346c801deef4801dbaeb) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* update-alternatives.bbclass: fix old override syntaxPeter Bergin2023-05-031-2/+2
| | | | | | | | | | | | | | Function 'gen_updatealternativesvardeps' still used old override syntax when fetching variable flags. Update to use ':' instead to match recipe meta data. This was found by review and no real issue encountered but it is a bug that affects variable dependencies and can affect rebuilds as task hashes might not be accurate. (From OE-Core rev: 5691f554b2cd50f256a8cbb1d96781e9eb6b930e) Signed-off-by: Peter Bergin <peter.bergin@windriver.com> Signed-off-by: Peter Bergin <peter@berginkonsult.se> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* musl: Update to latest masterKhem Raj2023-05-031-1/+1
| | | | | | | | | | | | | | | | | | Brings the following changes * b928c723 fix return value of wmemcmp for extreme wchar_t values * 4724793f fix wide printf numbered argument buffer overflow * c1b42c4a wait4: fix missing rusage on x32 due to wrong success condition * 9b12982d semtimedop: fix timespec kernel ABI mismatch for 32-bit timeouts on x32 * 6d322159 getopt: fix null pointer arithmetic ub * 35e98311 nftw: fix use of uninitialized struct stat * 7c410472 fix inadvertently static local var in dynlink get_lfs64 * 77327ed0 dns: check length field in tcp response message (From OE-Core rev: 07ed616f776dd09cdadd323dfc8572491bab5aa3) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* patchelf: Upgrade 0.17.2 -> 0.18.0Richard Purdie2023-05-031-1/+4
| | | | | | | | Add package to contain the new zsh completion files. (From OE-Core rev: 9db1a06969e33cb7a67b196b9ff7479202384151) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* maintainers.inc: Move apt/dpkg to unassignedRichard Purdie2023-05-031-2/+2
| | | | | | (From OE-Core rev: dd5f69ab172e60eb222c599bfbab5833b94483a5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>