From 80384c3824aa4c6d7a30dd74949b90b711006034 Mon Sep 17 00:00:00 2001 From: Leonardo Graboski Veiga Date: Wed, 29 Mar 2017 10:34:21 +0200 Subject: hdmi-hotplug: fix issue for the apalis/colibri tegra modules The hdmi.sh script, triggered by udev, export the DISPLAY environment variable and uses the Xauthority configuration file to enable xrandr to run. Also restarts LXDE after xrandr, adjusting the taskbar length to the new display width. Signed-off-by: Leonardo Graboski Veiga Acked-by: Marcel Ziswiler --- recipes-core/hdmi-hotplug/hdmi-hotplug.bb | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'recipes-core/hdmi-hotplug/hdmi-hotplug.bb') diff --git a/recipes-core/hdmi-hotplug/hdmi-hotplug.bb b/recipes-core/hdmi-hotplug/hdmi-hotplug.bb index 5c75d52..6147243 100644 --- a/recipes-core/hdmi-hotplug/hdmi-hotplug.bb +++ b/recipes-core/hdmi-hotplug/hdmi-hotplug.bb @@ -9,9 +9,15 @@ PR = "r1" PACKAGE_ARCH = "all" -SRC_URI = "file://hdmi.rules" +SRC_URI = " \ + file://hdmi.rules \ + file://hdmi.sh \ +" do_install() { install -d ${D}/${sysconfdir}/udev/rules.d install -m 0644 ${WORKDIR}/hdmi.rules ${D}/${sysconfdir}/udev/rules.d/ + + install -d ${D}/${sysconfdir}/udev/scripts + install -m 0755 ${WORKDIR}/hdmi.sh ${D}/${sysconfdir}/udev/scripts/ } -- cgit v1.2.3