summaryrefslogtreecommitdiff
path: root/recipes-core/systemd
AgeCommit message (Collapse)Author
2025-05-23systemd: update recipe with openembedded-core oneHiago De Franco
"networkd" is already a default PACKAGECONFIG [1], there is no need to add it again. "acl" is using deprecated meson configurations that were already fixed in oe-core, there is no need to keep them here [2]. [1] https://github.com/openembedded/openembedded-core/blob/master/meta/recipes-core/systemd/systemd_257.5.bb#L88 [2] https://github.com/openembedded/openembedded-core/commit/853414760741530356355826b97f14c95a2144e4 Related-to: ELB-6306 Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2025-05-09systemd: mask systemd-networkd-wait-online.serviceStefan Eichenberger
The systemd-networkd-wait-online.service unit expects at least one network interface managed by systemd-networkd to reach a configured state. In our setup, ConnMan manages the Ethernet interface, while systemd-networkd is responsible for USB and Wi-Fi interfaces. Consequently, systemd-networkd is unaware of the Ethernet connection's status. In the LAVA test environment, USB and Wi-Fi interfaces are not connected at boot. This leads to systemd-networkd-wait-online.service consistently timing out, as none of the interfaces it manages become fully operational. Masking systemd-networkd-wait-online.service prevents it from starting, thus avoiding these timeouts during boot in the LAVA setup. Related-to: ELB-6332 Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com>
2025-04-11systemd: rename rndis.network to usb-gadget.networkStefan Eichenberger
The RNDIS protocol is not used for USB gadget Ethernet connections for some time. It was replaced by CDC-NCM. However, the systemd network configuration file for this interface retained the legacy 'rndis.network' name. Renaming it to 'usb-gadget.network' provides a more generic name and removes potential confusion, without changing any functional behavior. Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com>
2025-04-11systemd: network: Make RNDIS network optional for online stateStefan Eichenberger
The RNDIS network is not always present or required for the system's network connectivity to be considered generally "online" by systemd-networkd. However, the current configuration requires it. Therefore, set 'RequiredForOnline=no' in the 'rndis.network' configuration file. This ensures that systemd-networkd-wait-online.service can still succeed and the network-online.target can be reached even if the RNDIS interface is not available or configured. Related-to: ELB-6332 Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com>
2024-07-22recipes: remove OURFILEPATH/S workaroundsHiago De Franco
These was initially required to build this layer with both master (styhead) and scarthgap branches from other layers, as the meta-toradex-demos/scarthgap-7.x.y did not exist at that time. With the creation of a specific scarthgap branch, we can remove the workaround. Related-to: ELB-5840 Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2024-05-31recipes: cope with moved directory for unpackMax Krummenacher
OE master (styhead) no longer unpacks in ${WORKDIR} but rather does it in path defined by the new variable UNPACKDIR. Additionally '${S} = ${WORKDIR}' is no longer allowed and results in a parse time error. Cope with the change so that the layer builds against scarthgap and styhead. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-08-14layer: convert to new override syntaxMax Krummenacher
This is the result of automated script (0.9.3) conversion: +# meta-toradex-distro +vars = vars + ["preempt-rt","tdx","upstream"] +# meta-toradex-* machines +vars = vars + ["apalis-","colibri-","verdin-","tegra124"] +# meta-freescale +vars = vars + ["imx","mx6","mx7","mx8","use-mainline-bsp","use-nxp-bsp"] ../openembedded-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-06-17timestamp-service: some cleaning upMing Liu
- Drop deprecated NATIVE_SYSTEMD_SUPPORT. - Drop redundant FILES_${PN}. - Drop do_compile, base_do_compile would be good enough. Signed-off-by: Ming Liu <ming.liu@toradex.com> (cherry picked from commit 4df24cc1da205dc68e4815469d7bb2f64d6bf0a0)
2019-03-06timestamp-service: import from angstromMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-03-06systemd: rework packageconfig for meson buildMax Krummenacher
The upstream systemd recipe now uses meson to build systemd. Follow the changed config syntax. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2017-06-30systemd: Add a acl packageconfigBhuvanchandra DV
We found that having ACL enabled in systemd on a ubifs adversely affects power cut resilience. Currently systemd is unconditionally enabled in a systemd build. Add a acl packageconfig option, but do not enable it. Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-04-07meta-toradex-demo: clean-up whitespace useMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-01-10systemd/rndis.network: don't emit server addressesMax Krummenacher
Don't emit DNS/NTP/Router/Timezone servers addresses to the RNDIS client. We expect RNDIS to be used as a service/debug interface to connect to a module. For this we do not want to reconfigure the connecting device with the modules setup. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Stefan Agner <stefan.agner@toradex.com>
2016-09-29systemd-compat-units: mv all systemd bbappends under recipes-coreMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2016-09-29systemd: split bbappend to only change demo layer releated rndisMax Krummenacher
The BSP should automount for all users. The Demo Software Layers cares for RNDIS. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2015-10-29systemd-udevd.service.in: set MountFlags=sharedMax Krummenacher
2015-08-07Revert "systemd: restore userspace firmware loading support"Max Krummenacher
This reverts commit bd2d32bf3a8460c87849e75ad01e11450d8cda10. Remove the backport, is part of fido.
2015-05-18Revert "systemd-machine-id-commit: add standalone recipe"Max Krummenacher
Angstom Dizzy now uses systemd V218 so there is no need to build a component seperately anymore. This reverts commit 16b8b392ad048566729f30d7c3887d1bfdf21bd4.
2015-05-18systemd: restore userspace firmware loading supportJonathan Liu
This changes the minimum required Linux version from 3.7 back to 3.0. [YOCTO #7409] Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> backported from openembedded-core, commit 31163abc7bedd477c1aad10e6d1f47dbee194513
2015-05-18Revert "systemd: fix DHCP on link state change"Max Krummenacher
This reverts commit 3cf2edb10f5e8ac60db7ca2e71d1e754a177d08c. Conflicts: recipes-core/systemd/systemd_%.bbappend
2015-05-12systemd: add networkd for RNDIS configurationStefan Agner
Since Connman is better suited for more advanced Wireless solutions, we keep Connman for the main network configuration manager. However, for the simple RNDIS debug/test configuration, Connman is not well suited since Connman tries to maintain one connection only at any given time. This change enables networkd and adds a simple standard configuration for USB/RNDIS network devices.
2015-05-12systemd: fix DHCP on link state changeStefan Agner
When the link goes down, the DHCP service has been disabled, while there is no corresponding functionality which enables the service when the link goes up again. This fix is taken from systemd 217.
2015-03-05journald: remove journald.conf patchMax Krummenacher
meta-angstrom now overrides the effect of the patch and provides the journald.conffile in full. To override a setting either create the file with your settings in meta-toradex/recipes-core/systemd/systemd/journald.conf or edit meta-angstrom/recipes-core/systemd/systemd/journald.conf.
2014-12-18systemd-machine-id-commit: add standalone recipeMax Krummenacher
2014-10-30timestamp-service: remove in favor of meta-angstrom patchMax Krummenacher
2014-08-04timestamp-service: change to new timestamp formatMax Krummenacher
Patch pending in meta-angstrom
2014-08-04Use generic bbappend filesMax Krummenacher
This uses the % wildcard for recipe matching. remove the deprecated PRINC variable while at it.
2014-04-01journald patch: update to systemd 206Max Krummenacher
2014-04-01systemd bbappend: update to match bb versionMax Krummenacher
2013-09-22systemd: systemd bbappend update to version 199Max Krummenacher
2013-09-22systemd: follow update of recipe with bbappendMax Krummenacher
2013-06-26systemd: fix patch path so the default -p 1 appliesMax Krummenacher
2013-06-07systemd-journald: limit journal sizeMax Krummenacher