summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>2018-10-16 18:20:27 +0200
committerJan-Simon Möller <jsmoeller@linuxfoundation.org>2018-10-19 11:39:37 +0200
commit102af40f38dc838a6df5c0b9c66f5d4fb2614a41 (patch)
treeffee5ea2cf020b80e6502726499ef71e4bdfb1c5
parentf8309dccdd75e47ddc4d9e76110e849f12516ce7 (diff)
Add necessary DISTRO_FEATURES to gstrecorder template
These are missing to enable the whole machinery on the sender side. CAVEAT: The network between sender and receiver needs to be up (192.168.20.x/24) or weston will not start! Change-Id: Ib478f0840dd3e6d28f9ca14540302c872c5bcd7b Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
-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
+