generic-poky/meta/recipes-graphics/x11-common
Ricardo Ribalda Delgado 1d0e217023 xserver-nodm: Support reboot from inside X
If reboot was called from inside the Xserver there could happen a race
condition where chvt would never end, and therefore the whole system was
stalled.

The user could not recover the system by ssh the machine or using the
keyboard.

Running chvt in background fixes the issue.

Also move sleep 1s inside stop to give time for killproc xinit for
fix issue when chvt 1 don't work because X server is still running.

(From OE-Core rev: 19eaf4a59f4545e049f525d0b0446a9c08d18f0f)

Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-05-30 22:26:14 +01:00
..
x11-common meta: fix no newline at end of file 2014-07-03 17:41:16 +01:00
xserver-nodm-init xserver-nodm: Support reboot from inside X 2015-05-30 22:26:14 +01:00
x11-common_0.1.bb recipes: add x11 to required DISTRO_FEATURES 2015-03-10 10:47:38 +00:00
xserver-nodm-init.bb xserver-nodm-init: Only start in runlevel 5 2014-09-03 11:09:03 +01:00