OSDN Git Service

Replacing dhcpcd with systemd-networkd and systemd-resolved
authorDavid Runge <dvzrv@archlinux.org>
Sat, 30 May 2020 18:58:48 +0000 (20:58 +0200)
committerDavid Runge <dvzrv@archlinux.org>
Sun, 31 May 2020 19:41:57 +0000 (21:41 +0200)
commit0d67870667ee8c2084dea2bbdf1323288e2e7457
tree11c8d4670f06001a16957b8c4c338a0af0e639c5
parent769fbecef3ea7411c6e68ff1c4838f49b7c5d648
Replacing dhcpcd with systemd-networkd and systemd-resolved

configs/releng/airootfs/etc/udev/rules.d/81-dhcpcd.rules:
Removing the udev rule for starting dhcpcd@.service on interfaces of the
form eth* and en*.

configs/releng/airootfs/etc/systemd/network/{ethernet,wireless}.network:
Adding default DHCP configurations for en*, eth*, wlp* and wlan*
interfaces.

configs/releng/airootfs/etc/resolv.conf:
Adding a symlink from /run/systemd/resolve/stub-resolv.conf to
/etc/resolv.conf (in airootfs).

configs/releng/airootfs/root/customize_airootfs.sh:
Adding systemd-networkd and systemd-resolved to the list of services
that are being enabled during airootfs customization.
configs/releng/airootfs/etc/resolv.conf [new symlink]
configs/releng/airootfs/etc/systemd/network/ethernet.network [new file with mode: 0644]
configs/releng/airootfs/etc/systemd/network/wireless.network [new file with mode: 0644]
configs/releng/airootfs/etc/udev/rules.d/81-dhcpcd.rules [deleted file]
configs/releng/airootfs/root/customize_airootfs.sh