diff options
author | Phil Wise <phil@advancedtelematic.com> | 2018-03-19 16:31:31 +0100 |
---|---|---|
committer | Phil Wise <phil@advancedtelematic.com> | 2018-03-19 16:31:31 +0100 |
commit | fc8f9b4b1721a029a30bf41e6086cfbff085089d (patch) | |
tree | 1251f3656efe0504f1cefec590fe2a6280a1e5ac /recipes-test/images | |
parent | c3c8d56af6daac3c1eb38118f683db430af48d63 (diff) | |
download | meta-updater-fc8f9b4b1721a029a30bf41e6086cfbff085089d.tar.gz |
Add a --secondary-network option to run-qemu-ota
This sets up a simulated 'in vehicle' network. Add support for a Primary node
with a DHCP server and a secondary node with a DHCP client.
Diffstat (limited to 'recipes-test/images')
-rw-r--r-- | recipes-test/images/primary-image.bb | 12 | ||||
-rw-r--r-- | recipes-test/images/secondary-image.bb | 5 |
2 files changed, 16 insertions, 1 deletions
diff --git a/recipes-test/images/primary-image.bb b/recipes-test/images/primary-image.bb new file mode 100644 index 0000000..6c06527 --- /dev/null +++ b/recipes-test/images/primary-image.bb | |||
@@ -0,0 +1,12 @@ | |||
1 | include recipes-core/images/core-image-minimal.bb | ||
2 | |||
3 | SUMMARY = "A minimal Uptane Primary image running aktualizr, for testing with a Linux secondary" | ||
4 | |||
5 | LICENSE = "MIT" | ||
6 | |||
7 | IMAGE_INSTALL_remove = " \ | ||
8 | " | ||
9 | |||
10 | IMAGE_INSTALL_append = " \ | ||
11 | primary-network-config \ | ||
12 | " | ||
diff --git a/recipes-test/images/secondary-image.bb b/recipes-test/images/secondary-image.bb index c7a91db..c1ce57a 100644 --- a/recipes-test/images/secondary-image.bb +++ b/recipes-test/images/secondary-image.bb | |||
@@ -15,4 +15,7 @@ IMAGE_INSTALL_remove = " \ | |||
15 | aktualizr-implicit-prov \ | 15 | aktualizr-implicit-prov \ |
16 | " | 16 | " |
17 | 17 | ||
18 | IMAGE_INSTALL_append = " aktualizr-secondary " \ No newline at end of file | 18 | IMAGE_INSTALL_append = " \ |
19 | aktualizr-secondary \ | ||
20 | secondary-network-config \ | ||
21 | " | ||