summaryrefslogtreecommitdiffstats
path: root/recipes-test/demo-network-config/network-config.inc
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2021-07-29 19:44:05 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2021-07-30 10:29:35 +0200
commit31a770d3c0cb22c9f4ece068208d2e6b2c28f1ee (patch)
tree45dc83314dc336239e82f5d084541c3143841ed6 /recipes-test/demo-network-config/network-config.inc
parenta0d9835bad4c86416323b1055315fc1fb09bcde5 (diff)
downloadmeta-updater-31a770d3c0cb22c9f4ece068208d2e6b2c28f1ee.tar.gz
Convert to new override syntax
This is the result of automated script (0.9.0) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes-test/demo-network-config/network-config.inc')
-rw-r--r--recipes-test/demo-network-config/network-config.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes-test/demo-network-config/network-config.inc b/recipes-test/demo-network-config/network-config.inc
index b023f51..919d4ab 100644
--- a/recipes-test/demo-network-config/network-config.inc
+++ b/recipes-test/demo-network-config/network-config.inc
@@ -1,4 +1,4 @@
1SRC_URI_append = "\ 1SRC_URI:append = "\
2 file://26-${CONF_TYPE}-client.network \ 2 file://26-${CONF_TYPE}-client.network \
3 " 3 "
4 4
@@ -7,7 +7,7 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
7 7
8SECONDARY_INTERFACE ?= "${@ 'eth0' if d.getVar('MACHINE') == 'raspberrypi3' else 'enp0s5'}" 8SECONDARY_INTERFACE ?= "${@ 'eth0' if d.getVar('MACHINE') == 'raspberrypi3' else 'enp0s5'}"
9 9
10do_install_append() { 10do_install:append() {
11 bbnote "Network configuration type to be applied: ${CONF_TYPE}" 11 bbnote "Network configuration type to be applied: ${CONF_TYPE}"
12 install -d ${D}${libdir}/systemd/network 12 install -d ${D}${libdir}/systemd/network
13 install -m 0644 ${WORKDIR}/26-${CONF_TYPE}-client.network ${D}${libdir}/systemd/network/ 13 install -m 0644 ${WORKDIR}/26-${CONF_TYPE}-client.network ${D}${libdir}/systemd/network/