summaryrefslogtreecommitdiffstats
path: root/recipes-test/images
diff options
context:
space:
mode:
authorPhil Wise <phil@advancedtelematic.com>2018-03-19 16:31:31 +0100
committerPhil Wise <phil@advancedtelematic.com>2018-03-19 16:31:31 +0100
commitfc8f9b4b1721a029a30bf41e6086cfbff085089d (patch)
tree1251f3656efe0504f1cefec590fe2a6280a1e5ac /recipes-test/images
parentc3c8d56af6daac3c1eb38118f683db430af48d63 (diff)
downloadmeta-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.bb12
-rw-r--r--recipes-test/images/secondary-image.bb5
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 @@
1include recipes-core/images/core-image-minimal.bb
2
3SUMMARY = "A minimal Uptane Primary image running aktualizr, for testing with a Linux secondary"
4
5LICENSE = "MIT"
6
7IMAGE_INSTALL_remove = " \
8 "
9
10IMAGE_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
18IMAGE_INSTALL_append = " aktualizr-secondary " \ No newline at end of file 18IMAGE_INSTALL_append = " \
19 aktualizr-secondary \
20 secondary-network-config \
21 "