diff options
author | Laurent Bonnans <laurent.bonnans@here.com> | 2019-03-06 12:43:33 +0100 |
---|---|---|
committer | Laurent Bonnans <laurent.bonnans@here.com> | 2019-03-06 16:12:43 +0100 |
commit | 8e33202195c3e0c133ba705d6c77e669fcf3bfad (patch) | |
tree | b1821526b95e5624e62559fe8a169e14f3bd0daf /recipes-connectivity/networkd-dhcp-conf/networkd-dhcp-conf.bb | |
parent | 1fdd1d1ced34de8eefe6d34da03c6db20b98f141 (diff) | |
download | meta-updater-8e33202195c3e0c133ba705d6c77e669fcf3bfad.tar.gz |
Replace connman with systemd-networkd on raspberrypi
Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
Diffstat (limited to 'recipes-connectivity/networkd-dhcp-conf/networkd-dhcp-conf.bb')
-rw-r--r-- | recipes-connectivity/networkd-dhcp-conf/networkd-dhcp-conf.bb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes-connectivity/networkd-dhcp-conf/networkd-dhcp-conf.bb b/recipes-connectivity/networkd-dhcp-conf/networkd-dhcp-conf.bb index 39500c7..1a515a2 100644 --- a/recipes-connectivity/networkd-dhcp-conf/networkd-dhcp-conf.bb +++ b/recipes-connectivity/networkd-dhcp-conf/networkd-dhcp-conf.bb | |||
@@ -19,7 +19,10 @@ PACKAGE_ARCH = "${MACHINE_ARCH}" | |||
19 | 19 | ||
20 | FILES_${PN} = "${systemd_unitdir}/network/*" | 20 | FILES_${PN} = "${systemd_unitdir}/network/*" |
21 | 21 | ||
22 | DEV_MATCH_DIRECTIVE ?= "Name=en*" | ||
23 | |||
22 | do_install() { | 24 | do_install() { |
23 | install -d ${D}/${systemd_unitdir}/network | 25 | install -d ${D}/${systemd_unitdir}/network |
24 | install -m 0644 ${WORKDIR}/20-wired-dhcp.network ${D}/${systemd_unitdir}/network | 26 | install -m 0644 ${WORKDIR}/20-wired-dhcp.network ${D}/${systemd_unitdir}/network |
27 | sed -i -e 's|@MATCH_DIRECTIVE@|${DEV_MATCH_DIRECTIVE}|g' ${D}${systemd_unitdir}/network/20-wired-dhcp.network | ||
25 | } | 28 | } |