summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorAnton Gerasimov <anton@advancedtelematic.com>2016-11-22 17:56:49 +0100
committerAnton Gerasimov <anton@advancedtelematic.com>2016-11-22 17:56:49 +0100
commita3d37334b9911fcea5a824c2f2f56b3cdbd57efd (patch)
tree2ec22eba54544321775d8ebaae33c6390208c196 /templates
parent5c2171ae14a6dc56d6e2d13b9d1fb7f4690c4e9d (diff)
downloadmeta-updater-a3d37334b9911fcea5a824c2f2f56b3cdbd57efd.tar.gz
Add distro configuration and AGL templates
Diffstat (limited to 'templates')
-rw-r--r--templates/README.md10
-rw-r--r--templates/feature/agl-sota/50_bblayers.conf.inc7
-rw-r--r--templates/feature/agl-sota/50_local.conf.inc15
3 files changed, 32 insertions, 0 deletions
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 @@
1AGL templates
2=============
3
4This directory contains templates for integration with AGL's aglsetup.sh.
5To 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
9For 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 @@
1BBLAYERS =+ " \
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 @@
1DISTRO_FEATURES_append = " agl-ota"
2OVERRIDES .= ":sota"
3
4IMAGE_INSTALL_append = " ostree"
5
6# live image for OSTree-enabled systems
7IMAGE_CLASSES += "image_types_ostree image_types_ota"
8IMAGE_FSTYPES += "ostreepush otaimg"
9
10# Please redefine OSTREE_REPO in order to have a persistent OSTree repo
11OSTREE_REPO ?= "${DEPLOY_DIR_IMAGE}/ostree_repo"
12OSTREE_BRANCHNAME ?= "ota-${MACHINE}"
13OSTREE_OSNAME ?= "ota"
14OSTREE_INITRAMFS_IMAGE ?= "initramfs-ostree-image"
15