From d436f951c33ff576f11a1efc6d35627973ec244b Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Fri, 13 May 2016 11:43:15 -0700 Subject: [PATCH] system-image: add /usr/local/bin/xdg-open dbus helper --- debian/changelog | 1 + .../ubuntu-core/hooks/500-create-xdg-wrapper | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 live-build/ubuntu-core/hooks/500-create-xdg-wrapper diff --git a/debian/changelog b/debian/changelog index 08588a1a..2b73bf3c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,7 @@ livecd-rootfs (2.411) UNRELEASED; urgency=medium * update kernel snap building to match the new kernel policy + * system-image: add /usr/local/bin/xdg-open dbus helper -- Michael Vogt Tue, 10 May 2016 18:16:56 -0700 diff --git a/live-build/ubuntu-core/hooks/500-create-xdg-wrapper b/live-build/ubuntu-core/hooks/500-create-xdg-wrapper new file mode 100644 index 00000000..ea209c40 --- /dev/null +++ b/live-build/ubuntu-core/hooks/500-create-xdg-wrapper @@ -0,0 +1,16 @@ +#!/bin/sh + +set -ex + +echo "I: Creating xdg helper" + +PREFIX=binary/boot/filesystem.dir + +mkdir -p $PREFIX/usr/local/bin +cat >$PREFIX/usr/local/bin/xdg-open <