From 9153078094ced14ad313fdafde302ba385d9a6b6 Mon Sep 17 00:00:00 2001 From: Ronan Date: Fri, 20 Jan 2017 16:30:39 +0100 Subject: Move feature code into the meta recipes * Having a minimlal local.conf serving the only purpose of user customization is the "Yocto" way of doing things * After a source synchronization (repo sync), feature code must be update without regenerate local.conf * move feature/agl-demo to meta-agl-demo Change-Id: I6db3956da8091bf583b20fce7dc184bfe622a85a Signed-off-by: Ronan --- meta-sota/conf/include/agl-sota.inc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 meta-sota/conf/include/agl-sota.inc (limited to 'meta-sota/conf') diff --git a/meta-sota/conf/include/agl-sota.inc b/meta-sota/conf/include/agl-sota.inc new file mode 100644 index 0000000..4960e1a --- /dev/null +++ b/meta-sota/conf/include/agl-sota.inc @@ -0,0 +1,15 @@ +DISTRO_FEATURES_append = " agl-ota" +OVERRIDES .= ":sota" + +IMAGE_INSTALL_append = " ostree" + +# live image for OSTree-enabled systems +IMAGE_CLASSES += "image_types_ostree image_types_ota" +IMAGE_FSTYPES += "ostreepush otaimg" + +# Please redefine OSTREE_REPO in order to have a persistent OSTree repo +OSTREE_REPO ?= "${DEPLOY_DIR_IMAGE}/ostree_repo" +OSTREE_BRANCHNAME ?= "agl-ota-${MACHINE}" +OSTREE_OSNAME ?= "agl" +OSTREE_INITRAMFS_IMAGE ?= "initramfs-ostree-image" + -- cgit 1.2.3-korg