diff options
author | Patrick Vacek <patrickvacek@gmail.com> | 2019-10-16 16:54:55 +0200 |
---|---|---|
committer | Patrick Vacek <patrickvacek@gmail.com> | 2019-10-21 13:22:04 +0200 |
commit | 4bcb164063a1a12f1cc12165934bcaeaa81732a7 (patch) | |
tree | 115ea4820e279f1d2ede0eed6b74ef39b6e6ebe9 /recipes-test/demo-network-config | |
parent | 3b2b6e485c4ade61296322f4e1efae09c04e396a (diff) | |
download | meta-updater-4bcb164063a1a12f1cc12165934bcaeaa81732a7.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')
-rw-r--r-- | recipes-test/demo-network-config/network-config.inc | 3 |
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. | ||
6 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
7 | |||
5 | SECONDARY_INTERFACE ?= "${@ 'eth0' if d.getVar('MACHINE') == 'raspberrypi3' else 'enp0s5'}" | 8 | SECONDARY_INTERFACE ?= "${@ 'eth0' if d.getVar('MACHINE') == 'raspberrypi3' else 'enp0s5'}" |
6 | 9 | ||
7 | do_install_append() { | 10 | do_install_append() { |