Cros_sdk does not create chroot

16 views
Skip to first unread message

Nick McSherry

unread,
Mar 6, 2023, 11:54:58 PM3/6/23
to ChromiumOS Development


I downloaded the source and get to 
and when i run cros_sdk it gives me its help menu.

nick@zbook:~/external_development/chromiumos$ cros_sdk
usage: cros [-h] [--log-level {fatal,critical,error,warning,notice,info,debug}] [--log-format LOG_FORMAT] [-v] [--debug] [--color] [--no-color]
            [--cache-dir CACHE_DIR]
            {analyze-image,ap,build,buildresult,chrome-sdk,cidbcreds,clean,clean-outdated-pkgs,debug,deploy,fix,flash,format,lint,shell,stage,try,tryjob,umount,unmount,workon,help}
            ...

optional arguments:
  -h, --help            show this help message and exit

Debug options:
  --log-level {fatal,critical,error,warning,notice,info,debug}
                        Set logging level to report at.
  --log-format LOG_FORMAT
                        Set logging format to use.
  -v, --verbose         Alias for `--log-level=info`.
  --debug               Alias for `--log-level=debug`. Useful for debugging bugs/failures.
  --color               Colorize output (default: auto-detect).
  --no-color, --nocolor
                        Do not colorize output (or `export NOCOLOR=true`).

Caching Options:
  --cache-dir CACHE_DIR
                        Override the calculated chromeos cache directory; typically defaults to '$REPO/.cache' .

Subcommands:
  {analyze-image,ap,build,buildresult,chrome-sdk,cidbcreds,clean,clean-outdated-pkgs,debug,deploy,fix,flash,format,lint,shell,stage,try,tryjob,umount,unmount,workon,help}

I have tried giving it subcommands as well, but it always gives the same help message.

Nick McSherry

unread,
Mar 7, 2023, 11:43:05 AM3/7/23
to ChromiumOS Development, Nick McSherry
I was able to successfully create a chroot by calling ./chromite/bin/cros_sdk
Reply all
Reply to author
Forward
0 new messages