summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/systemd/systemd-conf
Commit message (Collapse)AuthorAgeFilesLines
* systemd-conf: Prevent systemd-network from managing veth interfacesMatt Spencer2021-06-171-0/+1
| | | | | | | | | | | | We need to prevent systemd-network from managing veth interface when using platforms like k3s as they control creation and management of the interfaces. (From OE-Core rev: b615bb279730ce3e0c4b4098a9e43700f2f095af) Signed-off-by: Matt Spencer <matt.spencer@arm.com> Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd-conf: do not ask for DHCP if configured on kernel command lineStefan Schmidt2021-03-061-0/+1
| | | | | | | | | | | | | In cases where we configure the IP address and more on the kernel command line with ip= we should not ask for DHCP with systemd-networkd later on. We have such a setup with our runqemu script. With this match in place we can also deploy this unit on qemu systems. (From OE-Core rev: 8c4981e740c0e630200dbc77c9e3dfd3e43b790b) Signed-off-by: Stefan Schmidt <stefan.schmidt@huawei.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd-conf: match ethernet interfaces by type rather than globbingJack Mitchell2020-12-061-1/+1
| | | | | | | | | | If we say we're enabling DHCP on wired/ethernet networks lets be more specific than trying to catch everything with globbing. (From OE-Core rev: a2bf422cc498bebfbeedc9382b2cc1533f78bbfd) Signed-off-by: Jack Mitchell <ml@embed.me.uk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd-conf: Accept MTU from DHCPDaniel McGregor2020-06-171-0/+1
| | | | | | | | | | Many local cloud deployments use MTUs other than 1500. To support them, accept MTU from DHCP by default. (From OE-Core rev: 60ff220548125bbdc6812669af711fb3650d87aa) Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd-conf: not configure network for nfs rootKai Kang2019-06-191-0/+1
| | | | | | | | | | It fails to boot nfs root with systemd that systemd-networkd re-configures wired network and breaks the connection with nfs root. (From OE-Core rev: 2abfbf186989223d5d256c25e0b52b02f29d5bfb) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd-conf: configure wired network with dhcpKai Kang2019-06-041-0/+9
| | | | | | | | | | | | | | | | Add a configure file for systemd.networkd to configure wired network interfaces with dhcp. It works with common network interfaces such eth0 and eno1. And do not install it for qemu bsps. Refer to https://github.com/YoeDistro/meta-yoe/tree/master/recipes-core/systemd [YOCTO #13057] (From OE-Core rev: d87efd14ce0471135c0aa7fd7b5da2808acb9c76) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd-conf: simplify creation of machine-specific configurationAlex Kiernan2019-05-034-0/+10
The configuration files that systemd installs are just skeletons detailing the available options and their default values. The recommended means of changing the configuration is to provide snippets in configuration directories. For example, journald.conf settings are best set in /usr/lib/system.d/journald.conf.d/ and can be overridden by the user by providing overriding snippets in /etc/systemd/journald.conf.d/. The systemd-conf package is just providing machine-specific overrides for some systemd defaults. This patch restores the installation of config files by systemd and reduces systemd-conf to just providing the config snippets in /usr/lib/systemd/*.conf.d. This simpilfies the systemd-conf recipe considerably since it now just sets up a couple of text files and doesn't even need access to the systemd source anymore. License-Update: configuration snippets licensing is independent of systemd licensing (From OE-Core rev: 3150253898babce70333376d22090b56b4a70bfb) Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>