summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* systemd-systemctl: support instance expansion in WantedByIan Ray2023-06-211-7/+2
| | | | | | | | | | | | | | | | | | | | | | Refactor _process_deps to expand systemd instance specifier "%i" to the template instance. This change expands on prior commit e510222b57 ("systemd-systemctl: fix instance template WantedBy symlink construction") by substituting every "%i" pattern-match with the instance name. The regexp handles the following cases: * svc-wants@%i.service * sys-subsystem-net-devices-%i.device (From OE-Core rev: c734906a901c5dead9d879df0f251ba848fdb577) Signed-off-by: Ian Ray <ian.ray@ge.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 9356276137267a29ae2289d796a2940918375308) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* cmake.bbclass: do not search host paths for find_program()Chen Qi2023-06-211-1/+0
| | | | | | | | | | | | | | | | | | | | | | | OECMAKE_FIND_ROOT_PATH_MODE_PROGRAM[1] controls the search behavior of find_program(). When this variable's value was first used in OE, it was deliberately set to BOTH to allow searching of host tools. This is to ensure the necessary tools from host could be used. The downside is that the configure behavior may differ on different host environments. Later, this cmake.bbclass was added the ability to search tools under the HOSTTOOLS_DIR. This means we no longer needs cmake to search the host paths. So we remove the class-native setting of BOTH. [1] https://cmake.org/cmake/help/latest/variable/CMAKE_FIND_ROOT_PATH_MODE_PROGRAM.html (From OE-Core rev: 1e2866eb0ce0c10a2668fbd66bc28526eec30f4d) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit f4ea12f6635125ee793f4dd801c538c0186f9dc3) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* selftest/license: Exclude from worldRichard Purdie2023-06-214-0/+8
| | | | | | | | | | | These test recipes shouldn't be built as part of world builds. Some recent changes are exposing issues from this so exclude them. (From OE-Core rev: ce738e11c5170be40ce76e91e1b91aec8579977b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 80d3f5586cd060ae69fbc6dec2e8978d87da10ba) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* connman: fix warning by specifying runstatedir at configure timeMarc Ferland2023-06-211-0/+1
| | | | | | | | | | | | | | | | | | | Without this patch, systemd complains on startup with messages similar to: systemd-tmpfiles[128]: /etc/tmpfiles.d/connman_resolvconf.conf:1: Line references path below legacy directory /var/run/, updating /var/run/connman → /run/connman; please update the tmpfiles.d/ drop-in file accordingly. systemd-tmpfiles[172]: /etc/tmpfiles.d/connman_resolvconf.conf:1: Line references path below legacy directory /var/run/, updating /var/run/connman → /run/connman; please update the tmpfiles.d/ drop-in file accordingly. By default, connman will use "/var/run/connman" for runstatedir instead of the now recommended "/run/connman". (From OE-Core rev: 8ea652072f78cce76996ceefe3559a9c0fbc35c8) Signed-off-by: Marc Ferland <ferlandm@amotus.ca> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 8d17776765a99a4ae327797206ef2a8a735ce87b) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* maintainers.inc: correct unassigned entriesAlexander Kanavin2023-06-211-4/+4
| | | | | | | | | | | Modify packages to unassigned where appropriate (From OE-Core rev: 27f15bc3166fda5acd07e9e1c34842a641d24e37) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit ab37ddf53607111bf5c49c4f2388224999c4a5a9) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* maintainers.inc: unassign Pascal Bach from cmake entryAlexander Kanavin2023-06-211-2/+2
| | | | | | | | | | | This was confirmed via private email. (From OE-Core rev: f59753d5cf5b895ce080dc831894cda6c6d2d1d0) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit c30e9f1972a3e1d4099f39fd6d0dfb37acb73ce1) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* maintainers.inc: unassign Andreas Müller from itstool entryAlexander Kanavin2023-06-211-1/+1
| | | | | | | | | | | This was confirmed via private email. (From OE-Core rev: 8c9a247c3bffeda1aae9af69656337a0b8afabfb) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit cc8bb0da24419424989548ced27b2e76030340d9) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* maintaines.inc: unassign Richard Weinberger from erofs-utils entryAlexander Kanavin2023-06-211-1/+1
| | | | | | | | | | | This was confirmed via private email. (From OE-Core rev: 4c345fbf7dd009eaffe09c9d218e697145ad8ee2) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 834519933fcd6e4ff54f24d0cf671ea9ce24398a) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* perf: Make built-in libtraceevent plugins cohabit with external libtraceeventKhem Raj2023-06-211-1/+5
| | | | | | | | | | | | | | | | | | This will package the plugins built by perf into kernel specific dir under libdir, so it does not conflict with plugins from newly added libtraceevent recipe Fixes do_sdk_depends: The file /usr/lib/traceevent/plugins/plugin_cfg80211.so is installed by both perf and libtraceevent, aborting (From OE-Core rev: 68733d5467134370f036480b0cc11e6b97efe4ad) Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 28f39769c27d257a60ff0152acc0c76f0276fa6a) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* pm-utils: fix multilib conflictionsKai Kang2023-06-211-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | It fails to instal pm-utils and lib32-pm-utils at same time: Error: Transaction test error: file /usr/bin/pm-is-supported conflicts between attempted installs of lib32-pm-utils-1.4.1-r1.corei7_32 and pm-utils-1.4.1-r1.corei7_64 file /usr/sbin/pm-hibernate conflicts between attempted installs of lib32-pm-utils-1.4.1-r1.corei7_32 and pm-utils-1.4.1-r1.corei7_64 file /usr/sbin/pm-powersave conflicts between attempted installs of lib32-pm-utils-1.4.1-r1.corei7_32 and pm-utils-1.4.1-r1.corei7_64 file /usr/sbin/pm-suspend conflicts between attempted installs of lib32-pm-utils-1.4.1-r1.corei7_32 and pm-utils-1.4.1-r1.corei7_64 file /usr/sbin/pm-suspend-hybrid conflicts between attempted installs of lib32-pm-utils-1.4.1-r1.corei7_32 and pm-utils-1.4.1-r1.corei7_64 All of the conflicted files either is script which source a file in ${libdir}, or a link file to some file in ${libdir}. Compare the content of installed files in ${libdir} exclude binaries, only the paths of ${libdir} diff. So re-define libdir with ${nonarch_libdir} to fix the conflicts. (From OE-Core rev: 18d15c59ef5bba92e5223c96c28259feac037410) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit f836541bcfdbf033a37537530b4e3b87b0a7f003) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* kmod: remove unused ptest.patchMartin Jansa2023-06-211-25/+0
| | | | | | | | | | | | * it was removed from SRC_URI in 2015: https://git.openembedded.org/openembedded-core/commit/?id=f80d136bdd578468035a88125fa1b84973fd912b (From OE-Core rev: c977c338f1f45876fd19480abb67379dcf112a1e) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit cfc4586b4bf080a3a4aa419dffc76c5da2a95b74) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* libgloss: remove unused patch fileMartin Jansa2023-06-211-30/+0
| | | | | | | | | | | | * it was removed from SRC_URI in: https://git.openembedded.org/openembedded-core/commit/?id=1c9cbb27dfe37ca4574c4285fb03ce394dee5ed1 (From OE-Core rev: ab6ca3112fe84f74fa4cd6ddfec2c6ca50476539) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit c78439a8048c30ef96e11ae698c32f4e088787d3) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* inetutils: remove unused patch filesMartin Jansa2023-06-212-83/+0
| | | | | | | | | | | | * they were removed from SRC_URI in: https://git.openembedded.org/openembedded-core/commit/?id=a21e8fdf1b66961ddae5929d393daa08800bb748 (From OE-Core rev: de86594c102e04aa55208b39d63c0593ade14b7c) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit e2030f2a651920435787b4a580dd18894c1bc02c) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* minicom: remove unused patch filesMartin Jansa2023-06-213-114/+0
| | | | | | | | | | | | * they were removed from SRC_URI in: https://git.openembedded.org/openembedded-core/commit/?id=41f8760dd8a8ac388389bc17dbc5e0ae0f64bf57 (From OE-Core rev: 4395c783e544de30f650459677055737148ea261) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit a0f28cd8d01f4faeedc1089e5d1e2dacc5b046f9) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* qemu: remove unused qemu-7.0.0-glibc-2.36.patchMartin Jansa2023-06-211-46/+0
| | | | | | | | | | | | * it was removed from SRC_URI in: https://git.openembedded.org/openembedded-core/commit/?id=e94d182889ca3c02df913c59f0b66b228ffe588c (From OE-Core rev: 9bd2cd7673c2c4d2c3c99b2caffff53521c1fc78) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 351c461859df02118e9fadb57320120dfbcd97eb) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* libx11: remove unused patch and FILESEXTRAPATHSMartin Jansa2023-06-212-61/+2
| | | | | | | | | | | | | * 0001-fix-a-memory-leak-in-XRegisterIMInstantiateCallback.patch was removed from SRC_URI in: https://git.openembedded.org/openembedded-core/commit/?id=e13f651f73db0f26f4645447ab5fa17e36d1903b (From OE-Core rev: b6ce931656c29e11ea65023ae6077a2870309020) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit ee37d9f05c047e1dd68e0cb47b809240d2f33835) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* systemd: Drop a backportKhem Raj2023-06-212-30/+0
| | | | | | | | | | | | This patch should have been dropped when upgrading to 253 since its already available upstream since then (From OE-Core rev: a0f5dc78f030a3c4efbc864c385b6592a22ef1ec) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 5b677b766280b39e8bf507d5aec4f08e49fd72a9) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* psmisc: Set ALTERNATIVE for pstree to resolve conflict with busyboxFrieder Schrempf2023-06-211-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | If pstree in busybox is enabled there is a conflict with pstree from psmisc resulting in: do_rootfs: Postinstall scriptlets of ['busybox'] have failed. If the intention is to defer them to first boot, then please place them into pkg_postinst_ontarget:${PN} (). Deferring to first boot via 'exit 1' is no longer supported. And more detailed in do_rootfs.log: update-alternatives: Error: not linking [...]/rootfs/usr/bin/pstree to /bin/busybox.nosuid since [...]/rootfs/usr/bin/pstree exists and is not a link On order to fix this set ALTERNATIVE:pstree accordingly. (From OE-Core rev: 6071ff86edb1105ca470979ff691ba5910d7e2fc) Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit deb2176df76dcb16c0d90072ad63d308a0ab1158) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* openssl: upgrade 3.1.0 -> 3.1.1Tim Orling2023-06-213-236/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Drop CVE-2023-0464.patch (merged upstream). * Refresh 0001-Configure-do-not-tweak-mips-cflags.patch https://github.com/openssl/openssl/blob/openssl-3.1.1/NEWS.md Major changes between OpenSSL 3.1.0 and OpenSSL 3.1.1 [30 May 2023] * Mitigate for very slow OBJ_obj2txt() performance with gigantic OBJECT IDENTIFIER sub-identities. (CVE-2023-2650) * Fixed buffer overread in AES-XTS decryption on ARM 64 bit platforms (CVE-2023-1255) * Fixed documentation of X509_VERIFY_PARAM_add0_policy() (CVE-2023-0466) * Fixed handling of invalid certificate policies in leaf certificates (CVE-2023-0465) * Limited the number of nodes created in a policy tree (CVE-2023-0464) Security Advisory: https://www.openssl.org/news/secadv/20230530.txt CVE: CVE-2023-2650 CVE: CVE-2023-1255 CVE: CVE-2023-0466 CVE: CVE-2023-0465 CVE: CVE-2023-0464 (From OE-Core rev: 0b4cc6aa840aa52c3843c5292f15c028d0037bba) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 26ce9a5fd31c27812ce8784a398b600cc0e9aa80) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* bind: upgrade 9.18.13 -> 9.18.14Trevor Gamblin2023-06-2110-1/+1
| | | | | | | | | | | | Stable branch update (From OE-Core rev: 046e4dcebb7e098374f0d81db79bf247c81ec977) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 43c97c6e64c554f41a3a45241a7547bce21533e7) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* busybox: 1.36.0 -> 1.36.1Andrej Valek2023-06-212-1/+1
| | | | | | | | | | | | | | | Bug fix release. 1.36.1 has fixes for line editing, detection of hardware sha1/sha256 support, unzip (do not create suid/sgid files unless -K), shell (printf and sleep with no args, handing of SIGINT in sleep), ed. - regression on x86 is still in place (From OE-Core rev: a30ec03e3b59a596f48b9a6b8cf1d41d76e33bf3) Signed-off-by: Andrej Valek <andrej.valek@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 09c5499f5885662a55a8810078e7208a1696b29f) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* ell: upgrade 0.56 -> 0.57Markus Volk2023-06-211-1/+1
| | | | | | | | | | | | | | ver 0.57: Fix issue with handling Generic Netlink cancel requests. ell 0.57 is required for iwd 2.5 (From OE-Core rev: 3d3f9b4dce794114628a15bf375a8f91b7169a27) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit f13fe33403f077802640e70a84596546d555c3b9) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* tiff: backport a fix for CVE-2023-2731Natasha Bailey2023-06-212-1/+42
| | | | | | | | | | | | | This patch fixes an issue in libtiff's LZWDecode function which could cause a null pointer dereference. (From OE-Core rev: 1430f2f7aa774c3deb54dca8b8252d31ab5a513c) Signed-off-by: Natasha Bailey <nat.bailey@windriver.com> Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 7da5abf23232f61bf8009b4b8e97632768867e07) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* curl: fix CVE-2023-28319 through CVE-2023-28322Mingli Yu2023-06-215-0/+682
| | | | | | | | | | | | | Backport patches to fix the below CVEs: CVE-2023-28319 CVE-2023-28320 CVE-2023-28321 CVE-2023-28322 (From OE-Core rev: 6612ec59d6680f845f9a96598522aa4d6605690b) Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* uninative: Upgrade to 4.0 to include latest gcc 13.1.1Michael Halstead2023-06-141-4/+4
| | | | | | | | | (From OE-Core rev: a24b257189e83ce4cd073acb3e31591d31dfa5b1) Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit f87becb69e02bdf055dffb633ed4f6d36b36f7a7) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* uninative: Upgrade to 3.10 to support gcc 13Michael Halstead2023-06-141-4/+4
| | | | | | | | | (From OE-Core rev: 6d9e48a3322a9abdca7444dbfa2288af3c91113b) Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit f811bffb861b23238e8291394bd6e8407f013619) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* selftest/reproducible: Allow native/cross reuse in testRichard Purdie2023-06-141-2/+2
| | | | | | | | | | | | | | We don't compare reproducibility of the native/cross components, only the target ones. With the long build times of rust-native, the test now takes crazy lengths of time so this tweak should allow us to reuse native/cross artefacts from sstate whilst still testing the target output is reproducible. (From OE-Core rev: ea3d21235633dc5b01c6ce39e768d00d1da5d87a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit b494d83c639a877cefeb7cbab6d37195e492f059) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* oeqa: adding selftest-hello and use it to speed up testsThomas Roos2023-06-143-9/+36
| | | | | | | | | | | | | | | Adding a selftest version of hello world to run it in tests where no download is necessary. Also using this in several tests to speed them up. Using the -native version wherever possible will also speed up tests a lot. [YOCTO #11142] (From OE-Core rev: 95241ece5fcef53901b97f96ae961cea208ca31a) Signed-off-by: Thomas Roos <throos@amazon.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit c3f26b63934888df0e3cd563c1c2804eb78a368e) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* rpm: drop unused 0001-Rip-out-partial-support-for-unused-MD2-and-RIPEMD160.patchMartin Jansa2023-06-141-81/+0
| | | | | | | | | | | | | | | | | | * it was removed from SRC_URI in oe-core commit: commit 67257ca87c6fa8e6050a20ecea50daf834c7e869 Author: Alexander Kanavin <alex.kanavin@gmail.com> Date: Sat Apr 25 19:28:00 2020 +0200 Subject: rpm: upgrade to 4.15.1 and it's unused since then (From OE-Core rev: c7324d03ebd58c247611a9955b6029bf66f05826) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit c801a215fb2d53bdec7f4c9a20ff7969e8071e5c) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* lib/terminal.py: Add urxvt terminalPavel Zhukov2023-06-141-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes failure [1] of menuconfig task in rxvt-unicode terminal in case if xterm/Konsole/Gnome is not installed. Tested with rxvt-unicode-256color [1] WARNING: Terminal screen is supported but did not start ERROR: No valid terminal found, unable to open devshell. Tried the following commands: tmux split-window -c "{cwd}" "do_terminal" tmux new-window -c "{cwd}" -n "zephyr-helloworld Configuration" "do_terminal" xfce4-terminal -T "zephyr-helloworld Configuration" -e "do_terminal" terminology -T="zephyr-helloworld Configuration" -e do_terminal mate-terminal --disable-factory -t "zephyr-helloworld Configuration" -x do_terminal konsole --separate --workdir . -p tabtitle="zephyr-helloworld Configuration" -e do_terminal gnome-terminal -t "zephyr-helloworld Configuration" -- do_terminal xterm -T "zephyr-helloworld Configuration" -e do_terminal rxvt -T "zephyr-helloworld Configuration" -e do_terminal tmux new -c "{cwd}" -d -s devshell -n devshell "do_terminal" screen -D -m -t "zephyr-helloworld Configuration" -S devshell do_terminal DEBUG: Python function do_menuconfig finished (From OE-Core rev: d873b925a02dfec2c7655757a1f08d2435fe1980) Signed-off-by: Pavel Zhukov <pazhukov@suse.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 8d2fe4df8ae33e033caf4119a76715f085be1d15) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* staging.bbclass: do not add extend_recipe_sysroot to prefuncs of ↵Chen Qi2023-06-141-1/+1
| | | | | | | | | | | | | | | | | | prepare_recipe_sysroot When running prepare_recipe_sysroot task, the extend_recipe_sysroot is run twice. What prepare_recipe_sysroot does is executing extend_recipe_sysroot, there's no need to add extend_recipe_sysroot to its prefuncs. (From OE-Core rev: 08e561035255e765e4293d4031115ea308cc29d3) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit bf7584a2ac16ee46ff5b41536b06bb46d0cbada7) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* xf86-video-intel: Use the HTTPS protocol to fetch the Git repositoriesPeter Kjellerstedt2023-06-141-2/+1
| | | | | | | | | | | | | This matches the change in commit 139102a73d (recipes: Default to https git protocol where possible), which did this for most recipes. (From OE-Core rev: 155fb4ffbb02522cc5dde22c4d8a69a3e299b86f) 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> (cherry picked from commit 21a06cb3f19570c65fc83d45069cab22136768b0) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* musl: Correct SRC_URIPeter Kjellerstedt2023-06-141-1/+1
| | | | | | | | | | | | | | When the protocol used to fetch the Git repository was changed from "git" to "https" in commit 139102a73d (recipes: Default to https git protocol where possible), the URI was not updated to match. (From OE-Core rev: bb3c35309e23121dfc9b0f2f06d31f38554a3820) 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> (cherry picked from commit 0434a5ae168f737741e66a7fe1e30a8703b8ce16) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* oeqa/selftest/cases/devtool.py: skip all tests require folder a git repoThomas Roos2023-06-141-0/+8
| | | | | | | | | | | | | | | Devtool selftests require poky dir a git repo, when downloading poky as a tar, this is not the case. Those tests will now skipped. [YOCTO #12389] (From OE-Core rev: 5b913494b472ef03435cabf984361b43c3d813f4) Signed-off-by: Thomas Roos <throos@amazon.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 95a5bc130dc51ea9de95c64dbf0e9c7892415d50) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* kmscube: Correct DEPENDS to avoid overwriteRanjitsinh Rathod2023-06-141-2/+1
| | | | | | | | | | | | | | | As part of the below commit, DEPENDS gets overwrite which is wrong Link: https://git.yoctoproject.org/poky/commit/?id=bd947d3343dcd96e79fc8157f32a2a087cd710a7 So correct the DEPENDS varibales (From OE-Core rev: 45bd0b8c1256640aef98d497e9d53553a1bd1dab) Signed-off-by: Ranjitsinh Rathod <ranjitsinh.rathod@kpit.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 63f338255000874c62bf01ccc11f2c100014c3d9) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* linux-yocto: move build / debug dependencies to .incBruce Ashfield2023-06-142-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | | When the architecture and debug specific build and runtime dependencies were introduced, they were only applicable to "newer" kernel versions and were enabled in the version specific recipes. These are now common dependencies, so we can avoid the duplication and move them to a common location. We also change the adhoc nature of the existing elfutils definition, as it is now detected by the kernel build and we no longer need the work around to the native sysroot. Finally, we change the undocumented KERNEL_DEBUG_OPTIONS to KERNEL_DEBUG and use it to conditionally enable features that need extended support (and support sometimes out of oe-core). (From OE-Core rev: 67a972a1d8c2ff271cbbca68a2805ea31f079fa1) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 7ddeb149e7a78bedeb945898fec5e8f13b7c5711) Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* kernel: don't force PAHOLE=falseBruce Ashfield2023-06-141-1/+1
| | | | | | | | | | | | | | | | | | | | If a specific kernel provider or configuration wants to enable BTF and pahole analysis, it isn't currently possible due to the explicit definition to false in the base kernel build arguments. pahole is now detected by the kernel built itself, so unless pahole-native is enabled, the result is the same. If a kernel does require an explicit disable of pahole, it is better to carry PAHOLE=false in those specific recipes. (From OE-Core rev: c6f13dcb3e04655c8076c1100ceada760ffb1ddb) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit b1e4851a36ed47ce6ba880a49264b9a57c78cf4f) Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* conf: add nice level to the hash config ignred variablesLorenzo Arena2023-06-141-1/+1
| | | | | | | | | | | | This is needed as each user could be setting different nice levels while building, however this should not make the shared cache unusable. (From OE-Core rev: c7eeb912b6c39df654d82e26608514221022aa2a) Signed-off-by: Lorenzo Arena <arena.lor@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 42784f9360345da1c01d988070253e7ffd5ac4ac) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* piglit: Add missing glslang dependenciesTom Hochstein2023-06-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The vulkan configuration requires glslangValidator for build and runtime. Fixes configure error: ``` | CMake Error at CMakeLists.txt:191 (message): | glslangValidator required by vulkan tests not found ``` Fixes runtime error: ``` name: vulkan@shaders@fs-large-local-array result: fail returncode: 1 out: err: glslangValidator: No such file or directory glslangValidator failed ``` (From OE-Core rev: 67116105614137ede6c09efc0b1adf4ed34e79e7) Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 89423cc35d9d2d709adaf032bee8340fb91a3af5) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* meta: depend on autoconf-archive-native, not autoconf-archiveRoss Burton2023-06-149-10/+9
| | | | | | | | | | | | | | | | | | | autoconf-archive is a collection of m4 autoconf macros needed at build-time, and autoconf-archive-native is a suitable provider as there is nothing in the recipe that needs to be cross-compiled. Also if we use DEPENDS=autoconf-archive then the recipe's -dev package ends up RDEPENDing on autoconf-archive, which isn't correct. Universally change any DEPENDS on autoconf-archive to the -native form, and add any missing dependencies that were implicit before. (From OE-Core rev: be5534a8ca4a5ab7323039123e680ba1f6ede908) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 571132415ea7fe2d91c62948f2b6aa553eafa83d) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* image-live.bbclass: respect IMAGE_MACHINE_SUFFIXMartin Jansa2023-06-141-1/+1
| | | | | | | | | | | | | | * fixes: ERROR: core-image-minimal-1.0-r0 do_bootimg: /OE/build/poky/build/tmp/deploy/images/qemux86-64/core-image-minimal-initramfs-qemux86-64.cpio.gz is invalid. initrd image creation failed. ERROR: core-image-minimal-1.0-r0 do_bootimg: ExecutionError('/OE/build/poky/build/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/temp/run.build_hddimg.2001892', 1, None, None) when IMAGE_MACHINE_SUFFIX is set to empty in local.conf (From OE-Core rev: ac1977fea5a5d68c197d948a59447472e7c7747b) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit ed072d2a0abe5a22330160f67ee5e83c2eae1dac) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* go.bbclass: don't use test to check output from lsMartin Jansa2023-06-141-1/+1
| | | | | | | | | | | | * avoids possibly confusing error message in log.do_install like: ls: cannot access 'etcd/3.5.7-r0/build/bin/linux_arm64/': No such file or directory (From OE-Core rev: 6f9b6145b473a1adcaf39c1af0d17bec00547ede) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 2f1777e6ac5269a71203b6a2c562a43503be95ae) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* e2fsprogs: Fix error SRCDIR when using usrmerge DISTRO_FEATURESQiu Tingting2023-06-142-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When build e2fsprogs ptest with usrmerge DISTRO_FEATURES, in test_script and test_one scripts, value of SRCDIR has problem. SRCDIR=/usr/usr/lib/e2fsprogs/ptest/test ptest log # ptest-runner e2fsprogs START: ptest-runner 2022-12-17T11:08 BEGIN: /usr/lib/e2fsprogs/ptest ls: cannot access '/usr/usr/lib/e2fsprogs/ptest/test/[a-zA-Z]_*': No such file or directory ./test_script: line 54: /usr/usr/lib/e2fsprogs/ptest/test/test_post: No such file or directory DURATION: 0 END: /usr/lib/e2fsprogs/ptest 2022-12-17T11:08 STOP: ptest-runner TOTAL: 1 FAIL: 0 Reason In Makefile.in, SRCDIR is set by prefix and libdir. @echo "SRCDIR=${prefix}${libdir}/e2fsprogs/ptest/test" >> test_one @echo "SRCDIR=${prefix}${libdir}/e2fsprogs/ptest/test" >> test_script prefix=/usr libdir=/usr/lib (when usrmerge is set) solution Use PTEST_PATH to fix it. (From OE-Core rev: 0e9cd399f7f5dcd31420cce8e0dc8c25f33bd80b) Signed-off-by: Qiu Tingting <qiutt@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 85e3b4f1d4b8734b0dd427d107a9f736bca9b7f7) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* avahi: fix D-Bus introspectionEero Aaltonen2023-06-141-2/+1
| | | | | | | | | | | Install and package the D-Bus introspection files. (From OE-Core rev: ec7ba3c31611ed9962b844256734a07ff4ca9152) Signed-off-by: Eero Aaltonen <eero.aaltonen@vaisala.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit b8183ad25af3bcf23f04dd649b6ef665569fac8c) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* binutils: package static libs from gprofngMartin Jansa2023-06-141-0/+1
| | | | | | | | | | | | | | | | | | | * fixes: ERROR: binutils-2.40-r0 do_package: QA Issue: binutils: Files/directories were installed but not shipped in any package: /usr/lib/gprofng/libgp-collectorAPI.a Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. binutils: 1 installed and not shipped files. [installed-vs-shipped] (From OE-Core rev: ab6ae4b715143364288ba164f8ab5c3cd7f486ae) (From OE-Core rev: 4ed0f0cc0ecc290f1bbb8262afa62b45513e9cc6) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> 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> (cherry picked from commit f72fd51e0da100e7ed90992225688bf43e2a69b6) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* binutils: stable 2.40 branch updatesDeepthi Hemraj2023-06-1416-207/+150
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Rebase existing patches - Drop 0014-configure-remove-dependencies-on-gmp-and-mpfr-when-g.patch which is already in - Correct packaging path to libgprofng.so - Below commits on binutils-2.40 stable branch are updated. 4671be001eb Updated Hungarian translation for the gprof directory ded035f913e lto: Don't add indirect symbols for versioned aliases in IR 74cb2ddeabc gas: arm: Change warning message to not reference specific A-class architecture revision 570b9c09bbf gas: arm: Fix a further IT-predicated vcvt issue in the presense of MVE vcvtn bddd62e188c libctf: get the offsets of fields of unnamed structs/unions right 7aa47eafcce libctf: fix assertion failure with no system qsort_r 165accf0752 coff_get_normalized_symtab bfd_release af35798e957 PR30217, dynamic relocations using local dynamic symbols 18bb604f1e1 PR30198, Assertion and segfault when linking x86_64 elf and coff 34a2b4a0e21 PR30155, ld segfault in _bfd_nearby_section 3d0046f39aa PR30046, power cmpi leads to unknown architecture 5c87fb1d59b ppc32 and "LOAD segment with RWX permissions" 11f5c1ebf14 Updated Serbian translations for gold, gprof and opcodes sub-directories 38e455b1d9a Updated translations for the bfd and gprof directories. b2bc62b7b4e gas: correct symbol name comparison in .startof./.sizeof. handling 17294931e3e configure: remove dependencies on gmp and mpfr when gdb is disabled 1fc096a4c59 Regen config files e1815414077 Pass $JANSSON_LIBS and $ZSTD_LIBS to ld-bootstrap/bootrap.exp 3e888977f16 bpf: fix error conversion from long unsigned int to unsigned int [-Werror=overflow] 65dbb942145 Updated Swedish translation for the binutils sub-directory 27f59ec47a1 RISC-V: make C-extension JAL available again for (32-bit) assembly edd36b26f35 gprofng: PR30043 libgprofng.so.* are installed to a wrong location c6e269febbc gprofng: PR29521 [docs] man pages are not in the release tarball bcea253f5fa toplevel: Makefile.def: add install-strip dependency on libsframe (From OE-Core rev: 5d7389770af6613af4ca8a2d30cc79d494a91075) (From OE-Core rev: c4135c692cea9cbeb5df21baa4d76e872d981411) Signed-off-by: Deepthi Hemraj <Deepthi.Hemraj@windriver.com> 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> (cherry picked from commit dcaf5192599b9474901ab73b66c330a401623fc1) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* libxi: upgrade to v1.8.1Sudip Mukherjee2023-06-141-2/+2
| | | | | | | | | | | | | | | Changes: Use xz: upstream has not released bz2. Update sha256sum for new version. Details at: https://gitlab.freedesktop.org/xorg/lib/libxi/-/commits/libXi-1.8.1 (From OE-Core rev: fbe7b8b6d51201273de2f164c403778630e7bae8) Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 278f73b2bc06f25fd66322e38c06ef5ebf894f98) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* iso-codes: upgrade 4.13.0 -> 4.15.0Wang Mingyu2023-06-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Changelog: ========== - Translation updates for ISO 3166-1 - Translation updates for ISO 3166-3 - Translation updates for ISO 639-2 - Translation updates for ISO 3166-1 - Translation updates for ISO 3166-2 - Translation updates for ISO 3166-3 - Translation updates for ISO 639-2 - Translation updates for ISO 639-3 - Translation updates for ISO 639-5 - Translation updates for ISO 4217 - Translation updates for ISO 15924 * ISO 3166-2: Fix wrong Spanish translation (From OE-Core rev: b189240b211e5d8f40747a0128834ed83c38a8f4) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 355f2f9fe8a1e6c5e78f136cb3ed77c9004fb75c) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* xz: upgrade 5.4.2 -> 5.4.3Denys Dmytriyenko2023-06-141-1/+1
| | | | | | | | | | | | | | | 5.4.3 (2023-05-04) * All fixes from 5.2.12 * Features in the CMake build can now be disabled as CMake cache variables, similar to the Autotools build. * Minor update to the Croatian translation. (From OE-Core rev: c450040e2f177b2ef64c0817ca0aad4051d5f25f) Signed-off-by: Denys Dmytriyenko <denis@denix.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 75aaa3d8efa9ba4fdf7145321dc85b34cd3dcebb) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* vim: upgrade 9.0.1429 -> 9.0.1527Randy MacLeod2023-06-141-2/+2
| | | | | | | | | | | | Fixes: https://nvd.nist.gov/vuln/detail/CVE-2023-2426 caf642c25 patch 9.0.1499: using uninitialized memory with fuzzy matching (From OE-Core rev: 72c741cd9d11f995a20e24d11528842fc020f59e) Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 4f9a8df5aca99d0a5c2d2346b27ce7be08e7896c) Signed-off-by: Steve Sakoman <steve@sakoman.com>