mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-03-01 14:31:11 +00:00
Imported using git-ubuntu import. Changelog parent: aca40d6ebfe51f31b27d745d4b21b8b724c7582b New changelog entries: [ Michael Vogt ] * update kernel snap building to match the new kernel policy * system-image: add /usr/local/bin/xdg-open dbus helper [ Oliver Grawert ] * add u-boot-tools to all snappy arches * drop flash-kernel from snappy, it is useless there * create /boot/uboot dir on all arches and configure /etc/fw_env.config everywhere * adjust motd message on snappy (capitalize "Snappy Ubuntu Core" and replace the "snappy --help" with "snap --help" [ Adam Conrad ] * Stop explicitly removing systemd-sysv for touch. * Move touch resolution hints to a HINTS variable, and adjust for use on dual-stack gl/gles arches where things don't quite work right.
17 lines
344 B
Bash
17 lines
344 B
Bash
#!/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 <<EOF
|
|
#!/bin/sh
|
|
cat <<'EOF'
|
|
dbus-send --print-reply --session --dest=com.canonical.SafeLauncher / com.canonical.SafeLauncher.OpenURL string:"$1"
|
|
EOF
|
|
chmod 755 $PREFIX/usr/local/bin/xdg-open
|
|
|