Skip to content

[RFC] enable sof-test on ChromeOS #576

@aiChaoSONG

Description

@aiChaoSONG

I can make sof-test/test-case/check-playback.sh run on ChromeOS, but there are some issues.
terminal.txt

  1. the visudo configuration seems only takes effect once.
  2. there is no /var/log/kern.log file.
  3. the sudo funciton in hijack.sh report a library issue, but the file does exist on the system.
dmesg: error while loading shared libraries: libtinfow.so.6: cannot open shared object file: No such file or directory
  1. no sudo group on ChromeOS
  2. we have to specify bash or python3 when run shell/python scripts, check https://chromium.googlesource.com/chromiumos/docs/+/master/security/noexec_shell_scripts.md
  3. journalctl require root permission

How dependencies are installed?

  • I found a package management tool named chromebrew, this tool can help to install dependencies as apt did for us.
  • python3 dependencies should be installed with pip3
  • this tool can not run with root.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Low-impact bugs or featurestype:discussionOpen ended discussion topictype:enhancementNew framework feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions