diff options
| author | Patrick Vacek <patrickvacek@gmail.com> | 2019-10-11 16:19:19 +0200 |
|---|---|---|
| committer | Patrick Vacek <patrickvacek@gmail.com> | 2019-10-17 17:03:37 +0200 |
| commit | 8301d07b8d109e5f4164418f66ec2e504fef918e (patch) | |
| tree | d20b775741971c6d003516f055d39ed7163a0ead /recipes-test/demo-network-config/network-config.inc | |
| parent | 7e426508b7a7f873fadd5886bd526276eee16bd9 (diff) | |
| download | meta-updater-8301d07b8d109e5f4164418f66ec2e504fef918e.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.inc | 6 |
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 | ||
| 7 | do_install_append() { | 7 | do_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 | ||
