system(d): allow auto net configuration with networkd
authorEric Le Bihan <eric.le.bihan.dev@free.fr>
Sat, 17 Sep 2016 11:58:37 +0000 (13:58 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 6 Feb 2017 16:56:14 +0000 (17:56 +0100)
commit84d997d6890f1d045c4d6084148fd9b2d674a6c7
treea1fb0f88360d20204d6b9c3684b858122e2c21d4
parentc9129558b960de1264319e8518d74674a877d5b5
system(d): allow auto net configuration with networkd

Allow automatic network configuration via systemd-networkd if selected.

If systemd-networkd is enabled and $BR2_SYSTEM_DHCP is set, then create
a .network file to configure the selected network interface via DHCP.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
[Thomas:
 - merge the two patches from Eric into just one
 - instead of generating the dhcp.network file completely from the .mk
   file, use a template file, and "sed" it with the right network
   interface]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/systemd/systemd.mk
system/Config.in