summaryrefslogtreecommitdiff
path: root/mmfw-sysconf-hawkp/usr/etc/gstreamer-registry.sh
diff options
context:
space:
mode:
Diffstat (limited to 'mmfw-sysconf-hawkp/usr/etc/gstreamer-registry.sh')
-rwxr-xr-xmmfw-sysconf-hawkp/usr/etc/gstreamer-registry.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/mmfw-sysconf-hawkp/usr/etc/gstreamer-registry.sh b/mmfw-sysconf-hawkp/usr/etc/gstreamer-registry.sh
new file mode 100755
index 0000000..5ab7045
--- /dev/null
+++ b/mmfw-sysconf-hawkp/usr/etc/gstreamer-registry.sh
@@ -0,0 +1,13 @@
+# Make GStreamer registry
+
+export GST_REGISTRY=/usr/share/.gstreamer-0.10/registry.bin
+
+/usr/bin/gst-inspect-0.10
+
+chmod 666 /usr/share/.gstreamer-0.10/registry.bin
+
+chown app:app /usr/share/.gstreamer-0.10 -R
+
+chsmack -a "_" /usr/share/.gstreamer-0.10/registry.bin
+
+chsmack -a "system::homedir" /usr/share/.gstreamer-0.10/