tree: cea4b9764b229149ec4f6c753d4ffa9e648b6c14 [path history] [tgz]
  1. BUILD.gn
  2. README.md
  3. autorun.cc
  4. autorun.h
  5. console_launcher.cc
  6. console_launcher.h
  7. console_launcher_unittest.cc
  8. main.cc
  9. meta/
  10. qemu-tests/
  11. shell-permissions-test.cc
  12. virtcon-setup-unittests.cc
  13. virtcon-setup.cc
  14. virtcon-setup.h
src/bringup/bin/console-launcher/README.md

console-launcher

The console-launcher component is responsible for launching the console on the debug serial connection. This component will relaunch the console if it ever quits.

This component can be configured by the the following kernel commandline options:

  • console.shell
  • console.is_virtio
  • console.path
  • TERM

Console-launcher should be built and launched automatically in every configuration. Console-launcher will decide if the console should be launched depending on the kernel commandline arguments.

Testing

Unit tests for console-launcher are available in the console-launcher-tests package.

$ fx test console-launcher-tests