From 71d72cf4314194effb12b6b69a9e48fc2c6aaa88 Mon Sep 17 00:00:00 2001 From: Albert Zhang Date: Sun, 7 Sep 2014 22:27:32 +0800 Subject: fix screenshot-fullscreen-video stuck issue --- debian/changelog | 6 ++++++ debian/plainbox-provider-oem.postinst | 14 ++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 debian/plainbox-provider-oem.postinst (limited to 'debian') 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 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 -- cgit v1.2.3