diff options
author | Patrick Vacek <patrickvacek@gmail.com> | 2019-06-20 15:27:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-20 15:27:06 +0200 |
commit | 59777c8f37a8ae588d695f0974e00df01608363a (patch) | |
tree | bc1a06637008e9430c42164916bcedb0294809a5 /recipes-test/demo-network-config/primary-network-config.bb | |
parent | 2e2fb57021d79b7fdd0fe416080c690a7d50591a (diff) | |
parent | fcf3daa7d63bf9a9948bafb2cc0472dc7d08d401 (diff) | |
download | meta-updater-59777c8f37a8ae588d695f0974e00df01608363a.tar.gz |
Merge pull request #530 from advancedtelematic/feat/OTA-2294/preconfigured-secondaries-on-RPi
OTA-2541: Primary and Secondary network configuration in case of RPi
Diffstat (limited to 'recipes-test/demo-network-config/primary-network-config.bb')
-rw-r--r-- | recipes-test/demo-network-config/primary-network-config.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/recipes-test/demo-network-config/primary-network-config.bb b/recipes-test/demo-network-config/primary-network-config.bb index c7daa15..d840a95 100644 --- a/recipes-test/demo-network-config/primary-network-config.bb +++ b/recipes-test/demo-network-config/primary-network-config.bb | |||
@@ -18,8 +18,10 @@ do_install() { | |||
18 | } | 18 | } |
19 | 19 | ||
20 | PRIMARY_IP ?= "10.0.3.1" | 20 | PRIMARY_IP ?= "10.0.3.1" |
21 | |||
21 | IP_ADDR = "${PRIMARY_IP}" | 22 | IP_ADDR = "${PRIMARY_IP}" |
23 | CONF_TYPE ?= "${@ 'multihomed' if d.getVar('MACHINE') == 'raspberrypi3' and d.getVar('RPI_WIFI_ENABLE') != '1' else 'static'}" | ||
22 | 24 | ||
23 | require static-network-config.inc | 25 | require network-config.inc |
24 | 26 | ||
25 | # vim:set ts=4 sw=4 sts=4 expandtab: | 27 | # vim:set ts=4 sw=4 sts=4 expandtab: |