diff options
author | Anton Gerasimov <anton@advancedtelematic.com> | 2016-11-22 17:56:49 +0100 |
---|---|---|
committer | Anton Gerasimov <anton@advancedtelematic.com> | 2016-11-22 17:56:49 +0100 |
commit | a3d37334b9911fcea5a824c2f2f56b3cdbd57efd (patch) | |
tree | 2ec22eba54544321775d8ebaae33c6390208c196 | |
parent | 5c2171ae14a6dc56d6e2d13b9d1fb7f4690c4e9d (diff) | |
download | meta-updater-a3d37334b9911fcea5a824c2f2f56b3cdbd57efd.tar.gz |
Add distro configuration and AGL templates
-rw-r--r-- | README.md | 4 | ||||
-rw-r--r-- | conf/distro/sota.conf.inc | 12 | ||||
-rw-r--r-- | templates/README.md | 10 | ||||
-rw-r--r-- | templates/feature/agl-sota/50_bblayers.conf.inc | 7 | ||||
-rw-r--r-- | templates/feature/agl-sota/50_local.conf.inc | 15 |
5 files changed, 48 insertions, 0 deletions
@@ -16,6 +16,10 @@ OSTree. | |||
16 | Build | 16 | Build |
17 | ----- | 17 | ----- |
18 | 18 | ||
19 | ### Build with OpenIVI ### | ||
20 | ### Build from scratch ### | ||
21 | ### Build in AGL ### | ||
22 | |||
19 | With AGL you can just add agl-sota feature while configuring your build | 23 | With AGL you can just add agl-sota feature while configuring your build |
20 | environment as in | 24 | environment as in |
21 | 25 | ||
diff --git a/conf/distro/sota.conf.inc b/conf/distro/sota.conf.inc new file mode 100644 index 0000000..c7f8cde --- /dev/null +++ b/conf/distro/sota.conf.inc | |||
@@ -0,0 +1,12 @@ | |||
1 | IMAGE_INSTALL_append_sota = " rvi-sota-client" | ||
2 | |||
3 | # live image for OSTree-enabled systems | ||
4 | IMAGE_CLASSES_append_sota = "image_types_ostree image_types_ota" | ||
5 | IMAGE_FSTYPES += "ostreepush otaimg" | ||
6 | |||
7 | # Please redefine OSTREE_REPO in order to have a persistent OSTree repo | ||
8 | OSTREE_REPO ?= "${DEPLOY_DIR_IMAGE}/ostree_repo" | ||
9 | OSTREE_BRANCHNAME ?= "ota-${MACHINE}" | ||
10 | OSTREE_OSNAME ?= "poky" | ||
11 | OSTREE_INITRAMFS_IMAGE ?= "initramfs-ostree-image" | ||
12 | |||
diff --git a/templates/README.md b/templates/README.md new file mode 100644 index 0000000..f43a67e --- /dev/null +++ b/templates/README.md | |||
@@ -0,0 +1,10 @@ | |||
1 | AGL templates | ||
2 | ============= | ||
3 | |||
4 | This directory contains templates for integration with AGL's aglsetup.sh. | ||
5 | To use meta-updater with AGL, 'agl-sota' to the list of features as in: | ||
6 | |||
7 | source meta-agl/scripts/aglsetup.sh -m raspberrypi3 agl-demo agl-netboot agl-appfw-smack agl-sota | ||
8 | |||
9 | For more information see [AGL documentation](https://wiki.automotivelinux.org/subsystem/agl-sota/ostree) | ||
10 | |||
diff --git a/templates/feature/agl-sota/50_bblayers.conf.inc b/templates/feature/agl-sota/50_bblayers.conf.inc new file mode 100644 index 0000000..0a5440b --- /dev/null +++ b/templates/feature/agl-sota/50_bblayers.conf.inc | |||
@@ -0,0 +1,7 @@ | |||
1 | BBLAYERS =+ " \ | ||
2 | ${METADIR}/meta-agl-extra/meta-sota \ | ||
3 | ${METADIR}/meta-openembedded/meta-filesystems \ | ||
4 | ${METADIR}/meta-openembedded/meta-ruby \ | ||
5 | ${METADIR}/meta-rust \ | ||
6 | " | ||
7 | |||
diff --git a/templates/feature/agl-sota/50_local.conf.inc b/templates/feature/agl-sota/50_local.conf.inc new file mode 100644 index 0000000..8d21c17 --- /dev/null +++ b/templates/feature/agl-sota/50_local.conf.inc | |||
@@ -0,0 +1,15 @@ | |||
1 | DISTRO_FEATURES_append = " agl-ota" | ||
2 | OVERRIDES .= ":sota" | ||
3 | |||
4 | IMAGE_INSTALL_append = " ostree" | ||
5 | |||
6 | # live image for OSTree-enabled systems | ||
7 | IMAGE_CLASSES += "image_types_ostree image_types_ota" | ||
8 | IMAGE_FSTYPES += "ostreepush otaimg" | ||
9 | |||
10 | # Please redefine OSTREE_REPO in order to have a persistent OSTree repo | ||
11 | OSTREE_REPO ?= "${DEPLOY_DIR_IMAGE}/ostree_repo" | ||
12 | OSTREE_BRANCHNAME ?= "ota-${MACHINE}" | ||
13 | OSTREE_OSNAME ?= "ota" | ||
14 | OSTREE_INITRAMFS_IMAGE ?= "initramfs-ostree-image" | ||
15 | |||