mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-24 23:21:17 +02:00
In http://codereview.chromium.org/6567004 in order to help developers stopping factory UI, we've added an "chvt 2". However changing foreground terminal may hang when executing "shutdown -r" inside Wipe test. Removing the "chvt" call solved this issue. The only side effect is that developers executing "initctl stop factory" may end seeing a black scren - and they need to hit Ctrl-Alt-F2 to get the console back. BUG=chrome-os-partner:2631 TEST=build a factory image then verified following steps: (1) in VT2, do "initctl stop factory, then C-A-F2: screen changed to VT2. (2) Execute factory tests until Wipe: reboots immediately when X closed (3) Execute Reboot in HWID test: reboots immediately when 'reboot' is ACTIVE Change-Id: Ib6f44a6ad07db08862929179d0fe21cbbcc2b22a Review URL: http://codereview.chromium.org/6621041
Description
Languages
Shell
93.1%
Python
6.9%