summaryrefslogtreecommitdiffstats
path: root/recipes-test/demo-network-config/network-config.inc
diff options
context:
space:
mode:
authorPatrick Vacek <patrickvacek@gmail.com>2019-10-11 16:19:19 +0200
committerPatrick Vacek <patrickvacek@gmail.com>2019-10-21 13:01:52 +0200
commitce0e0fbca14a6cd93dc4ab474344a65917adf05c (patch)
tree1620db014dd0c7755fae964a8c9b966890310f92 /recipes-test/demo-network-config/network-config.inc
parentf2b1527d5c41d7836b6162915f0a111f9e3586c7 (diff)
downloadmeta-updater-ce0e0fbca14a6cd93dc4ab474344a65917adf05c.tar.gz
demo-network-config: use ${libdir} consistently.
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
Diffstat (limited to 'recipes-test/demo-network-config/network-config.inc')
-rw-r--r--recipes-test/demo-network-config/network-config.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/recipes-test/demo-network-config/network-config.inc b/recipes-test/demo-network-config/network-config.inc
index ed623d4..a231a24 100644
--- a/recipes-test/demo-network-config/network-config.inc
+++ b/recipes-test/demo-network-config/network-config.inc
@@ -6,11 +6,11 @@ SECONDARY_INTERFACE ?= "${@ 'eth0' if d.getVar('MACHINE') == 'raspberrypi3' else
6 6
7do_install_append() { 7do_install_append() {
8 bbnote "Network configuration type to be applied: ${CONF_TYPE}" 8 bbnote "Network configuration type to be applied: ${CONF_TYPE}"
9 install -d ${D}/usr/lib/systemd/network 9 install -d ${D}${libdir}/systemd/network
10 install -m 0644 ${WORKDIR}/26-${CONF_TYPE}-client.network ${D}/usr/lib/systemd/network/ 10 install -m 0644 ${WORKDIR}/26-${CONF_TYPE}-client.network ${D}${libdir}/systemd/network/
11 sed -i -e 's|@ADDR@|${IP_ADDR}|g' \ 11 sed -i -e 's|@ADDR@|${IP_ADDR}|g' \
12 -e 's|@IFNAME@|${SECONDARY_INTERFACE}|g' \ 12 -e 's|@IFNAME@|${SECONDARY_INTERFACE}|g' \
13 ${D}/usr/lib/systemd/network/26-${CONF_TYPE}-client.network 13 ${D}${libdir}/systemd/network/26-${CONF_TYPE}-client.network
14 14
15} 15}
16 16