summaryrefslogtreecommitdiff
diff options
-rw-r--r--debian/changelog6
-rw-r--r--debian/plainbox-provider-oem.postinst14
2 files changed, 20 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 4970a89..2a566d3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+plainbox-provider-oem (0.1ubuntu25) trusty; urgency=high
+
+ * fix screenshot-fullscreen-video stuck issue
+
+ -- Albert Zhang <albert.zhang@canonical.com> Sun, 07 Sep 2014 22:06:52 +0800
+
plainbox-provider-oem (0.1ubuntu24) trusty; urgency=high
* fix sutton-full for graphic tests
diff --git a/debian/plainbox-provider-oem.postinst b/debian/plainbox-provider-oem.postinst
new file mode 100644
index 0000000..6425189
--- /dev/null
+++ b/debian/plainbox-provider-oem.postinst
@@ -0,0 +1,14 @@
+#!/bin/sh -e
+
+action="$1"
+oldversion="$2"
+
+if [ "$action" != configure ]; then
+ exit 0
+fi
+
+# fix the graphic stuck issue
+GRAPHICJOB=/usr/share/2013.com.canonical.certification\:checkbox/jobs/graphics.txt.in
+sed -i '/ dbus-launch [^>]*$/s#$# >/dev/null 2>\&1#' "$GRAPHICJOB"
+
+exit 0