summaryrefslogtreecommitdiffstats
path: root/recipes-test/demo-network-config/network-config.inc
diff options
context:
space:
mode:
authorPatrick Vacek <patrickvacek@gmail.com>2019-10-16 16:54:55 +0200
committerPatrick Vacek <patrickvacek@gmail.com>2019-10-17 17:03:38 +0200
commitb9658f86850b7f66680ee79e7d876f2dba044c4d (patch)
treef33b8e04df374f432ef3f6b5e1556d2f1d080fd3 /recipes-test/demo-network-config/network-config.inc
parent9ff5720ec9914e15c23ec45109977d153c65facc (diff)
downloadmeta-updater-b9658f86850b7f66680ee79e7d876f2dba044c4d.tar.gz
Specify more configs as MACHINE_ARCH.
If they depend on MACHINE, that's what we gotta do. Still haven't sorted out aktualizr-device-prov-creds, though. 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.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes-test/demo-network-config/network-config.inc b/recipes-test/demo-network-config/network-config.inc
index a231a24..b023f51 100644
--- a/recipes-test/demo-network-config/network-config.inc
+++ b/recipes-test/demo-network-config/network-config.inc
@@ -2,6 +2,9 @@ SRC_URI_append = "\
2 file://26-${CONF_TYPE}-client.network \ 2 file://26-${CONF_TYPE}-client.network \
3 " 3 "
4 4
5# Because of the dependency on MACHINE.
6PACKAGE_ARCH = "${MACHINE_ARCH}"
7
5SECONDARY_INTERFACE ?= "${@ 'eth0' if d.getVar('MACHINE') == 'raspberrypi3' else 'enp0s5'}" 8SECONDARY_INTERFACE ?= "${@ 'eth0' if d.getVar('MACHINE') == 'raspberrypi3' else 'enp0s5'}"
6 9
7do_install_append() { 10do_install_append() {