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 /templates | |
parent | 5c2171ae14a6dc56d6e2d13b9d1fb7f4690c4e9d (diff) | |
download | meta-updater-a3d37334b9911fcea5a824c2f2f56b3cdbd57efd.tar.gz |
Add distro configuration and AGL templates
Diffstat (limited to 'templates')
-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 |
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 @@ | |||
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 | |||