summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
Commit message (Collapse)AuthorAgeFilesLines
...
* packagegroup-core-tools-profile: skip VALGRIND for loongarch64Hongxu Jia2025-01-031-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Due to packagegroup-core-tools-profile run time depend on package valgrind and recipe valgrind does not support loongarch64, then skip VALGRIND for loongarch64 $ echo "MACHINE = 'qemuloongarch64'" >> conf/local.conf $ bitbake world |ERROR: Nothing RPROVIDES 'valgrind' (but oe-core/meta/recipes-core/ packagegroups/packagegroup-core-tools-profile.bb RDEPENDS on or otherwise requires it) |valgrind was skipped: incompatible with host loongarch64-wrs-linux (not in COMPATIBLE_HOST) |NOTE: Runtime target 'valgrind' is unbuildable, removing... |Missing or unbuildable dependency chain was: ['valgrind'] |ERROR: Required build target 'meta-world-pkgdata' has no buildable providers. |Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'packagegroup-core-tools-profile', 'valgrind'] (From OE-Core rev: 2ef616b4e43f5c4d3155201f743e48d6ff6bb400) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* packagegroup-core-tools-testapps: skip KEXECTOOLS for loongarch64Hongxu Jia2025-01-031-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Due to recipe packagegroup-core-tools-testapps run time depend on package kexec and recipe kexec-tools does not support loongarch64, then skip KEXECTOOLS for loongarch64 $ echo "MACHINE = 'qemuloongarch64'" >> conf/local.conf $ bitbake world |ERROR: Nothing RPROVIDES 'kexec' (but oe-core/meta/recipes-core/packagegroups/ packagegroup-core-tools-testapps.bb RDEPENDS on or otherwise requires it) |kexec-tools RPROVIDES kexec but was skipped: incompatible with host loongarch64-wrs-linux (not in COMPATIBLE_HOST) |NOTE: Runtime target 'kexec' is unbuildable, removing... |Missing or unbuildable dependency chain was: ['kexec'] |ERROR: Required build target 'meta-world-pkgdata' has no buildable providers. |Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'packagegroup-core-tools-testapps', 'kexec'] (From OE-Core rev: 37ff515da6e13126f8822b3a55e44cdc62882a51) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initramfs-module-install: remove loongarch64 from COMPATIBLE_HOSTHongxu Jia2025-01-032-2/+2
| | | | | | | | | | | | | | | | | | | | | | | Due to initramfs-module-install runtime depend on grub, and grub did not support loongarch64, remove loongarch64 from COMPATIBLE_HOST $ echo "MACHINE = 'qemuloongarch64'" >> conf/local.conf $ bitbake world |ERROR: Nothing RPROVIDES 'grub' (but oe-core/meta/recipes-core/initrdscripts/ initramfs-module-install_1.0.bb RDEPENDS on or otherwise requires it) |grub was skipped: incompatible with host loongarch64-wrs-linux (not in COMPATIBLE_HOST) |NOTE: Runtime target 'grub' is unbuildable, removing... |Missing or unbuildable dependency chain was: ['grub'] |ERROR: Required build target 'meta-world-pkgdata' has no buildable providers. |Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'initramfs-module-install', 'grub'] (From OE-Core rev: 6440e1010ade2b4207879a2e8cd288bcd714a445) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: upgrade from 256.9 to 257Chen Qi2025-01-0333-566/+604
| | | | | | | | | | | | | | | | | Patch changes: * 0003-coredump-set-ProtectHome-to-read-only.patch is drop as it's a backported patch. * 0009-don-t-pass-AT_SYMLINK_NOFOLLOW-flag-to-faccessat.patch is drop as AT_SYMLINK_NOFOLLOW has been supportd in musl. * Other patches are either refreshed or changed to fit the current version. systemd-boot changes: * Use src/boot instead src/boot/efi in do_install and do_deploy. See upstream change 97318131fd06 (Rename src/boot/efi to just src/boot). (From OE-Core rev: 4891f47cdaf919033bf1c02cc12e4805e5db99a0) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* init-system-helpers: upgrade 1.67 -> 1.68Richard Purdie2025-01-031-1/+1
| | | | | | (From OE-Core rev: e901a0f154fe6149b9cfb9b0e7b9289f31f441b9) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base-passwd: upgrade 3.6.5 -> 3.6.6Richard Purdie2025-01-038-8/+8
| | | | | | (From OE-Core rev: 29e96baca3916c2f686717e922c079a332b21970) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: add fido to PACKAGECONFIG optionsMikko Rapeli2024-12-231-0/+1
| | | | | | | | | | | | | | | | | To enable FIDO support. meta-oe can provide libfido2 but it depends on udev which creates a dependency loop between systemd (provider of udev) and libfido2 which is currently unresolved. systemd recipe could split udev to a separate recipe to solve this, or libfido2 could be compiled in systemd source tree after udev but before rest of systemd. (From OE-Core rev: 1e347c36b0d3910cd71b24a4e4ab8e2dd49063d1) Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: add apparmor PACKAGECONFIG supportMikko Rapeli2024-12-231-1/+2
| | | | | | | | | | For meta-security to enable with "apparmor" in DISTRO_FEATURES. (From OE-Core rev: 804b462b826edf04182c77b6405a52a1c9b9b1f6) Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* musl: Upgrade to latestKhem Raj2024-12-201-1/+1
| | | | | | | | | | | | | | | | | Brings following changes * 61399d4b loongarch64: add TLSDESC support * 9b6a24f9 wire up vdso clock_gettime for riscv32 and riscv64 * f2375aac wire up vdso clock_gettime for powerpc, powerpc64, and s390x * bc5f816a mips: use preferred asm mnemomic jr for better assembler compatibility * 4e6c827c mntent: exclude trailing newline from parsed field * 9929a571 arm: fix _init/_fini alignment in crti.o (From OE-Core rev: 77a1992eeda6cc6d6f52b50311fb4d98f6e58fc3) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cve-update-nvd2-native: Tweak to work better with NFS DL_DIRRichard Purdie2024-12-181-0/+2
| | | | | | | | | | | | | | | | After much debugging, the corruption issues on the autobuilder appear to be due to the way sqlite accesses database files. It doesn't change the file timestamp after making changes, which for reasons unknown, confuses NFS. As soon as the file is touched, NFS becomes fine again accross the whole cluster, as if by magic. We could try and debug further but putting a "touch" call into the code is easy and harmless. Lets hope this removes this annoying source of errors. (From OE-Core rev: f642edb006a8c16dbe45681afe547eabfae17073) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: update 2.82.2 -> 2.82.4Markus Volk2024-12-176-195/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - remove backported patches Overview of changes in GLib 2.82.4, 2024-12-11 ============================================== * Fix a double-unref crash which affects many apps which use pygobject to export objects on D-Bus (#3559, work by Sebastian Dröge, Philip Withnall) * Bugs fixed: - #3559 2.82.3 regression: lollypop crashes on startup (Philip Withnall) - !4430 Backport !4427 “Revert "gdbus: Fix leak of method invocation when registering an object with closures"” to glib-2-82 - !4434 Backport !4432 and !4433 “ci: Add release component to automate tarball publishing” to glib-2-82 Overview of changes in GLib 2.82.3, 2024-12-09 ============================================== * Fix compatibility with tzdata 2024b (#3502, work by Rebecca N. Palmer and Simon McVittie) * Bugs fixed: - #3502 Test regressions with tzdata 2024b (Rebecca N. Palmer) - !4357 Backport !4356 “gdatetime test: Do not assume PST8PDT was always exactly -8/-7” to glib-2-82 - !4370 Backport !4350 “glib: Don't require GLIB_DOMAIN to be a NUL-terminated string” to glib-2-82 - !4380 Backport !4378 “gio: Fix GFileEnumerator leaks in gio tools” to glib-2-82 - !4381 Backport !4373 “macos: Remove extraous space from type identifier” to glib-2-82 - !4388 Backport !4232 “refstring: Fix race between releasing and re-acquiring an interned GRefString” to glib-2-82 - !4397 Backport !4395 “appmonitor: Fix warning building test” to glib-2-82 - !4400 Backport !4398 “grefstring: Mark a variable as potentially unused” to glib-2-82 - !4417 Backport !4415 “gdbus: Fix leak of method invocation when registering an object with closures” to glib-2-82 (From OE-Core rev: 63a276d65a2cc34a8cd7756091f7f0b3908cf625) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: set CVE_PRODUCTMikko Rapeli2024-12-171-0/+2
| | | | | | | | | | | | | | | | systemd.inc is used by systemd, systemd-boot and systemd-tools-native recipes so make sure all match to "systemd" product in CVE database. The split between systemd, systemd-boot and systemd-tools-native is specific to oe-core and upstream just refers to systemd. Not limiting to "systemd_project" vendor since multiple vendor names have been used in the past. (From OE-Core rev: eb46ad379170f0a80ac2d061fa02c118f5ed1d31) Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: split networkd into its own packageAdrian Freihofer2024-12-171-3/+25
| | | | | | | | | | | | | | | | Support of images with different network management implementations without having to recompile systemd and other components. Fedora does this as well since systemd version 246.6-2: https://src.fedoraproject.org/rpms/systemd/blob/rawhide/f/systemd.spec#_578 This proves that it is technically possible and officially supported by systemd. (From OE-Core rev: 3664d14ef97281961d166f16e7d47996370e405d) Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dropbear: add dropbearkey.service to FILESAdrian Freihofer2024-12-171-0/+2
| | | | | | | | | | | | | | | dropbear.socket file contains: Also=dropbearkey.service That's why dropbearkey.service got automatically added to FILES. Since this incorrect auto adding feature gets dropped from systemd.bbclass this needs to be added explicitly. (From OE-Core rev: 4455e207a1ced3fb1d92b2f5e9335632bea08d15) Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: add klogd service to FILESAdrian Freihofer2024-12-171-1/+8
| | | | | | | | | | | | | | | busybox syslog.service file contains: Also=busybox-klogd.service That's why busybox-klog.service got automatically added to FILES:busybox-syslog. Since this incorrect auto adding feature gets dropped from systemd.bbclass this needs to be added explicitly. (From OE-Core rev: 60f1a82e25bd422fb1c380cd5b397718ab6dae13) Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to master head revision5.2_M1Richard Purdie2024-12-151-1/+1
| | | | | | (From OE-Core rev: e345b34703d4fa5e0bc9a82ac33b7c1fd84f99fe) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: upgrade 256.8 -> 256.9Wang Mingyu2024-12-154-1/+1
| | | | | | | (From OE-Core rev: 454cd1073bd5df167c284a34d6d1259263a859bb) Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: actively disable Predictable Network Interface Names if !pni-namesAlexander Sverdlin2024-12-121-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | Currently pni-names PACKAGECONFIG option adds "mac" names policy if selected, but nothing otherwise. In systemd Predictable Network Interface Names are applied by default which leads to inconsistend behaviour. One could think that pni-names in DISTRO_FEATURES would enable or disable Predictable Network Interface Names, but currently if not present it's only actively disabled for QEMU via kernel command line (commit 9e9c33d51e40 ("qemuboot/runqemu: Fix 6.2 and later kernel network device naming")). It has no effect on the real HW. If the option is present, it merely adds "mac" into default NamePolicy, which may or may not have observable effects. Make pni-names semantics more consistent by actively suppressing Predictable Network Interface Names if the feature is not present. (From OE-Core rev: 37b98bc93bc404823cc4bbf9039e4d114aac33fa) Signed-off-by: Alexander Sverdlin <alexander.sverdlin@siemens.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sysvinit: upgrade 3.04 -> 3.11Changqing Li2024-12-127-120/+52
| | | | | | | | | | | | | | | | | | | | | Refresh patches: crypt-lib.patch install.patch pidof-add-m-option.patch realpath.patch Drop patches since upstream already include these changes: 0001-hddown-include-libgen.h-for-basename-API.patch sysvinit_remove_linux_fs.patch Refer: https://github.com/slicer69/sysvinit/releases (From OE-Core rev: f325557ef41737e2fc76bb97cd629b497cba4317) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ovmf: update 202408 -> 202411Alexander Kanavin2024-12-125-33/+45
| | | | | | | | (From OE-Core rev: 6b420fc5212e7d02cc24942b74cc1307b97f6660) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd-compat-units: execute postinst on targetAlexander Kanavin2024-12-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | There is a race here where postinst relies on existence of various files from other packages on the target rootfs to operate properly, but doesn't ensure that it runs after all of those packages have been installed. Adding dependencies on those packages is not a solution as the recipe is not supposed to bring them into rootfs, only make adjustments if they are present. This commit moves postinst execution to the first boot; another solution would be to replace the whole recipe with ROOTFS_POSTPROCESS_COMMAND. This was exposed with rpm 4.20 which rearranges the order in which packages are installed, and exposes the issue. (From OE-Core rev: e88f22da19a7f3f9bf23f2a607ffde6b5b1a3265) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ttyrun: upgrade 2.35.0 -> 2.36.0Wang Mingyu2024-12-121-1/+1
| | | | | | | (From OE-Core rev: 4ce569996053b0e7c1ce0a63b03184576b8fd4dd) Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ell: upgrade 0.70 -> 0.71Wang Mingyu2024-12-121-1/+1
| | | | | | | (From OE-Core rev: 243897925417462efdf9057ccefe95b729d9705e) Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* musl: Update riscv syscalls till 6.10 kernelKhem Raj2024-12-092-0/+71
| | | | | | | | | | Some packages e.g. ffmpeg have started using __NR_riscv_hwprobe to detect Zba and Zbb at run-time. (From OE-Core rev: c564b3bc3277e3b5eed2eb3de1bfa391d9eb4ca8) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: remove custom rootlibexecdir and replace with nonarch_libdirRicardo Salveti2024-12-051-95/+91
| | | | | | | | | | | | The rootprefix build option was deprecated in systemd 255, making the custom rootlibexecdir unnecessary, so remove it in favor of the standard nonarch_libdir definition. (From OE-Core rev: c89b34401dfbe65de5a32bf8b4ef32902d868ce1) Signed-off-by: Ricardo Salveti <ricardo.salveti@oss.qualcomm.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: split long line in pkg_postinstRicardo Salveti2024-12-051-1/+2
| | | | | | | | | | | Cosmetic change only to avoid max line length patchset failures when changing the target line. (From OE-Core rev: c6267b247a53c7e1a6befd2f04b440fbf8918028) Signed-off-by: Ricardo Salveti <ricardo.salveti@oss.qualcomm.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: drop deprecated rootlibdir, rootprefix and split-usr optionsRicardo Salveti2024-12-051-10/+5
| | | | | | | | | | | | Support for split-usr and unmerged-usr were both removed as part of the systemd 255 release, so remove the current deprecated rootlibdir, rootprefix and split-usr options from the recipe. (From OE-Core rev: 94ec821600c36baaeeb81f3d2ce0cc6d2d22082a) Signed-off-by: Ricardo Salveti <ricardo.salveti@oss.qualcomm.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ncurses: Add alacritty terminfoPeter Delevoryas2024-12-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | This installs alacritty terminal info alongside other terminal emulator information. ``` $ ls /usr/share/terminfo/a alacritty ansi ansi80x25 ansis aterm ``` Alacritty is a relatively popular new terminal emulator. Without this, users need to use workarounds like `export TERM=xterm` to get terminal escape sequences to work (most of alacritty matches xterm/etc). Some true-color features do not work correctly with `TERM=xterm` though. (From OE-Core rev: 8ad986069f1d2e313b114efd54c73ff6f125d374) Signed-off-by: Peter Delevoryas <peter@pjd.dev> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* seatd: Create seat user and package systemd serviceKhem Raj2024-11-282-3/+10
| | | | | | | | | | | | | | With latest version seatd does not work properly if user access permissions are not correctly set, therefore create 'seat' group and package the seatd.service file and enable it by default with systemd distro feature set logind to systemd when using systemd as default init system (From OE-Core rev: 26746a02fc94b569f633d581b27a8634cfba38f5) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* default-providers: define keymaps virtual runtime providerPeter Marko2024-11-282-6/+0
| | | | | | | | | | | | VIRTUAL-RUNTIME_keymaps is defined in busybox init manager and also in some package groups. Defining distro features in recipes is wrong. Also this is not directly related to init manager. So move all these definitions to default-providers.inc (From OE-Core rev: 00f667bb5007a372950a137bf9e8b0e62f44f7d6) Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* init-manager: define dev_manager for all init managersPeter Marko2024-11-282-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | Currently VIRTUAL-RUNTIME_dev_manager is defined by some init managers with "??=" and in packagegroup-core-boot with "?=". This means that this variable is different in this package group and in all other the recipes. This was discovered when trying to use new feature INIT_MANAGER when migrating to scarthgap and using systemd distro. After deleting all VIRTUAL_RUNTIME providers defined in init-manager-systemd udev was installed additionally via packagegroup-core-boot. Having a distro settings overriden in single recipe is wrong and needs to be corrected. Therefore let's define the setting in all init managers and remove it from packagegroup-core-boot. core-image-tiny-initramfs has a dilemma - use busybox-mdev even if distro does not enable it in busybox recipe to keep the image tiny, or rather not install it even if distro enables it in busybox. This patch chooses the first option. (From OE-Core rev: 89e2652ac83f2602d6dd60623a225b88dc67d288) Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: upgrade 256.7 -> 256.8Wang Mingyu2024-11-274-1/+1
| | | | | | | (From OE-Core rev: 796f64dfc462b22b4ed240611f8ecbd2eb8fb399) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base-passwd: upgrade 3.6.4 -> 3.6.5Alexander Kanavin2024-11-278-16/+24
| | | | | | | (From OE-Core rev: aee2b70b635fe7a94cedd13433ba8d77cdb34d1c) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd-boot: drop intltool-native from DEPENDSGuðni Már Gilbert2024-11-251-1/+1
| | | | | | | | | | | intltool was dropped as a dependency in v236 See commit for reference: https://github.com/systemd/systemd/pull/7313/commits/c81217920effddc93fb780cf8f9eb699d6fe1319 (From OE-Core rev: c82a1b71fd21b4f1299c7610342c5d821de7f1bb) Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: drop intltool-native from DEPENDSGuðni Már Gilbert2024-11-251-1/+1
| | | | | | | | | | | intltool was dropped as a dependency in v236 See commit for reference: https://github.com/systemd/systemd/pull/7313/commits/c81217920effddc93fb780cf8f9eb699d6fe1319 (From OE-Core rev: bd7353f2794120bc2b88adfea0ee06361a0b7dd5) Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: handle llvm-objcopy behaviour when reading .note.dlopen sectionRoss Burton2024-11-231-3/+11
| | | | | | | | | | | | | | | | | | | | There are two behavioural differences between the objcopy in binutils and llvm which resulted in build failures when building systemd with clang: 1) If the section specified in --dump-section doesn't exist, binutils set an exit code of 0 whereas llvm sets 1. This means we need to handle the exit code so that we raise exceptions on unexpected failures, but return an empty byte string if the segment isn't found. 2) binutils writes the section to the file name directly, whereas llvm writes to a temporary file and renames. This means we can't read the open fd directly, and instead need to re-open the file to read it. (From OE-Core rev: 98879a8dbd1b7887b43a074193925bf1a55d44e7) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: upgrade 2.82.1 -> 2.82.2Guðni Már Gilbert2024-11-2116-46/+37
| | | | | | | | | | | https://gitlab.gnome.org/GNOME/glib/-/releases/2.82.2 Upgrade was performed using devtool (From OE-Core rev: c4e48010a49d575ca3b8ed78b68a269c77775fbe) Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: extract dependencies from .note.dlopen ELF segmentsRoss Burton2024-11-212-2/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | First, this is likely not the final implementation, but a RFC and prototype. Some binaries don't dynamically link to libraries, but instead at runtime dlopen() them. This means extra work for distributions as the dependencies are not detected automatically, so libraries may be missing. systemd is one such project which does this, and in an attempt to solve the packaging problem it also embeds the names of the libraries that can potentially be opened at runtime into ELF notes. These can be read to generate package dependencies. For example: packages/cortexa57-poky-linux/systemd/libsystemd-shared: RRECOMMENDS: added "libkmod (['>= 33']) libzstd (['>= 1.5.6'])" packages/cortexa57-poky-linux/systemd/libsystemd: RRECOMMENDS: added "libzstd (['>= 1.5.6'])" I expect this code to be changed before merging. Whilst systemd is the main user of his approach right now, I expect to see it used in more places in the future so there's a reasonably good argument to merge it into the core shlibs code. Also it currently manually extracts and parses the data, whereas maybe we should incorporate pyelftools into meta/lib/oe and use that to parse ELF files across all of OE. This also means we can remove the explicit dependency on libkmod in udev, which now comes in via libsystemd-shared. (From OE-Core rev: 905da779bcfe98f105adac708e0045ce8ffe5636) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: wrap mtime based time with packageconfigDaniel McGregor2024-11-211-1/+3
| | | | | | | | | | | | | | | | | | Recently the systemd recipe grew support for setting the epoch time at image build time. Unfortunately this is unconditional, and our use case for the set-time-epoch PACKAGECONFIG is we have a system requirement that our product boot with the time set to the UNIX epoch. Instead of trying to complicate things with either an image hook or overriding the systemd recipe, just make setting the epoch at image time optional, with the same PACKAGECONFIG that controls hardcoding the systemd build time as the default epoch. (From OE-Core rev: ae433b35fb2d5475e33dea61e6bc65d83d3af56a) Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxml2: upgrade 2.13.4 -> 2.13.5Guðni Már Gilbert2024-11-192-3/+3
| | | | | | | | | | | | | | | | | | | | | https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.13.5 Regressions * xmlIO: Fix reading from non-regular files like pipes * xmlreader: Fix return value of xmlTextReaderReadString * parser: Fix loading of parameter entities in external DTDs * parser: Fix downstream code that swaps DTDs * parser: Fix detection of duplicate attributes * string: Fix va_copy fallback Bug fixes * xpath: Fix parsing of non-ASCII names (From OE-Core rev: c6dc275850d5a98803eee7d4712bb66b19051c82) Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cve-update-nvd2-native: Handle BB_NO_NETWORK and missing dbMark Hatle2024-11-191-0/+5
| | | | | | | | | | | | | | | | | The custom do_fetch routine is ignoring BB_NO_NETWORK, add a check for this as the correct behavior for the user is to set: CVE_DB_UPDATE_INTERVAL = "-1" If CVE_DB_UPDATE_INTERNAL is set to -1, check that a DB file exists, if not we need to error so the user can deal with this. Note, MIRRORs are NOT handled by this code. (From OE-Core rev: 337c0806d2784d74bee8d6420fb8b4d48795d5fa) Signed-off-by: Mark Hatle <mark.hatle@amd.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: set better sane time at startupGaël PORTAY2024-11-191-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When systemd is started, it sets the system clock to epoch to ensure the system clock is reasonably initialized if no working RTC. As init process, systemd sets epoch very early to the more recent timestamp of[1]: - the build time of systemd (-Dtime-epoch) - the modification time ("mtime") of /var/lib/systemd/timesync/clock (systemd-timesyncd) - the modification time ("mtime") of /usr/lib/clock-epoch (systemd) The first epoch timestamp is hard-coded at build-time by the systemd recipe (using either SOURCE_DATE_EPOCH, git-tag, or NEWS modification time[2]). The second epoch timestamp is maintained at run-time if the system runs systemd-timesyncd. This implements the third epoch timestamp at image build-time, by touching the timestamp file /usr/lib/clock-epoch from the package post-install script. [1]: https://github.com/systemd/systemd/commit/863098fdc9cd91e4f760085356ac02c4b7ba6df1 [2]: https://github.com/systemd/systemd/blob/v256/meson.build#L804-L825 (From OE-Core rev: 0f51fee4a5408c17cbaf827053f13d6c3b9dbc2c) Signed-off-by: Gaël PORTAY <gael.portay+rtone@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* seatd: upgrade 0.8.0 -> 0.9.1Wang Mingyu2024-11-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | Changelog: =========== - libseat could end up not servicing seat enable/disable events if they were received immediately after a response, leading to the session deadlocking in a deactivated state. - Some protocol strings lacked validation of the NULL termination requirement. - libseat/seatd: Remove read_and_execute - libseat/seatd: Read remaining events after processing responses - libseat/seatd: Cleanup of request error handling - libseat/seatd: Set EINVAL if target session is invalid - libseat/seatd: Set backend error if poll fails - seatd: Add validation of device path libseat/seatd: Add validation of seat_name - seatd: Add strict message size comparison (From OE-Core rev: ff226ea917a891f04bd4b18419d2773f99431709) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ell: upgrade 0.69 -> 0.70Wang Mingyu2024-11-181-1/+1
| | | | | | | | | | | Changelog: Add support for helper function for safe memcpy. (From OE-Core rev: 7a4494ceb44498177dbb901bc5338f84474a3dd4) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dropbear: upgrade 2024.85 -> 2024.86Wang Mingyu2024-11-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ========= - Fix failure on concurrent channel open/close. - Print remote host after "Login attempt for nonexistent user" log entry to assist fail2ban. - Dropbear now exits with exit status 0 on SIGINT/SIGTERM. This is a more graceful behaviour for "systemctl stop dropbear". - New IDENT_VERSION_PART config allows customising some of the SSH version string. - Fix building SK_KEYS with just one of ECDSA or ED25519 - Fix dbclient "-m help" and "-c help" without a hostname. - Remove fprintf/gettimeofday from sigchld handler when running with verbose trace enabled. - Improved configure help output - Compile fix for GNU Hurd - Support running test_aslr without venv - Compilation fixes for older compilers, and better build tests - Update some test infrastructure versions of python packages, github actions, and github runner OSes (From OE-Core rev: 86d99c7c9ace24bff035d38e33f184e2a2f7c4a6) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: stable 2.40 branch updateDeepthi Hemraj2024-11-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Below commits on glibc-2.40 stable branch are updated. efb710034e linux: sparc: Fix clone for LEON/sparcv8 (BZ 31394) 2344580243 Mitigation for "clone on sparc might fail with -EFAULT for no valid reason" (bz 31394) 3a34851103 elf: Change ldconfig auxcache magic number (bug 32231) 85e5850f2f Make tst-strtod-underflow type-generic 5c06c6e0b5 libio: Set _vtable_offset before calling _IO_link_in [BZ #32148] cc256952ec Add tests of more strtod special cases 8f40dfbe2a Add more tests of strtod end pointer 4a9b6cdc88 Make tst-strtod2 and tst-strtod5 type-generic 5a10d05c39 powerpc64le: Build new strtod tests with long double ABI flags (bug 32145) c4cc72d2ef Do not set errno for overflowing NaN payload in strtod/nan (bug 32045) ad93c2047d Improve NaN payload testing cac10d88c6 Make __strtod_internal tests type-generic d0c1792ad2 Fix strtod subnormal rounding (bug 30220) e06153665f More thoroughly test underflow / errno in tst-strtod-round 9bc76c7ca4 Test errno setting on strtod overflow in tst-strtod-round 61b6464f8d Add tests of fread 77018fd9f9 stdio-common: Add new test for fdopen Testresults: After update |Before update |Difference PASS: 5005 |PASS: 5002 |PASS: 3 FAIL: 166 |FAIL: 167 |FAIL: -1 XPASS: 4 |XPASS: 4 |XPASS: 0 XFAIL: 16 |XFAIL: 16 |XFAIL: 0 UNSUPPORTED: 229|UNSUPPORTED: 229|UNSUPPORTED: 0 (From OE-Core rev: 3ae9098c8c4cdc635cc449190f340dc20d6e7318) Signed-off-by: Deepthi Hemraj <Deepthi.Hemraj@windriver.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* expat: upgrade 2.6.3 -> 2.6.4Peter Marko2024-11-121-1/+1
| | | | | | | | | Handle CVE-2024-50602 (From OE-Core rev: 5dc22afe3d2ea767f084b7c6e3625cb6edd66522) Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: don't use deprecated meson option valuesRoss Burton2024-11-121-37/+37
| | | | | | | (From OE-Core rev: 853414760741530356355826b97f14c95a2144e4) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: explicitly disable sysprofRoss Burton2024-11-121-1/+1
| | | | | | | | | | We can't build this combination right now because of a circular dependency, but it's good to make it explicit. (From OE-Core rev: 736be249c56fd9a603dbb8ece77612928bb25ce9) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: don't use deprecated Meson option valuesRoss Burton2024-11-121-1/+2
| | | | | | | | | true/false for these options is deprecated, use enabled/disabled. (From OE-Core rev: 9f3fbfb04d2a6e2d0dab63be0f04a539c4a803ed) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>