summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
Commit message (Collapse)AuthorAgeFilesLines
* images: remove redundant IMAGE_BASENAME assignmentsRoss Burton2023-12-092-2/+0
| | | | | | | | | | | | | | | | | | core-image-tiny-initramfs and core-image-testcontroller-initramfs just repeat PN, which is the default value. core-image-minimal-initramfs adds MLPREFIX, but that's also covered by PN: $ bitbake-getvar -r lib32-core-image-minimal-initramfs IMAGE_BASENAME IMAGE_BASENAME="lib32-core-image-minimal-initramfs" As these assignments are all redundant, remove them. (From OE-Core rev: 68c2c9e9383fcd60434b101e7b7d7e811369dc0c) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdb/systemd: enable minidebuginfo support conditionallyEtienne Cordonnier2023-12-061-0/+1
| | | | | | | | | | | | | | Enabling minidebuginfo is not useful if gdb and systemd-coredump are unable to parse it. In order to parse it, gdb needs xz support. Systemd needs coredump enabled, as well as elfutil enabled as well (systemd-coredump loads libdw which is part of elfutils using dlopen). (From OE-Core rev: 0d2df803bebfd7e832ab7da54c4dacaaeeb424a9) 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>
* gettext: Upgrade 0.22.3 -> 0.22.4Robert Yang2023-12-063-1/+1
| | | | | | | | | | | | | | From NEWS: Version 0.22.4 - November 2023 * Bug fixes: - AM_GNU_GETTEXT now recognizes a statically built libintl on macOS and AIX. - Build fixes on AIX. (From OE-Core rev: 9add9e7b0da99b1530fcc12d3f8e6705a4af15fc) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ell: upgrade 0.60 -> 0.61Zang Ruochen2023-12-061-1/+1
| | | | | | | | (From OE-Core rev: f3e59827e86ae9dccd1dc0a2c5d544d14f591558) Signed-off-by: Zang Ruochen <zangruochen@loongson.cn> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* psplash: upgrade to latest revisionYi Zhao2023-12-061-1/+1
| | | | | | | | | | * ecc19137 SECURITY.md: Add file (From OE-Core rev: 866113b42bacc8fa571f0cc51e18385d864ec7b7) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eudev: Upgrade 3.2.12 -> 3.2.14Alex Kiernan2023-12-043-108/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Drop merged patches: 0001-Export-dummies-for.patch 0002-Bump-udev-version-to-251.patch Boian Bonev (13): Update as per IRC discussion Bump udev version to 251 Export dummies for bump version to 3.2.14 Fix := not preventing further assignments to RUN Add /usr/local/lib/udev/rules.d Move the changes from udev.7 to udev.xml Regenerate according to 0cf14fb and e5e4013 Improve wording and restore lines lost in merges Improve wording Tabs to spaces Ensure that standard file descriptors are open Commit the generated man page NaofumiHonda (1): Clear sysattr cache if a null pointer is passed (#255) Vivien Kraus (6): Let libudev find hwdb.bin under UDEV_HWDB_BIN Add a generic --output argument to udevadm hwdb Dynamically get the udevadm hwdb files with a path variable fixup! Dynamically get the udevadm hwdb files with a path variable Remove references to /run/udev/hwdb.d Clarify the /etc/udev/hwdb.d file override with respect to UDEV_HWDB_PATH (From OE-Core rev: 2e0f552cac05c2b9f5a80ac396374a7987238a34) Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd-boot: Fix build issues on armv7a-linuxViswanath Kraleti2023-12-042-0/+39
| | | | | | | | | | | | | | Backport a fix to address the build failure on armv7a introduced in systemd v254-rc1. see https://github.com/systemd/systemd/issues/29381 (From OE-Core rev: 782790dc6423fe3ae1ce4cd674ab492bfc881230) Signed-off-by: Viswanath Kraleti <quic_vkraleti@quicinc.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* init-system-helpers: upgrade 1.65.2 -> 1.66Wang Mingyu2023-12-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ========== * d/init.lintian-overrides: Silence warning about "Important" field 'Important: yes' instructs APT to warn the user before removing this package. * script/update-rc.d: DPKG_ROOT support for sysvinit * Add "Protected: yes" to package "init" The "Protected" field does the same as "Important" already did in apt, but is also understood by dpkg (since dpkg 1.20.1). * Bump Standards-Version to 4.6.2, no changes * Override Lintian warning for Protected: yes * deb-systemd-invoke: support reload/reexec. This is useful for the --user case, to provide a shortcut that loops over all active user sessions over D-Bus. * deb-systemd-invoke: support --no-dbus for reload/reexec. Provide common implementation for SIGHUP/SIGRTMIN+25 to reload/reexec the system or user instances. (From OE-Core rev: 1d3af466f58dc1e5299c55f7ad6179128da3a553) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gettext: Upgrade 0.22 -> 0.22.3Robert Yang2023-12-023-1/+1
| | | | | | | | (From OE-Core rev: 8c53a58ac6790aa2296f14a7a5d0d67ede1055da) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cve-update-nvd2-native: make number of fetch attemtps configurablePeter Marko2023-12-021-3/+7
| | | | | | | | | | | | | | | | Sometimes NVD servers are unstable and return too many errors. Last time we increased number of attempts from 3 to 5, but further increasing is not reasonable as in normal case too many retries is just abusive. Keep retries low as default and allow to increase as needed. (From OE-Core rev: 6b6fd8043d83b99000054ab6ad2c745d07c6bcc1) Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cve-update-nvd2-native: remove unused variable CVE_SOCKET_TIMEOUTPeter Marko2023-12-021-3/+0
| | | | | | | | | | This variable is not referenced in oe-core anymore. (From OE-Core rev: 905b45a814cb33327503b793741c19b44c8550b3) Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: fixed typoJan Vermaete2023-12-011-1/+1
| | | | | | | | (From OE-Core rev: 2ffecdbfa3be53e2a36d9d54b19230f8c1f84c6c) Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* core-image-minimal-initramfs: don't install a kernel into the initramfsRoss Burton2023-11-301-0/+3
| | | | | | | | | | | | | | There's obviously no point in installing a kernel into an initramfs, but if we install kernel modules then they'll recommend the relevant kernel. Set PACKAGE_EXCLUDE to ensure the initramfs for a kernel doesn't contain the kernel. (From OE-Core rev: 2914e6a912c9aa014a05015c3401675d10c0f13b) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: stable 2.38 branch updatesSundeep KOKKONDA2023-11-301-1/+1
| | | | | | | | | | | | | Below commits on glibc-2.38 stable branch are updated. 1e04dcec49 Revert "elf: Move l_init_called_next to old place of l_text_end in link map" 719866ab2f Revert "elf: Always call destructors in reverse constructor order (bug 30785)" e0b6c9706c Revert "elf: Remove unused l_text_end field from struct link_map" (From OE-Core rev: c14832a8cd40171e4081aadb613de185ae233851) Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: install gio-querymodules into bindir as well as libexecdir for nativeAlexander Kanavin2023-11-301-0/+5
| | | | | | | | | | | | Latest meson expects it there and fails if it can't find it; meanwhile we patch glib to put it into libexecdir for reasons of avoiding incorrect debian package renaming in multilib scenarios. (From OE-Core rev: cd530108e1b31ff3dff9e677e8e5af920e6609aa) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: Enable utmp support on musl systemsKhem Raj2023-11-301-1/+0
| | | | | | | | | | | | | runlevel misc applet is enabled when using init feature from busybox however this applet does not build right now because it depends on utmp feature and its disabled for musl systems. runlevel is used by update-rd.d tool during system maintenance e.g. opkg upgrade etc. (From OE-Core rev: de62069c32fedd094c279b99b2ff389c7e0012aa) 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>
* ell: upgrade 0.59 -> 0.60Wang Mingyu2023-11-301-1/+1
| | | | | | | | | | | | | | Changelog: ========== -Fix issue with missing NETLINK_EXT_ACK definition. -Fix issue with incorrect derivation of ECC compressed points. -Add support for ECC usage from SPAKE2+ key exchange protocol. (From OE-Core rev: 9b13c1ffadda0893561e804d2ab789bf1c401d3a) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd-compat-units.bb: fix postinstall scriptMichael Opdenacker2023-11-271-1/+2
| | | | | | | | | | | | | | | | | | This fixes an issue running "opkg upgrade" on a system with systemd (and when there is an update to "systemd-compat-units", for example between yocto 4.2.2 and 4.2.3): //var/lib/opkg/info/systemd-compat-units.postinst: cd: line 3: can't cd to /etc/init.d: No such file or directory The existence of /etc/init.d is now tested without causing an error if doesn't exist. Fixes [YOCTO #15292] (From OE-Core rev: 0330331a1386fd2a34b410a7f62b29bfc8dc23c4) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ovmf: drop PE, PR from /usr/src/debug pathsMartin Jansa2023-11-201-1/+1
| | | | | | | | (From OE-Core rev: d12ee54263e3a2ed8b1a84b72a2a1423fe09c3cf) 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>
* glibc: use nonarch libdir for tmpfiles.dStefan Herbrechtsmeier2023-11-201-4/+4
| | | | | | | | | | | | | | | The documentation of systemd states that /etc/tmpfiles.d should be reserved for the local administrator and packages should put their files in /usr/lib/tmpfiles.d [1]. [1] https://www.freedesktop.org/software/systemd/man/tmpfiles.d.html (From OE-Core rev: e2bebef14a64c510b8f5b0a21f15347d6919c218) Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com> Signed-off-by: Lukas Funke <lukas.funke@weidmueller.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: use nonarch libdir for tmpfiles.dMalte Schmidt2023-11-201-2/+2
| | | | | | | | | | | | | | | | The documentation of systemd states that /etc/tmpfiles.d should be reserved for the local administrator and packages should put their files in /usr/lib/tmpfiles.d [1]. [1] https://www.freedesktop.org/software/systemd/man/tmpfiles.d.html (From OE-Core rev: ee162bc2f5fccb5aab6adb48d0f449991b1a6a51) Signed-off-by: Malte Schmidt <malte.schmidt@weidmueller.com> Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com> Signed-off-by: Lukas Funke <lukas.funke@weidmueller.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnomebase.bbclass: Use meson as default buildsystemMarkus Volk2023-11-132-1/+1
| | | | | | | | | | | | | | | The vast majority of gnome recipes uses meson. Set it as default and override the few recipes that still use autotools. This way we can remove a lot of lines in meta-oe and more important it would not be needed to explicitly set GNOMEBASEBUILDCLASS = "meson" for newly created gnome recipe anymore. (From OE-Core rev: 8b061ea36f8b94b482c5867fe2ba7213288a5aa3) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Add 'no-ntp-fallback' PACKAGECONFIG optionMarkus Fuchs2023-11-101-0/+1
| | | | | | | | | | | | | | | systemd defines a default set of fallback NTP servers in https://github.com/systemd/systemd/blob/v254/meson_options.txt#L343-L345 A no-dns-fallback option was added previously to comfortably allow to disable the default set of DNS fallback servers. This patch does the same for the default set of NTP servers. (From OE-Core rev: c9d612e9f12c2bebcc77410943150f19aae5850a) Signed-off-by: Markus Fuchs <mklntf@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev-extraconf: mount.sh: check if filesystem is supported before mountingLukas Funke2023-11-101-0/+15
| | | | | | | | | | | | | Check if the filesystem is supported by the kernel before trying to mount it. Systemd-mount will mount the directories asynchronously resulting in stale directories if the devices filesystem is not supported. (From OE-Core rev: 695e0a41e3c1cb47484605934a57e7df591bd19f) Signed-off-by: Lukas Funke <lukas.funke@weidmueller.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: update LICENSE statementMassimiliano Minella2023-11-091-1/+2
| | | | | | | | | | | | | | | | | | | | As stated in the LICENSES/README.md "Unless otherwise noted, the systemd project sources are licensed under the terms and conditions of the GNU Lesser General Public License v2.1 or later", so replace LGPL-2.1-only with LGPL-2.1-or-later. With the exception of some udev sources that are licensed under GPL-2.0-or-later (but are packaged separately), the project is licensed under LGPL, and all the components are LGPL or under LGPL compatible licenses. The package libsystemd is currently under the main package license, which can cause problems when scanning for GPL software linked to CLOSED one. Add more granularity by setting a license for libsystemd to LGPL-2.1-or-later. (From OE-Core rev: 54975f4b2184fe12c4995c289eba8358958e6c21) Signed-off-by: Massimiliano Minella <massimiliano.minella@se.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Make libnss-mymachines conditional upon packageconfigKhem Raj2023-11-081-1/+1
| | | | | | | | | | | | | | | nss-mymachines packageconfig controls this features therefore add this dependency only when it is enabled. Fixes ERROR: systemd-1_254.4-r0 do_package_qa: QA Issue: systemd-container rdepends on libnss-mymachines, but it isn't a build dependency? [build-deps] (From OE-Core rev: 40f2e5776ebf6cf93694d05189488e8448767b3a) Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Florian Wickert <fw@ferncast.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: upgrade 2.78.0 -> 2.78.1Wang Mingyu2023-11-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ========= * Fix truncating files when "g_file_set_contents_full()" is called without "G_FILE_SET_CONTENTS_CONSISTENT" * Fix "-Dlibelf=disabled" on Linux * Bugs fixed: - #3105 NetworkManager 1.44.0 crashes repeatedly with glib 2.78.0 - #3111 gsubprocess-testprog.c: build error with cygwin (sys/ptrace.h: No such file or directory) - #3116 gio clears modification time in microseconds when setting with "set_modification_date_time" - #3120 Build of glib 2.78.0 ignores -Dlibelf=disabled - #3128 glib-2.78.0 fails at gio/tests/gsubprocess.p/gsubprocess.c.o - #3130 Segfault when creating GIO GPropertyAction without properties - #3144 "g_file_set_contents_full()" doesn't truncate the file (without "G_FILE_SET_CONTENTS_CONSISTENT") - !3576 guniprop.c: Avoid creating (temporarily) out-of-bounds pointers - !3579 Fixes for integer cast warnings when targeting CHERI - !3580 Fix test_find_program on FreeBSD - !3589 gconstructor.h: Ensure [c|d]tor prototypes are present for MSVC - !3594 Fix gutils-user-database test on macOS - !3596 Add value annotation to G_TYPE_FUNDAMENTAL_MAX - !3601 meson: Fix Windows build with PCRE2 as sibling subproject - !3604 Backport !3589 "gconstructor.h: Ensure [c|d]tor prototypes are present for MSVC" to glib-2-78 - !3608 Backport !3587 "glocalfileinfo: Preserve microseconds for access/modify times" to glib-2-78 - !3609 Backport !3607 "Make sure the "GTask" is freed on a graceful disconnect" to glib-2-78 - !3614 Backport !3582 "Buffer needs to be aligned correctly to receive linux_dirent64." to glib-2-78 - !3616 Backport !3590 "gtestutils.h: Fix warning with -Wsign-conversion caused by g_assert_cmpint" to glib-2-78 - !3619 Backport !3617 "tests: Drop unnecessary include from gsubprocess- testprog.c" to glib-2-78 - !3622 Backport !3621 "wakeup: do single read when using eventfd()" to glib-2-78 - !3625 Backport !3624 "wakeup: Fix g_wakeup_acknowledge if signal comes in" to glib-2-78 - !3644 Backport !3633 "Use g_task_return in task threads" to glib-2-78 - !3649 Backport !3648 "build: Fix -Dlibelf=disabled on Linux" to glib-2-78 - !3659 Backport !3650 "gfileutils: Add a missing ftruncate() call when writing files" to glib-2-78 (From OE-Core rev: 2a2df44ef1b413f1ae268a69e36ca796fc8c9d0b) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base-passwd: upgrade 3.6.1 -> 3.6.2Wang Mingyu2023-11-052-37/+1
| | | | | | | | | | | 0006-Make-it-possible-to-configure-whether-to-use-SELinux.patch removed since it's included in 3.6.2 (From OE-Core rev: f318a13e8b6ce3ded313fa17ab80b35b936205fb) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: fix DynamicUser issueChen Qi2023-11-051-7/+23
| | | | | | | | | | | | The DynamicUser needs libnss-systemd to be installed to function well. The tweaks to nsswitch.conf should be conditional on PACKAGECONFIG values. (From OE-Core rev: ba3a78c08cb0ce08afde049610d3172b9e3b0695) 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>
* glib-2.0: Remove unnecessary assignementRouven Czerwinski2023-11-051-5/+0
| | | | | | | | | | FILES:${PN}-utils is += extended and than replaced completely later, remove the first extension. (From OE-Core rev: d9d61c5217938749e3edc5f8a5c987f46bbab3d7) Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: fix libnss-mymachines packagingFlorian Wickert2023-11-051-1/+2
| | | | | | | | | | | | | | | | | | | By removing libnss_mymachines.so.2 from FILES:${PN}-container it correctly gets packaged into libnss-mymachines, just like the other libnss-* components, due to PACKAGES_DYNAMIC. To make up for the missing lib in the container package, I added libnss-mymachines to RDEPENDS:${PN}-container. As I understand it, the lib should be installed even without this if anything from the container package links against it. But since I don't know if there was a special reason to explicitly add it to the container files list, like something using dlopen to load the lib, it seemd to be the safest option. (From OE-Core rev: 90f143984732ba0453c2d3a734eeb4d1a289269b) Signed-off-by: Florian Wickert <fw@ferncast.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libcroco: drop recipeMarkus Volk2023-10-302-322/+3
| | | | | | | | | | | libcroco has been deprecated and was archived by the gnome-project https://gitlab.gnome.org/Archive/libcroco (From OE-Core rev: d53c1aca794ce256b057d63a9a8eaae5bf71fae5) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* volatile-binds: Calculate the name of the /var/lib serviceStéphane Veyret2023-10-301-9/+9
| | | | | | | | | | | | | | | | By default, /var/lib is bind mounted on /var/volatile/lib. If this is the case, the recipe adds conditions on systemd-random-seed in the service file mounting it. But as the VOLATILE_BINDS may be modified, /var/lib may be mounted elsewhere, for example in /persistent/var/lib. In this case, the conditions are not set because the service file name does not match expected one. This patch automatically records the name of the service mounting /var/lib, if any, in order to set the condition in the appropriate file. (From OE-Core rev: 66f0c2a1678cb69cf8d50372b0592c55e2dc3e3c) Signed-off-by: Stéphane Veyret <sveyret@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* volatile-binds: Allow creation of subdirectoriesStéphane Veyret2023-10-301-1/+2
| | | | | | | | | | | | | The mount-copybind script will create the parent directory of the bind mount if it does not exist. But actually, if this is the case, the service will not even start because of the ConditionPathIsReadWrite. This patch adds a "or" condition to allow the service to start also if the parent directory of the bind mount does not exist. (From OE-Core rev: 1ca031b77546056ca1994469b0f2e93ea2018edf) Signed-off-by: Stéphane Veyret <sveyret@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* zlib: ignore CVE-2023-45853Ross Burton2023-10-261-0/+2
| | | | | | | | | This CVE relates to a bug in the minizip tool, but we don't build that. (From OE-Core rev: a32f285501b459cfe18e3135a3c531b63f58034c) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxml2: ignore disputed CVE-2023-45322Ross Burton2023-10-261-0/+3
| | | | | | | | | | | | | | | | This CVE is a use-after-free which theoretically can be an exploit vector, but this UAF only occurs when malloc() fails. As it's unlikely that the user can orchestrate malloc() failures at just the place to break on _this_ malloc and not others it is disputed that this is actually a security issue. The underlying bug has been fixed, and will be incorporated into the next release. (From OE-Core rev: b93dd888b861aa6df97cd78b70fa9f757cfcdf61) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: add option to use stub-resolv.confEero Aaltonen2023-10-231-2/+5
| | | | | | | | | | | | | | | Add option to use the stub-resolv.conf file, which is the systemd upstream's recommended default mode https://www.freedesktop.org/software/systemd/man/systemd-resolved.service.html#/etc/resolv.conf This enables the resolution of Multicast DNS and Link-Local Multicast Name Resolution names for programs that do not use Name Service Switch. (From OE-Core rev: dfa541ee4ffab5c43ac4b3f23552b7f9db5cb362) Signed-off-by: Eero Aaltonen <eero.aaltonen@vaisala.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base-files, systemd: add nss-resolve pluginEero Aaltonen2023-10-233-0/+36
| | | | | | | | | | | | | | | Add nss-resolve plugin to the glibc Name Service Switch (NSS) with systemd-resolved DISTRO_FEATURE so that systemd-resolved is used in DNS name resolution. This enables the resolution of Multicast DNS and Link-Local Multicast Name Resolution names, depending on the selected options. (From OE-Core rev: 81da1d6eecee9fd036121298abba6fdcffc3969d) Signed-off-by: Eero Aaltonen <eero.aaltonen@vaisala.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: add p11kit package configJose Quaresma2023-10-191-0/+1
| | | | | | | | (From OE-Core rev: c7da674ffdfe6b4f02b548940bf4598458b58879) Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: add cryptsetup-plugins package configJose Quaresma2023-10-191-0/+1
| | | | | | | | (From OE-Core rev: 81480329a32669107df67abfd3b72a265ca5a503) Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: add systemd-crypt packageJose Quaresma2023-10-191-1/+6
| | | | | | | | (From OE-Core rev: c8c615329ad62a28c0762e79e7f11216f9bd88db) Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: sort packages before pnJose Quaresma2023-10-191-7/+7
| | | | | | | | (From OE-Core rev: 0618a99b24ea0bd8856d2e44dfb7301de8b11e5d) Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base-files: Remove localhost ::1 from hosts if ipv6 missingJörg Sommer2023-10-191-0/+4
| | | | | | | | | | | If a distribution doesn't provide IPv6, the mapping of localhost and ::1 has to be removed. (From OE-Core rev: c3d9cff06f383528884bfb5c4f8a6a6cb023977a) Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base-files: profile: allow profile.d to set EDITORJohannes Schneider2023-10-191-4/+12
| | | | | | | | | | | | | | | | | With a profile.d configuration in place that sets the EDITOR variable, the automatic terminal 'resize' logic would not trigger. Which then would possibly lead to a 80x24 fallback on the debug serial console. This can simply be avoided by setting a flag variable when the shell is first opened, then processing all profile.d includes, trigger the 'resize' depending on the flag and shell-level and finally only set EDITOR to some default if it is still unset. (From OE-Core rev: dcdb30c83eb77fb2d5ea04f9b7fd7371da633a34) Signed-off-by: Johannes Schneider <johannes.schneider@leica-geosystems.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ell: upgrade 0.58 -> 0.59Wang Mingyu2023-10-191-1/+1
| | | | | | | | | | | Changelog: Fix issue with symbol visibility. (From OE-Core rev: 14eba663b56f8f3b9c3aff5661cbe2aa7befe86e) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* packagegroup-core-tools-profile: Remove PROFILE_TOOLS_XFabio Estevam2023-10-191-4/+0
| | | | | | | | | | | | | Since commit d085e70eeedb ("sysprof: move recipe to meta-oe") PROFILE_TOOLS_X is always set to an empty string. Remove PROFILE_TOOLS_X as it is no longer needed. Reported-by: Robert P. J. Day <rpjday@crashcourse.ca> (From OE-Core rev: cf767f4f4aaaf7c568816675c1c811132a892e30) Signed-off-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to master head revisionRichard Purdie2023-10-171-1/+1
| | | | | | (From OE-Core rev: 4f84537670020a8d902248479efa9f062089c0d3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcompat: Upgrade to 1.1.0 releaseKhem Raj2023-10-162-63/+3
| | | | | | | | | | | | | | | | | | | | | | | License-Update: Updated copyright years and contibutors [1] Brings following changes * b7bfe0b Update documentation for 1.1 release * f0de9c6 CHANGELOG: Add pthread section * 36f21a6 pthread: add pthread_mutexattr_[get|set]kind_np * f23fb58 stdio: Hook fopen(3) to intercept /proc/self/exe * 158f2b5 Update CHANGELOG for 1.1 * 4a4c840 fix path-searching for execvp * 9dbbddc sysctl: Add __getauxval alias * fbdd06c misc: add __libc_single_threaded * f727ab7 locale: also override __newlocale/__duplocale * 244110e random_r: fix null dereference when passed uninitialized buf [1] https://git.adelielinux.org/adelie/gcompat/-/commit/b7bfe0b08c52fdc72e0c1d9d4dcb2129f1642bd6#0398ccd0f49298b10a3d76a47800d2ebecd49859 (From OE-Core rev: 6f123655c71992d75746e662a6b757de4a57cce7) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcompat: Add fcntl64 wrapperKhem Raj2023-10-162-0/+45
| | | | | | | | | Needed by pvr mesa drivers (From OE-Core rev: e6efe08c5aa419db5c865a14116d137ff37db221) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox-inittab: fix console handlingRoss Burton2023-10-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | A testing failure meant that the inittab changes made in 6c65544 didn't actually work. A copy-paste problems meant that start_getty was being invoked instead of getty, but start_getty is sysvinit-inittab-specific. Revert this inittab to calling getty directly. Remove the terminal type, this wasn't specified in the original inittab. Busybox's init has non-standard behaviour for the inittab's ID field. With SysV this is a four-character identifier and nothing more, but with busybox init this is the controlling terminal (minus /dev). If the terminal doesn't exist then busybox doesn't gracefully handle the failure but instead repeatedly fails to spawn. As getty will immediately issue a setsid() this isn't needed for getty entries, so the ID can be empty and ttyrun does the terminal detection. (From OE-Core rev: 71202782a06ed1f0a17e00072b74b21195f2f5f9) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>