summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2018-10-20 13:22:19 +0000
committerGerrit Code Review <gerrit@automotivelinux.org>2018-10-20 13:22:19 +0000
commitbbbc9ac32853a5b7e06176be75e159dc279bf155 (patch)
tree1b4bf0fc106dae97ca9020ab7e8a84121e09dad1
parent19584c03ff8d1ed079cfbbe4e8009940c7864133 (diff)
parent102af40f38dc838a6df5c0b9c66f5d4fb2614a41 (diff)
Merge "Add necessary DISTRO_FEATURES to gstrecorder template"
-rw-r--r--meta-gstrecorder-rcar-gen3/conf/include/agl_gstrecorder.inc1
-rw-r--r--templates/feature/agl-gstrecorder/50_local.conf.inc4
-rwxr-xr-xtemplates/feature/agl-gstrecorder/50_setupwarning.sh14
3 files changed, 18 insertions, 1 deletions
diff --git a/meta-gstrecorder-rcar-gen3/conf/include/agl_gstrecorder.inc b/meta-gstrecorder-rcar-gen3/conf/include/agl_gstrecorder.inc
new file mode 100644
index 00000000..b2814c7d
--- /dev/null
+++ b/meta-gstrecorder-rcar-gen3/conf/include/agl_gstrecorder.inc
@@ -0,0 +1 @@
+DISTRO_FEATURES_append = " gst-record virt-display"
diff --git a/templates/feature/agl-gstrecorder/50_local.conf.inc b/templates/feature/agl-gstrecorder/50_local.conf.inc
index a5dc17bb..44338ee1 100644
--- a/templates/feature/agl-gstrecorder/50_local.conf.inc
+++ b/templates/feature/agl-gstrecorder/50_local.conf.inc
@@ -1,2 +1,4 @@
#see meta-agl-devel/meta-gstrecorder-rcar-gen3/conf/include/agl_gstrecorder.inc
-#require conf/include/agl_gstrecorder.inc
+require conf/include/agl_gstrecorder.inc
+
+
diff --git a/templates/feature/agl-gstrecorder/50_setupwarning.sh b/templates/feature/agl-gstrecorder/50_setupwarning.sh
new file mode 100755
index 00000000..ae6b1312
--- /dev/null
+++ b/templates/feature/agl-gstrecorder/50_setupwarning.sh
@@ -0,0 +1,14 @@
+#Note to the user!
+
+echo "##################################"
+echo "# ATTENTION: the network between #"
+echo "# sender and receiver of the #"
+echo "# gstrecorder feed needs to be #"
+echo "# configured or #"
+echo "# WESTON WILL FAIL TO START ! #"
+echo "# #"
+echo "# (hint: 192.168.20.x) #"
+echo "##################################"
+
+sleep 2
+