summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/systemd
Commit message (Collapse)AuthorAgeFilesLines
* systemd: Refresh patches to avoid patch-fuzzKhem Raj2023-09-273-90/+31
| | | | | | | | (From OE-Core rev: eb8a86fee9eeae787cc0a58ef2ed087fd48d93eb) 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>
* systemd: Drop two upstreamed musl patchesKhem Raj2023-09-274-158/+0
| | | | | | | | (From OE-Core rev: 7eea9e63a155c9ed30706cc7926a6728d629bd5e) 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>
* systemd: upgrade 254 -> 254.4Alexander Kanavin2023-09-264-74/+2
| | | | | | | | (From OE-Core rev: d665cd001a1ca69e2c25bebed377b9dd47e0064f) 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>
* recipes: Drop remaining PR values from recipesRichard Purdie2023-09-224-4/+0
| | | | | | | | | | | | | | | | We've been removing PR values from recipes at upgrade time for a while. In general anyone maintaining a binary distro would end up having to curate these themselves so the values in OE-Core aren't really that useful anymore. In many ways it makes sense to clear out the remaining ones (which are mostly for 'config' recipes that are unlikely to increase in PV) and leave a clean slate for anyone implementing a binary distro config. References are left in meta-selftest since the tests there do involve them and their removal upon upgrade. (From OE-Core rev: d4c346e8ab8f3cae25d1b01c7331ed9f6d4f96ef) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd-boot: remove old gummiboot TUNE_CCARGSJose Quaresma2023-09-021-3/+0
| | | | | | | | | | | | Looks like this only is required when build with clang toolchain and the fix is alredy merged [1] on meta-clang. [1] https://github.com/kraj/meta-clang/commit/83c94b8690f0a2922d28d0db9907c722382263c2 (From OE-Core rev: 6448af4940f6c67bca7224ab44d2adf30dc82b35) Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd-boot: improve cross file generationRoss Burton2023-08-211-4/+3
| | | | | | | | | | | | | | The meson.cross generated by the class already has c and objcopy entries, so these can be removed. Pass the --cross-file option in MESON_CROSS_FILE to ensure the ordering is always correct. (From OE-Core rev: 302551de19edb1eb7333a6d1d5fdddacdbb9c349) 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>
* systemd-boot: use MESON_TARGETRoss Burton2023-08-161-4/+2
| | | | | | | | | Instead of re-implementing do_compile, use MESON_TARGET. (From OE-Core rev: d37c0f3449e1a20e3acc490150fa4c7c6ea46bd1) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd-boot: Fix build on muslKhem Raj2023-08-151-0/+2
| | | | | | | | | | | | systemd efi.h defines wchar_t from compiler provided __WCHAR_TYPE__ therefore we do not want it to come from alltypes.h in musl case which otherwise will end up with conflicting definitions of wchar_t, defining __DEFINED_wchar_t ensures that alltypes.h does not provide it (From OE-Core rev: 7b84fe344a2067b63d0c222fbc68d5916fa7903f) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: fix efi dependencyJose Quaresma2023-08-141-1/+1
| | | | | | | | | | | | | | | | | | | | Last version of systemd dpends now on pyelftools to build the efi support but the required tool is the native ones and not the target. The systemd-boot has the corrected dependencie so fix this in the main recipe. | Program python3 (jinja2) found: YES (/build/tmp-lmp/work/corei7-64-lmp-linux/systemd/1_254-r0/recipe-sysroot-native/usr/bin/python3-native/python3) modules: jinja2 | Checking if "32bit build possible" : links: NO | Program python3 (elftools) found: NO | | ../git/meson.build:2147:8: ERROR: Problem encountered: EFI bootloader support requires pyelftools. | | A full log can be found at /build/tmp-lmp/work/corei7-64-lmp-linux/systemd/1_254-r0/build/meson-logs/meson-log.txt (From OE-Core rev: 69d37620a7a0626eaee1c0b37057be2ac2687290) 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 usrmerge to REQUIRED_DISTRO_FEATURESLuca Boccassi2023-08-115-4/+14
| | | | | | | | | | | | | Support for unmerged-usr is deprecated upstream, taints the system and has been removed for v255 (next release). Enforce building merged-usr images when using systemd. This allows one release cycle where it can be tested for any remaining issue, and can still be overridden, before it stops working completely. (From OE-Core rev: 802e853eeddf16d73db1900546cc5f045d1fb7ed) Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: add a packageconfig to support colored logsMarkus Volk2023-08-091-0/+1
| | | | | | | | | | | journald uses less to display logs. less.busybox can do the job, but it rips out support for color/highlighting. (From OE-Core rev: 2e9b41b23695bb3517ad33ccb02ae19ca30326c6) 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-boot: Ensure EFI_LD is also passed to compiler driverKhem Raj2023-08-091-0/+1
| | | | | | | | | | | Where compiler driver is used for linking ensure bfd linker is used as well so its consistent when called directly or via compiler (From OE-Core rev: d497362d52bd934101e7d7a49eeee0fffb0f4f46) 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>
* systemd: fix efi stubsJose Quaresma2023-08-092-0/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before the patch: | $ objdump -h deploy/images/intel-corei7-64/linuxx64.efi.stub | objdump: deploy/images/intel-corei7-64/linuxx64.efi.stub (.reloc): section flag STYP_GROUP (0x4) ignored | objdump: deploy/images/intel-corei7-64/linuxx64.efi.stub (.reloc): section flag STYP_GROUP (0x4) ignored | objdump: deploy/images/intel-corei7-64/linuxx64.efi.stub: file format not recognized After the patch: | $objdump -h deploy/images/intel-corei7-64/linuxx64.efi.stub | | deploy/images/intel-corei7-64/linuxx64.efi.stub: file format pei-x86-64 | | Sections: | Idx Name Size VMA LMA File off Algn | 0 .text 0000f99f 000000014df91000 000000014df91000 00000400 2**4 | CONTENTS, ALLOC, LOAD, READONLY, CODE | 1 .rodata 00002c40 000000014dfa1000 000000014dfa1000 0000fe00 2**2 | CONTENTS, ALLOC, LOAD, READONLY, DATA | 2 .data 000002d8 000000014dfa4000 000000014dfa4000 00012c00 2**4 | CONTENTS, ALLOC, LOAD, DATA | 3 .sdmagic 00000032 000000014dfa5000 000000014dfa5000 00013000 2**2 | CONTENTS, ALLOC, LOAD, READONLY, DATA | 4 .reloc 00000080 000000014dfa6000 000000014dfa6000 00013200 2**2 | CONTENTS, ALLOC, LOAD, READONLY, DATA (From OE-Core rev: 2d4a5305c8b7a5fb15086a86dfdc64630c686602) 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: depend on util-linux's swapon/offRoss Burton2023-08-091-1/+1
| | | | | | | | | | systemd brings up swap partitions with swapon --fixpgsz, which busybox's implementation doesn't support. (From OE-Core rev: c7b39bb6319f21c6df6c2d25086f82154efdf5f6) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: set correct paths for kdb binariesRoss Burton2023-08-091-2/+2
| | | | | | | | | | | The kbd binaries (loadkeys and setfont) are installed to bindir, not base_bindir. Fixes: 94ccc7acc4a871f5bb7ab8e135e70b5519eff6ad (From OE-Core rev: 458fdd085beb14572e5a1ed0f94861cf10648725) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Make 254 work on muslKhem Raj2023-08-043-0/+91
| | | | | | | | (From OE-Core rev: 2a7dc1deaa7514c8257d828ee84da70185fc3eda) 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>
* systemd: Point to target binary paths for loadkeys and setfontKhem Raj2023-08-041-2/+6
| | | | | | | | | | | | | | | | | | | | | | | with newer systemd, if not specified, these paths are searched on build host /usr dir log.do_configure.2373278:Program /usr/sbin/loadkeys found: YES (/usr/sbin/loadkeys) log.do_configure.2373278:Program /usr/sbin/setfont found: YES (/usr/sbin/setfont) and if build host happens to have kbd installed then it uses those locations, this would work fine if the assumption between OE distro and host distro matches but fail otherwise e.g. on archlinux these binaries are in /usr/sbin but in OE they are in ${base_bindir} This results in qemux86-64 systemd-vconsole-setup[211]: /usr/sbin/loadkeys failed with exit status 1. (From OE-Core rev: 94ccc7acc4a871f5bb7ab8e135e70b5519eff6ad) Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Luca Boccassi <luca.boccassi@microsoft.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: update to v254Luca Boccassi2023-08-0424-931/+334
| | | | | | | | | | | | | | | - Drop dependency on gnu-efi, add dependency on pyelftools for EFI builds - Refresh patches - Ship new files and directories - Use meson target to build sd-boot instead of filenames - Change libpam recipe to set ANY_OF_DISTRO_FEATURES = "pam systemd" to let logind pull in pam-plugin-umask (From OE-Core rev: 95ed1fa4ff74a77deade51ad73b2f8963ff81548) Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: upgrade 253.3 -> 253.7Alexander Kanavin2023-07-303-1/+1
| | | | | | | | (From OE-Core rev: f346b1995dc3e3fc3bf27f3aaada8e0d2ee6853f) 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>
* udev: eudev: Revert add group to sgxAlex Kiernan2023-07-291-1/+1
| | | | | | | | | The sgx group is part of base-passwd now. (From OE-Core rev: d443fad3687c4dd2d7b4107079e0d297d03e94d6) Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cve_check: convert CVE_CHECK_IGNORE to CVE_STATUSAndrej Valek2023-07-211-3/+0
| | | | | | | | | | | | | - Try to add convert and apply statuses for old CVEs - Drop some obsolete ignores, while they are not relevant for current version (From OE-Core rev: 1634ed4048cf56788cd5c2c1bdc979b70afcdcd7) Signed-off-by: Andrej Valek <andrej.valek@siemens.com> Reviewed-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-systemctl: fix errors in instance name expansionYuta Hayama2023-07-101-1/+1
| | | | | | | | | | | | If the instance name indicated by %i begins with a number, the meaning of the replacement string "\\1{}".format(instance) is ambiguous. To indicate group number 1 regardless of the instance name, use "\g<1>". (From OE-Core rev: d18b939fb08b37380ce95934da38e6522392621c) Signed-off-by: Yuta Hayama <hayama@lineo.co.jp> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: replace the sysusers.d basic configurationLouis Rannou2023-06-172-0/+45
| | | | | | | | | | | The default sysusers basic.conf.in file sets the root home directory to `/root` and does not permit its configuration. Replace the file delivered by systemd so the root home directory matches the `ROOT_HOME` variable. (From OE-Core rev: 5a0dd8fe478536f9ea503e3e1bc668b7e814bd85) Signed-off-by: Louis Rannou <lrannou@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd-systemctl: support instance expansion in WantedByIan Ray2023-06-151-7/+2
| | | | | | | | | | | | | | | | | | | | | Refactor _process_deps to expand systemd instance specifier "%i" to the template instance. This change expands on prior commit e510222b57 ("systemd-systemctl: fix instance template WantedBy symlink construction") by substituting every "%i" pattern-match with the instance name. The regexp handles the following cases: * svc-wants@%i.service * sys-subsystem-net-devices-%i.device (From OE-Core rev: 9356276137267a29ae2289d796a2940918375308) Signed-off-by: Ian Ray <ian.ray@ge.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Drop a backportKhem Raj2023-05-252-30/+0
| | | | | | | | | | This patch should have been dropped when upgrading to 253 since its already available upstream since then (From OE-Core rev: 5b677b766280b39e8bf507d5aec4f08e49fd72a9) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Fix timesyncd runtime assertions with 64bit time_tKhem Raj2023-05-053-0/+660
| | | | | | | | | | This issue is seen on 32bit architectures using 64bit time_t (From OE-Core rev: 75dcd69f0589a42e01f0e0f9353f68977d2f319f) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd-systemctl: fix instance template WantedBy symlink constructionMartin Siegumfeldt2023-05-051-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | Fix issue of the below instance template systemd service dependency [Install] WantedBy=svc-wants@%i.service creating the symlink (instance "a" example) /etc/systemd/system/svc-wants@%i.service.wants/svc-wanted-by@a.service which should be /etc/systemd/system/svc-wants@a.service.wants/svc-wanted-by@a.service as implemented by this change. The functionality appears regressed just after "thud" baseline when the logic was refactored from shell script into python (commit 925e30cb104ece7bfa48b78144e758a46dc9ec3f) (From OE-Core rev: 308397f0bb3d6f3d4e9ec2c6a10823184049c9b5) Signed-off-by: Martin Siegumfeldt <mns@gomspace.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: upgrade 253.1 -> 253.3Wang Mingyu2023-04-204-46/+1
| | | | | | | | | | | | | | Changelog: https://github.com/systemd/systemd-stable/blob/v253.3/NEWS 0025-systemctl-explicitly-cast-the-constants-to-uint64_t.patch removed since it's included in 253.3 (From OE-Core rev: 37ca7f59245c31b483db01f2e1050ba979768b1b) 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>
* systemd: Refresh a musl patch to remove patch-fuzz with 253.3Khem Raj2023-04-131-18/+1
| | | | | | | | | (From OE-Core rev: cb89375d8753f01f7da69bc5609dafb707a8a983) Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: rebase musl patchesYureka Lilian2023-03-2328-214/+513
| | | | | | | | (From OE-Core rev: f34f6ab04b443608497b73668365819343d0c2fe) Signed-off-by: Yureka Lilian <yuka@yuka.dev> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: fix wrong nobody-group assignmentPiotr Łobacz2023-03-171-1/+1
| | | | | | | | | | | | | | | The generated /etc/group file had a wrong group name for nobody-group which was nobody with same id as nogroup groupd. This was leading to duplcate groups, with same ids and different names. More can be read on this link: https://bugzilla.yoctoproject.org/show_bug.cgi?id=11766 (From OE-Core rev: d69fccf2e5d108dd7c6059310924588d36a45865) Signed-off-by: Piotr Łobacz <p.lobacz@welotec.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "systemd-systemctl: Create machine-id with "uninitialized" text in it"Chen Qi2023-03-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 33d9b3a8ed186c2d212acb83f715367912010e7f. The reverted patch was forcing systemd to do preset-all at boot time (first boot) in a function that simuilates 'preset-all' at rootfs time. This is not right. To force a first boot, just do not run this function, as said in the comment: """ # If we populate the systemd links we also create /etc/machine-id, which # allows systemd to boot with the filesystem read-only before generating # a real value and then committing it back. # # For the stateless configuration, where /etc is generated at runtime # (for example on a tmpfs), this script shouldn't run at all and we # allow systemd to completely populate /etc. """ For example, removing 'systemd_preset_all;' from IMAGE_PREPROCESS_COMMAND in some distro conf file will achieve the same effect of the original patch. (From OE-Core rev: a2ac09c32acfc2e076a7778447919d97553d38a2) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Fix musl fix patchKhem Raj2023-03-141-3/+2
| | | | | | | | | | | | | Current patch with fail when stdint.h is in include path before this typedef which can also happen with re-includes. Therefore shunt that by defining __DEFINED_wchar_t which helps musl builds of systemd-boot recipe (From OE-Core rev: 7fce95e47601f766b384bc0d5805986ad933681f) Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: update 252.5 -> 253.1Alexander Kanavin2023-03-115-3/+88
| | | | | | | | | | | | Add a musl compatibility patch to systemd-boot. Backport a patch to address systemctl fails on 32 bit targets. (From OE-Core rev: d92f0f3597acba6cfc55a8cf2e7249efc6573c6a) 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>
* systemd: add ignore for CVE-2022-4415Ross Burton2023-03-111-0/+3
| | | | | | | | | | The relevant fix was also backported to 252.4. (From OE-Core rev: e7992076102de43b2201786c2da59455c54aaef4) 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>
* systemd-systemctl: Create machine-id with "uninitialized" text in itMarek Vasut2023-02-281-1/+1
| | | | | | | | | | | Instead of creating empty /etc/machine-id file using touch, write text "uninitialized" into it. Systemd requires "uninitialized" in the /etc/machine-id file to trigger systemd-firstboot . (From OE-Core rev: 263c852269027b1bd311e116021ac49d9001e1b0) Signed-off-by: Marek Vasut <marex@denx.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* VOLATILE_TMP_DIR: addTrevor Woerner2023-02-281-0/+7
| | | | | | | | | | | | | Provide a mechanism to allow users to choose whether the /tmp directory is on persistent storage (non-volatile) or a RAM-based tmpfs (volatile). The default is volatile. Works for both sysvinit-based and systemd-based systems. (From OE-Core rev: 8b76c0637eaeaf5bd5e696680cd74b7a642f4157) Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: add group sgx to udev packagePeter Marko2023-02-261-1/+1
| | | | | | | | | | | | | | | | | | | >From NEWS for v250: * Device nodes for the Software Guard eXtension enclaves (sgx_vepc) are now also owned by the system group "sgx". >From NEWS for v248: * Intel SGX enclave device nodes (which expose a security feature of newer Intel CPUs) will now be owned by a new system group "sgx". Fixes following journal error entry during startup: /lib/udev/rules.d/50-udev-default.rules:43 Unknown group 'sgx', ignoring This is seen already on kirkstone. (From OE-Core rev: bab455cd9b1b82e778f8523a767eb281edf6689e) Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: add user for systemd-oomd if enabledLuca Boccassi2023-02-261-0/+1
| | | | | | | | | | | | | | systemd-oomd.service has: User=systemd-oom So we need to create a static user for it, if its packageconfig is enabled. (From OE-Core rev: 1586edc919326cdbb412feafb9cde2cb15e419cb) Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: add PACKAGECONFIG for pstoreJan Luebbe2023-02-091-0/+1
| | | | | | | | | | | | pstore is used to collect crash logs in the journal after a crash. As it needs a correctly configured kernel, it's not always enabled. Add a PACKAGECONFIG to enable it when needed. (From OE-Core rev: 350d8677c4f7b6ff7604bff6b2f4ab7f1b9ec422) Signed-off-by: Jan Luebbe <jlu@pengutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: update 252.4 -> 252.5Alexander Kanavin2023-02-093-1/+1
| | | | | | | | (From OE-Core rev: b44b7a0d7baa3ed5c71d2f873aa095cff6234c6b) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Add another fix for using XSI strerror_rKhem Raj2023-01-262-0/+43
| | | | | | | | | | This makes systemd continue to work on musl (From OE-Core rev: c76dae4d937728e8687c03b58ec720a2d3d496ed) 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>
* systemd: add PACKAGECONFIG to select default compression formatLuca Boccassi2023-01-241-0/+6
| | | | | | | | | | | | | | If multiple compression libraries are enabled, the format to use for compression is chosen implicitly, so if you want to compress with e.g. lz4 you cannot enable zstd, so you cannot read zstd-compressed journal files. This PACKAGECONFIGs allow to enable all compression formats for reading, but to choose a specific one for writing. (From OE-Core rev: bec1e2628e7accf2eff07193ae5ea14eb443ae37) Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: ship pcrphase/measure tools and units in systemd-extra-utilsLuca Boccassi2023-01-121-0/+8
| | | | | | | | | | New tooling related to signed TPM policies introduced in v252 (From OE-Core rev: 76f1e8c9f8306ed0f0db42dd7a3c7efce82108ce) Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: refresh patch to remove fuzz introduced by rebase on v252Luca Boccassi2023-01-121-2/+2
| | | | | | | | (From OE-Core rev: 603f2768c00b8abd27056379fd941b99f88c4aab) Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Fix 252 release build on muslKhem Raj2022-12-2814-376/+148
| | | | | | | | (From OE-Core rev: 38256b5d8caa54024df9df908cc7fa49ca5fac39) Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: update 251.8 -> 252.4Alexander Kanavin2022-12-283-3/+5
| | | | | | | (From OE-Core rev: 42442730a8acc78c2bffec7b78f5d06cabeca3bc) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Make importd depend on glib-2.0 againMarek Vasut2022-12-181-1/+1
| | | | | | | | | It seems importd still requires glib-2.0, add the missing dependency. (From OE-Core rev: 224cd8ca540a2c9d7d407a44dccd63f808c1ea15) Signed-off-by: Marek Vasut <marex@denx.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: add group render to udev packagePeter Marko2022-11-151-0/+2
| | | | | | | | | | | | | | | | | | From NEWS for v236: * The "uaccess" udev tag has been dropped from /dev/kvm and /dev/dri/renderD*. These devices now have the 0666 permissions by default (but this may be changed at build-time). /dev/dri/renderD* will now be owned by the "render" group along with /dev/kfd. Without the group systemd-udevd startup logs: /lib/udev/rules.d/50-udev-default.rules:39 Unknown group 'render', ignoring /lib/udev/rules.d/50-udev-default.rules:40 Unknown group 'render', ignoring (From OE-Core rev: 84efd72d48616405dbe4d73ec95917077144ed09) 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: update 251.4 -> 251.8Alexander Kanavin2022-11-113-1/+1
| | | | | | | | | | | This resolves systemd-boot fails with latest meson, while systemd -> 252 is being prepared. (From OE-Core rev: 1d96287906f66ad28e50c9686eaffc2fb7b874fe) 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>