summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--templates/feature/agl-appfw-smack/50_bblayers.conf.inc7
-rw-r--r--templates/feature/agl-appfw-smack/50_local.conf.inc12
-rw-r--r--templates/feature/agl-appfw-smack/bblayers.conf.inc0
-rw-r--r--templates/feature/agl-appfw-smack/local.conf.inc0
-rw-r--r--templates/feature/agl-demo/50_bblayers.conf.inc15
-rw-r--r--templates/feature/agl-demo/50_local.conf.inc6
-rw-r--r--templates/feature/agl-localdev/80_bblayers.conf.inc3
-rw-r--r--templates/feature/agl-localdev/80_local.conf.inc2
8 files changed, 45 insertions, 0 deletions
diff --git a/templates/feature/agl-appfw-smack/50_bblayers.conf.inc b/templates/feature/agl-appfw-smack/50_bblayers.conf.inc
new file mode 100644
index 0000000..6badef1
--- /dev/null
+++ b/templates/feature/agl-appfw-smack/50_bblayers.conf.inc
@@ -0,0 +1,7 @@
+BBLAYERS =+ " \
+ ${METADIR}/meta-agl/meta-agl-security \
+ ${METADIR}/meta-intel-iot-security/meta-security-smack \
+ ${METADIR}/meta-intel-iot-security/meta-security-framework \
+ ${METADIR}/meta-agl-extra/meta-app-framework \
+ "
+
diff --git a/templates/feature/agl-appfw-smack/50_local.conf.inc b/templates/feature/agl-appfw-smack/50_local.conf.inc
new file mode 100644
index 0000000..90862cb
--- /dev/null
+++ b/templates/feature/agl-appfw-smack/50_local.conf.inc
@@ -0,0 +1,12 @@
+# enable security features (smack, cynara) - required by Application Framework
+OVERRIDES .= ":smack"
+DISTRO_FEATURES_append = " smack dbus-cynara"
+
+# use tar-native to support SMACK extended attributes independently of host config
+IMAGE_CMD_TAR = "tar --xattrs-include='*'"
+IMAGE_DEPENDS_tar_append = " tar-replacement-native"
+EXTRANATIVEPATH += "tar-native"
+
+# security: enable ssh server in place of dropbear to support PAM on user sessions
+IMAGE_FEATURES += "ssh-server-openssh"
+
diff --git a/templates/feature/agl-appfw-smack/bblayers.conf.inc b/templates/feature/agl-appfw-smack/bblayers.conf.inc
deleted file mode 100644
index e69de29..0000000
--- a/templates/feature/agl-appfw-smack/bblayers.conf.inc
+++ /dev/null
diff --git a/templates/feature/agl-appfw-smack/local.conf.inc b/templates/feature/agl-appfw-smack/local.conf.inc
deleted file mode 100644
index e69de29..0000000
--- a/templates/feature/agl-appfw-smack/local.conf.inc
+++ /dev/null
diff --git a/templates/feature/agl-demo/50_bblayers.conf.inc b/templates/feature/agl-demo/50_bblayers.conf.inc
new file mode 100644
index 0000000..e572388
--- /dev/null
+++ b/templates/feature/agl-demo/50_bblayers.conf.inc
@@ -0,0 +1,15 @@
+# This layer contains the WIP feature/demo code only
+#---------------------------------------------------
+BBLAYERS =+ " \
+ ${METADIR}/meta-agl-demo \
+"
+
+# These are the dependencies of the AGL DEMO Layer
+#-------------------------------------------------
+BBLAYERS =+ " \
+ ${METADIR}/meta-openembedded/meta-filesystems \
+ ${METADIR}/meta-openembedded/meta-ruby \
+ ${METADIR}/meta-qt5 \
+ ${METADIR}/meta-rust \
+"
+
diff --git a/templates/feature/agl-demo/50_local.conf.inc b/templates/feature/agl-demo/50_local.conf.inc
new file mode 100644
index 0000000..1cf1ff4
--- /dev/null
+++ b/templates/feature/agl-demo/50_local.conf.inc
@@ -0,0 +1,6 @@
+EXTRA_IMAGE_FEATURES =+ "debug-tweaks"
+
+# Add webkit as workaround as webengine is broken right now
+IMAGE_INSTALL_append = " qtwebkit qtwebkit-examples-examples"
+#IMAGE_INSTALL_append = " qtsmarthome cinematicexperience qt5everywheredemo qt5-demo-extrafiles"
+#IMAGE_INSTALL_append = " qtwebengine-examples"
diff --git a/templates/feature/agl-localdev/80_bblayers.conf.inc b/templates/feature/agl-localdev/80_bblayers.conf.inc
new file mode 100644
index 0000000..d9bb9d0
--- /dev/null
+++ b/templates/feature/agl-localdev/80_bblayers.conf.inc
@@ -0,0 +1,3 @@
+# Local derivations during development, just add a layer in the folder meta-localdev
+BBLAYERS =+ "${@'${METADIR}/meta-localdev' if os.path.exists('${METADIR}/meta-localdev') else ''}"
+
diff --git a/templates/feature/agl-localdev/80_local.conf.inc b/templates/feature/agl-localdev/80_local.conf.inc
new file mode 100644
index 0000000..6c92135
--- /dev/null
+++ b/templates/feature/agl-localdev/80_local.conf.inc
@@ -0,0 +1,2 @@
+# (weak) include userspecific local.dev.inc
+include local.dev.inc