This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch feature/openbox-magic-pixel-workaround-buster
in repository live-build-x2go.

commit eab5b9ec6946b08e6ecf2929e283e4915ba17b03
Author: Stefan Baur <[email protected]>
Date:   Tue Oct 1 17:39:47 2019 +0200

    errormessage "can't create /sys/class/graphics/fb0/blank: nonexistent 
directory" during boot hints at the directory being deleted and recreated 
during our commands
    (we wouldn't be at the particular position in the code, had the directory 
never existed at all), so we'll wait until it (re)appears before issuing our 
command
---
 config/includes.chroot/lib/live/config/0000-earlyblankdpmsfix | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/config/includes.chroot/lib/live/config/0000-earlyblankdpmsfix 
b/config/includes.chroot/lib/live/config/0000-earlyblankdpmsfix
index 9ed721f..3d57939 100755
--- a/config/includes.chroot/lib/live/config/0000-earlyblankdpmsfix
+++ b/config/includes.chroot/lib/live/config/0000-earlyblankdpmsfix
@@ -28,8 +28,14 @@ if grep -q '\W*earlyblankdpmsfix[=\W]*' /proc/cmdline; then
                fi
 
                for FBDEVICE in /sys/class/graphics/fb[0-9]*; do
+                       while ! [ -d $FBDEVICE ] ; do
+                               $SLEEPCOMMAND
+                       done
                        echo 1 > $FBDEVICE/blank
                        $SLEEPCOMMAND
+                       while ! [ -d $FBDEVICE ] ; do
+                               $SLEEPCOMMAND
+                       done
                        echo 0 > $FBDEVICE/blank
                done
        ) &

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on 
/srv/git/code.x2go.org/live-build-x2go.git
_______________________________________________
x2go-commits mailing list
[email protected]
https://lists.x2go.org/listinfo/x2go-commits

Reply via email to