summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
AgeCommit message (Collapse)Author
2024-03-07ttyrun: upgrade 2.30.0 -> 2.31.0Alexander Kanavin
(From OE-Core rev: 60b45299b515348c2a312d88d94d748fcfc344cf) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-07systemd: upgrade 255.1 -> 255.4Alexander Kanavin
(From OE-Core rev: 1549cf92728ae3113160e5f8f72cc6d2433dc27d) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-07mc: upgrade 4.8.30 -> 4.8.31Alexander Kanavin
Fish vfs was renamed to shell vfs: https://github.com/MidnightCommander/mc/commit/6ca4ab4b4ef0f42e9b56103038b7f45e146cbdc8 (From OE-Core rev: 3dc97bf745239a817af956e354b9b991bf108e59) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-07libxml2: upgrade 2.11.5 -> 2.12.5Alexander Kanavin
License-Update: hash.c is rewritten and no longer carries a special copyright notice, but dict.c still does (Copyright file updated to reflect that) (From OE-Core rev: a14769d40bee751ac1dcd536789e8e346046e141) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-07libpcre2: upgrade 10.42 -> 10.43Alexander Kanavin
License-Update: copyright years (From OE-Core rev: 6a0cb6e129d5602808f34fd2a9460fc05d9520d6) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-07glib-networking: upgrade 2.78.0 -> 2.78.1Alexander Kanavin
(From OE-Core rev: f45a10b6272039542d17352da0553c9589709edb) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-07glib-2.0: upgrade 2.78.3 -> 2.78.4Alexander Kanavin
(From OE-Core rev: 53118dd8f096c5467223182ada0e0b07fd6471f6) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-07gettext: upgrade 0.22.4 -> 0.22.5Alexander Kanavin
(From OE-Core rev: 3cf9853a1a6872667cffe1dd8ed3d7a5037caaa5) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-07ell: upgrade 0.62 -> 0.63Alexander Kanavin
(From OE-Core rev: 5d9027e3d9e59e46eefc238b69c50cc235061a64) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-05bmaptool: now part of Yocto ProjectTrevor Woerner
The bmaptool (previously: bmap-tools, bmap-tool, bmaptool) has been moved to be under the Yocto Project umbrella and is now hosted at: github.com/yoctoproject/bmaptool [RP: Added a couple of missing renames] (From OE-Core rev: 7a036b1a1ec7dcd27dbe18d4c2e703bd2a8af182) Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-05expat: upgrdae 2.6.0 -> 2.6.1Yi Zhao
ChangeLog: (https://github.com/libexpat/libexpat/blob/R_2_6_1/expat/Changes) Bug fixes: #817 Make tests independent of CPU speed, and thus more robust #828 #836 Expose billion laughs API with XML_DTD defined and XML_GE undefined, regression from 2.6.0 Other changes: #829 Hide test-only code behind new internal macro #833 Autotools: Reject expat_config.h.in defining SIZEOF_VOID_P #819 Address compiler warnings #832 #834 Version info bumped from 10:0:9 (libexpat*.so.1.9.0) to 10:1:9 (libexpat*.so.1.9.1); see https://verbump.de/ for what these numbers do Infrastructure: #818 CI: Adapt to breaking changes in clang-format (From OE-Core rev: 1808a9e60d587c705218a3328716cd24a5228dc6) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-03coreutils: backport patch to fix heap overflow in splitSimone Weiß
Backported from upstream to fix CVE-2024-0684 (From OE-Core rev: 64c502850147e82c93b5fc7f45a8c76a9ad414d8) Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-27glib-2.0: backport a switch from distutils to packaging in codegenMartin Jansa
* to fix build on hosts with python-3.12, now it fails with: Traceback (most recent call last): File "recipe-sysroot-native/usr/bin/gdbus-codegen", line 53, in <module> from codegen import codegen_main File "recipe-sysroot-native/usr/share/glib-2.0/codegen/codegen_main.py", line 29, in <module> from . import dbustypes File "recipe-sysroot-native/usr/share/glib-2.0/codegen/dbustypes.py", line 22, in <module> from . import utils File "recipe-sysroot-native/usr/share/glib-2.0/codegen/utils.py", line 22, in <module> import distutils.version ModuleNotFoundError: No module named 'distutils' CMake Error at CMakeLists.txt:90 (message): Error in generating code for connman interface using gdbus-codegen (From OE-Core rev: 258cb46f93af3249fb554a679af6222174bd2e95) Signed-off-by: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-24glibc-locale: add an explicit dedicated package for locale.alias fileJonathan GUILLOT
Until now, ${datadir}/locale/locale.alias file were automatically added to a weird glibc-locale-locale.alias package by split_locales() during do_package task. Create an explicit package name in recipe for this file. (From OE-Core rev: 405c5b6f04b531c968d0f8348c2dafe363011898) Signed-off-by: Jonathan GUILLOT <jonathan@joggee.fr> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-21systemd-systemctl: fix dead loop when multi services enable each otherXiangyu Chen
libvirt has added a feature that all sockets for a service being enabled when a single one of them is enabled since 9.9.x[1], it likes serviceA enable serviceB, serviceB enable serviceA, that cause our systemctl script trap into a dead loop in postinstall stage, the error message as below: Traceback (most recent call last): File "/usr/lib/python3.8/pathlib.py", line 722, in __str__ return self._str AttributeError: _str During handling of the above exception, another exception occurred: Traceback (most recent call last): File "recipe-sysroot-native/usr/bin/systemctl", line 255, in enable SystemdUnit(self.root, also).enable(unit) File "recipe-sysroot-native/usr/bin/systemctl", line 255, in enable SystemdUnit(self.root, also).enable(unit) File "recipe-sysroot-native/usr/bin/systemctl", line 255, in enable SystemdUnit(self.root, also).enable(unit) [Previous line repeated 988 more times] ...... RecursionError: maximum recursion depth exceeded while calling a Python object Here using an array to record the services which has been enabled to filter the duplicates. Ref: [1] https://github.com/libvirt/libvirt/commit/826931e95a38af8322f8ad069dc89117c6404a00 (From OE-Core rev: 4c45f975310184a773b25b8e7d7ef50fba2f7bd6) Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-21ncurses: Always pass -D_GNU_SOURCEKhem Raj
So far it was assumed that it was detected ok for target recipe but actually it ends up with warnings and build moves on, however with gcc-14 these warnings are treated as errors and we see the problem even with target recipes. (From OE-Core rev: da381fb3d9dcd0e66bc3b48bdfde95cd29f0c654) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-21dbus: disable assertions and enable only modular testsAlexander Kanavin
There was a report that enabling assertions and all tests results in notices in log.do_configure: NOTE: building with unit tests increases the size of the installed library and renders it insecure. NOTE: building with assertions increases library size and decreases performance. This was overlooked when dbus and dbus-tests recipes were merged; enabling all tests and assertions still requires a special, separate build of dbus. If those tests are useful this could be revisited. Until then, we should use productions settings for the main recipe. Buildhistory-diff: packages/core2-64-poky-linux/dbus/dbus-dbg: PKGSIZE changed from 9958176 to 8627824 (-13%) packages/core2-64-poky-linux/dbus/dbus-lib: PKGSIZE changed from 544347 to 346339 (-36%) packages/core2-64-poky-linux/dbus/dbus-ptest: PKGSIZE changed from 3524983 to 3116951 (-12%) packages/core2-64-poky-linux/dbus/dbus-ptest: FILELIST: removed "/usr/share/installed-tests/dbus/test-dbus-launch-eval.sh_with_config.test /usr/share/installed-tests/dbus/test-counter_with_config.test /usr/libexec/installed-tests/dbus/test-dbus-launch-eval.sh /usr/libexec/installed-tests/dbus/test-dbus-launch-x11.sh /usr/share/installed-tests/dbus/test-counter.test /usr/libexec/installed-tests/dbus/test-counter /usr/share/installed-tests/dbus/test-dbus-launch-x11.sh.test /usr/share/installed-tests/dbus/test-dbus-launch-x11.sh_with_config.test /usr/share/installed-tests/dbus/test-dbus-launch-eval.sh.test" packages/core2-64-poky-linux/dbus/dbus: PKGSIZE changed from 510939 to 350331 (-31%) (From OE-Core rev: 054ce01ae84eb10e055a41ec8dd85ebce9ea23c8) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-19ell: update 0.61 -> 0.62Markus Volk
ver 0.62: Add support for cleanup functions and macros. Add support for setting DHCP max attempts. (From OE-Core rev: ae84d13b6c4f33a56cc36715a118a9f938ceb2c4) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-19initramfs-framework: overlayroot: align bootparams with module nameJohannes Schneider
Renaming the 'rootrw' kernel commandline parameter to 'overlayrootrwdev' to both align better with this modules name, and point out the usage of the variable. This patch also includes an if block to migrate the old 'rootrw' block, should it be already used by someone. (From OE-Core rev: a52b7f5c8ff3e50707b55843d9996983ab8efae2) Signed-off-by: Johannes Schneider <johannes.schneider@leica-geosystems.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-19initramfs-framework: overlayroot: fix kernel commandline clashJohannes Schneider
The initramfs-framwork takes kernel commandline options and converts them for internal use to variables following the 'bootparam_name' pattern. The overlayroot module uses 'bootparam_rootfstype' and 'bootparam_rootfsflags' which both collide with linux kernel parameters 'rootfstype' and 'rootfsflags'. This collision is solved by putting the variables in the namespace of the initramfs-framework module. (From OE-Core rev: ef20ef719c699b94fc52b81c520faa0b3714efeb) Signed-off-by: Johannes Schneider <johannes.schneider@leica-geosystems.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-17ldconfig-native: Fix to point correctly on the DT_NEEDED entries in an ELF fileFabien Mahot
When ldconfig-native reads an ELF file, it computes an offset from a LOAD segment, to point on DT NEEDED entries of dynstr section. Without this patch, ldconfig-native uses only the first LOAD segment, even if the offset is incorrect. This patch adds conditions to compute the offset by parsing all LOAD segments, one by one. This is a backport from [0], ported to support endianness and 32/64 bits. [0]: https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=58e8f5fd2ba47b6dc47fd4d0a35e4175c7c87aaa (From OE-Core rev: 22e35ccf3731164722e3cda9de1802d7326cb507) Signed-off-by: Fabien Mahot <fabien.mahot@external.desouttertools.com> Reviewed-by: Yoann Congal <yoann.congal@smile.fr> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-16zlib: upgrade 1.3 -> 1.3.1Denys Dmytriyenko
Refresh local patch. Changelog: https://github.com/madler/zlib/releases/tag/v1.3.1 (From OE-Core rev: 186475e244d9622817b5a50e83cbfe1e4ed78e34) Signed-off-by: Denys Dmytriyenko <denis@denix.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-15busybox: Explicitly specify tty device for serial consolesAleksey Smirnov
Description: In case of two or more consoles are in inittab, and not specified tty device for first one, some keys works improperly, ex: arrows, backspace, pgup/pgdown; The patch is fixes this issue. (From OE-Core rev: 7eea4ef84d74e618fb00fa73c773acdf775d052a) Signed-off-by: Aleksey Smirnov <aleksey.smirnov@yadro.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-15python3-cryptography: upgrade 41.0.7 to 42.0.2Tim Orling
* Also upgrade python3-cryptography-vectors * Drop patch for 9129, fixed upstream * Refresh pyproject.toml --benchmark-disable patch * Refresh -crates.inc Changes: https://cryptography.io/en/latest/changelog/#v42-0-2 https://cryptography.io/en/latest/changelog/#v42-0-1 https://cryptography.io/en/latest/changelog/#v42-0-0 https://github.com/pyca/cryptography/compare/41.0.7...42.0.2 RP: Add new REPENDS on python3-mmap for ptest RP: Increase memory in ptest image to avoid test failures (From OE-Core rev: 45ee8ae2f6173a11e6d004c8eeba138073b84d18) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-14glib-2.0: backport memory monitor test fixesRoss Burton
We've been seeing the memory-monitor-dbus test case fail occasionally on the autobuilder. Luckily there have been a series of fixes upstream to fix races in the test case, so backport these and hopefully they fix the issue. [ YOCTO #15362 ] (From OE-Core rev: 311d2606a70528e14093dd93178a2c7170718333) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-14glibc: Update to bring mips32/clone3 fixKhem Raj
This patch is the only change applied with this update * 312e159626 mips: FIx clone3 implementation (BZ 31325) (From OE-Core rev: c100c709e746e7b7301c5e01cbf43572a225f00e) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-13glibc: Update to latest on 2.39Khem Raj
Brings this bugfix for arm 63295e4fda arm: Remove wrong ldr from _dl_start_user (BZ 31339) (From OE-Core rev: 109c14a3d6ebe0a7162bc275f4f8ae8adf91196d) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-09core-image-ptest: Increase disk size to 1.5G for strace ptest imageKhem Raj
Autobuilder sees and intermittent failure on strace tests and it occurs quite often therefore bump the size of image as the space requirement is more now with parallel execution enabled. [YOCTO #15370] (From OE-Core rev: 02d31355b20f8f3e7bd1b71c9412988eca9ec4b4) 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>
2024-02-08expat: Upgrade to 2.6.0Khem Raj
Package and run benchmark as part of ptest This is a major release with following changes [1] [1] https://github.com/libexpat/libexpat/blob/R_2_6_0/expat/Changes (From OE-Core rev: 0f5a64aecec9d50b50e2ca70bb1a7e4b680bc4ce) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-08util-linux: add alternative link for scriptreplayPeter Marko
This utility conflicts with script from busybox with rich configuration. (From OE-Core rev: c30437939e0af6fa243cbe6a305491119726f1a1) Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-08testimage: retrieve ptests directory when ptests failAlexis Lothoré
TESTIMAGE_FAILED_QA_ARTIFACTS is set with a default, minimal list of files to retrieve whenever a runtime test fails. Add ptests directory to the list so we can get ptests artifacts (eg: logs) whenever a ptest fails. By appending the ptest directory with the multiconfig component in the path, only failing ptests will lead to corresponding ptest artifacts retrieval, instead of all ptests artifacts retrieval. While doing this addition, reinforce default value using "=" operator to make sure to get the default list in any case. (From OE-Core rev: 9357ab6c47f0a0a7000cb18358bc9775fd54e1f7) Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-06systemd: pack pre-defined pcrlock files installed with tpm2Jose Quaresma
The new pcrlock tool systemd-pcrlock [1] is installed when the tpm2 and openssl package config is enabled and with them some pre-defined pcrlock files is installed on the target. [1] https://github.com/systemd/systemd/pull/28891 (From OE-Core rev: 0ee7002d8f6bfca7b275c082d032936494dc7e8e) Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-06glibc: Refresh CVE status w.r.t 2.39 releaseValek Andrej
- drop irrelevant CVEs for 2.39 release (From OE-Core rev: bea91fb120fef012c1501d470f85ee60a672d1e3) Signed-off-by: Valek Andrej <andrej.v@skyrain.eu> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-06glibc: Upgrade to 2.39Khem Raj
License-Update: Relicenses the IBM portions of resolv/base64.c and resolv/res_debug.c to a new license that does not have use-limited patent language [1] Upgrade localdef to get glibc 2.39 build fixes Details of release [2] Add fix for mips clone3 crash [1] https://sourceware.org/git/?p=glibc.git;a=commit;h=ae49a7b29acc184b03c2a6bd6ac01b5e08efd54f [2] https://sourceware.org/glibc/wiki/Release/2.39 (From OE-Core rev: 41ee98ea7e029515a94835952b8563097150f456) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-03systemd: recommend libelf, libdw for elfutils flagNick Owens
when elfutils is enabled, the elf reading code of systemd will dlopen libelf and libdw. these dependencies are not automatically detected and will not work at runtime without them installed. add them to RRECOMMENDS when elfutils is turned on in PACKAGECONFIG. fixes https://bugzilla.yoctoproject.org/show_bug.cgi?id=15379 (From OE-Core rev: f7366f44fd7d0bc5a5b073cec9c68ffd8258903c) Signed-off-by: Nick Owens <nick.owens@eero.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-03eudev: allow for predictable network interface namesJoe Slater
Do not suppress renaming by eudev if 'pni-names' is a distro feature. The previous behavior was to always suppress renaming. eudev is used when sysvinit is the init manager. (From OE-Core rev: dc7cd56df85f28f2a3a3dd97730d475522b7b0f7) Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-02dropbear: remove unnecessary lineEtienne Cordonnier
This line was added in 703e3faaec8c5a22, however the default value of FILES:${PN} contains "${bindir}/*", so this directory does not need to be explicitly added. (From OE-Core rev: 53f9fa7b7913f4d8a480e85a7b6a943f1125bb19) Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-02initscripts: Add custom mount args for /var/libColin McAllister
Adds bitbake variable to set additional mount flags for the /var/lib overlayfs or bind mount when using a read-only root filesystem. This can be used to set additional options like "-o nodev". (From OE-Core rev: c3109e40e2c2c881996dd3fcc95fca74f098646d) Signed-off-by: Colin McAllister <colin.mcallister@garmin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-01-27sysroot user management postinsts: run with /bin/sh -e to report errors when ↵Alexander Kanavin
they happen This exposes the following failure in a multilib setup, when everything up to do_package_write_rpm is in sstate, but do_package_write_rpm is not (there's a similar fail for lib64-man-db, and the failures themselves will be fixed separately in the next commit): Exception: subprocess.CalledProcessError: Command '/srv/storage/alex/yocto/build-multilib/tmp/work/x86_64-pokymllib64-linux/lib64-quilt/0.67/recipe-sysroot/usr/bin/postinst-base-passwd' returned non-zero exit status 1. Subprocess output: install: cannot stat '/srv/storage/alex/yocto/build-multilib/tmp/work/x86_64-pokymllib64-linux/lib64-quilt/0.67/lib64-recipe-sysroot/usr/share/base-passwd/passwd.master': No such file or directory (From OE-Core rev: 5ffa333db28bc5d8e440c983fdf95589d332461d) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-01-26systemd-boot: upgrade to 255.1Chen Qi
0030-meson-Pass-all-static-pie-args-to-linker.patch is dropped as it's a backported patch and is now in the new 255.1 version. (From OE-Core rev: 6fdf03bd950e55ef7881041606f6e76141033716) 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>
2024-01-26systemd: upgrade to 255.1Chen Qi
1. Patch changes: 0004-Move-sysusers.d-sysctl.d-binfmt.d-modules-load.d-to-.patch is removed because it has no real effect now. The /lib is now /usr/lib because 'usrmerge' is a required distro feature for systemd. 0002-binfmt-Don-t-install-dependency-links-at-install-tim.patch is refreshed for the new version to avoid patch-fuzz issue. 2. root user's home directory now defaults to "/root": The sysuers.d/basic.conf is still modified to respect the ROOT_HOME value, so if users set ROOT_HOME to "/home/root", the behavior is the same as before. However, this is only for backward compatibility. With this patch, The ROOT_HOME value is set to "/root" in init-manager-systemd.inc. This is because systemd's source codes are hardcoding "/root", and other values are not officially supported. See the list below. $ grep -rl '"/root"' src/ | grep -v 'src/test' src/core/namespace.c src/basic/user-util.c src/nss-systemd/nss-systemd.c src/nspawn/nspawn.c src/firstboot/firstboot.c src/shared/userdb.c src/shared/user-record.c $ grep -rl /root network/ factory/ sysctl.d/ sysusers.d/ rules.d/ tmpfiles.d/ units/ xorg/ tools/ sysusers.d/basic.conf.in tmpfiles.d/provision.conf units/emergency.service.in units/rescue.service.in tools/list-discoverable-partitions.py Previously, the recipe was just substituting sysusers.d/basic.conf.in, which is not enough to be treated as 'fully support'. I deliberately put a warning message in do_install to warn users about non "/root" ROOT_HOME value. Don't remove it until all above places are handled. 3. cgroupv2 is now the default. cgroupv2 is the default for systemd for many years and it's the default for distros such as ubuntu and fedora. Let's also use it as the default. (From OE-Core rev: ebafe463799b39025a0b24a0a14a2f02b6de9bac) 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>
2024-01-26systemd: refresh musl patches for v255.1Chen Qi
The current patches are refreshed. A new patch is added: 0022-avoid-missing-LOCK_EX-declaration.patch (From OE-Core rev: b86b1f1265b87f73ea132a9c0d3b1978972ad41b) 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>
2024-01-26udev-extraconf: fix unmount directories containing octal-escaped charsJonathan GUILLOT
USB devices are auto-mounted in a directory named like theirs labels. Special characters like whitespace are octal-escaped in /proc/mounts output. Using directly this output file as an argument for umount failed and the mount directory can't be removed as still busy. Using printf allows these special characters to be unescaped. (From OE-Core rev: 37f17625d931a06888388682dc2b1f5a2d298125) Signed-off-by: Jonathan GUILLOT <jonathan@joggee.fr> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-01-24glibc: Do not enable CET on 32bit x86Khem Raj
Support has been removed from 2.39+ see [1] [1] https://sourceware.org/git/?p=glibc.git;a=commit;h=25f1e16ef03a6a8fb1701c4647d46c564480d88c (From OE-Core rev: 63925be1c40aee0baeebd5bf6fdfafed18200b5f) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-01-23zlib: ignore CVE-2023-6992Peter Marko
This CVE is for iCPE cloudflare:zlib. Alternative to ignoring would be to limit CVE_PRODUCT, but historic CVEs already have two - gnu:zlib and zlib:zlib. So limiting it could miss future CVEs. (From OE-Core rev: 9f953a1cd832f03f0b3666168addf45fd4fc8d14) Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-01-21eudev: modify predictable network if name searchJoe Slater
Consider a name based on mac address in addition to those based on slot or path. Note that as of this commit predictable naming is suppressed by eudev, but can be enabled by removing /etc/udev/rules.d/80-net-name-slot.rules from the root filesystem. (From OE-Core rev: 4a7b42fcf6981d3120c08091a7ed3d4d7bcd41f0) Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-01-21newlib: Upgrade 4.3.0 -> 4.4.0Alejandro Hernandez Samaniego
- COPYING.LICENSE: Added Apache-2.0-with-LLVM-exception from newlibs commit 96ec8f868e1a0f5a75badfe4627a41f12cce742d applicable to newlib/libc/machine/aarch64. - Also switch libgloss to use PV from newlib.inc instead to align with the newlib recipe behavior. (From OE-Core rev: 92add12d667cb08c9222b4b342b3bf6342010ac6) Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-01-21coreutils: Fix build with clangKhem Raj
Add a gnulib patch to fix build with clang-18 (From OE-Core rev: 8f661c567f773c22a03ec0991d700ee900c1f8d7) 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>
2024-01-19build-appliance-image: Update to master head revision5.0_M2Richard Purdie
(From OE-Core rev: 38dbede9a49195d6faeda61e30f098996e6713f5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-01-19glib-2.0: ensure GI_DATA_ENABLED is setAlexander Kanavin
With python 3.12 some of the glib ptests started failing. Inspection revealed that they fail because all tests in some glib's test suites are skipped; python 3.12's unittest module deems "no tests in a test suite were executed" a failure (and I tend to agree). Why are all the tests skipped? Because python dbus module is missing from the image, and it's missing because it's pulled in by dbusmock, which in turn is missing because it is pulled in by glib recipe subject to GI_DATA_ENABLED, and that variable is not global but defined in a g-i-data class that glib recipe did not include. So needed dependencies were simply always excluded regardless of g-i settings, until now. (From OE-Core rev: c9010feb8e4862f5c0dfde33ba73f3e7cc35b790) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>