remove dhcpcd usage switch to systemd-networkd

This commit is contained in:
Tobias Powalowski 2022-12-07 12:26:17 +01:00
parent 97da62b7ce
commit 4e0357ca93
3 changed files with 7 additions and 11 deletions

View file

@ -4,15 +4,9 @@
build ()
{
add_checked_modules -f 'nfp' -f 'liquidio' -f 'mellanox' -f 'wireless' -f 'bnx2x' -f 'bna' -f 'softing_cs' -f 'qed' '/drivers/net/'
map add_binary route ip dhcpcd
add_full_dir "/usr/lib/dhcpcd"
map add_binary route ip
# start dhcpcd on startup
add_symlink "/etc/systemd/system/multi-user.target.wants/dhcpcd.service" "/usr/lib/systemd/system/dhcpcd.service"
add_file "/usr/share/archboot/net/etc/system/dhcpcd@.service.d/no-wait.conf" "/etc/system/dhcpcd@.service.d/no-wait.conf"
add_file "/etc/dhcpcd.conf"
add_dir "/var/lib/dhcpcd"
# fixing licenses
add_file "/usr/share/licenses/dhcpcd/LICENSE"
add_symlink "/etc/systemd/system/multi-user.target.wants/systemd-networkd.service" "/usr/lib/systemd/system/systemd-networkd.service"
}
help ()

View file

@ -1,3 +0,0 @@
[Service]
ExecStart=
ExecStart=/usr/bin/dhcpcd -b -q %I

View file

@ -0,0 +1,5 @@
# Archboot autostart dhcp on wired devices
[Match]
Name=en*
[Network]
DHCP=yes