I am setting up chromiumos code on my new Z620 machine. After repo sync, when I try cros_sdk to build a chroot, I get this error.
~/chromiumos$ cros_sdk
chmod: cannot access `/usr/local/FASTMAN/code/chromiumos/chroot/var/lock': No such file or directory
ERROR cros_sdk:enter_chroot: script called: '--chroot' '/usr/local/FASTMAN/code/chromiumos/chroot' '--cache_dir' '/usr/local/FASTMAN/code/chromiumos/.cache'
ERROR cros_sdk:enter_chroot: Backtrace: (most recent call is last)
ERROR cros_sdk:enter_chroot: file enter_chroot.sh, line 92, called: die_err_trap 'chmod 0777 "$FLAGS_chroot/var/lock"' '1'
ERROR cros_sdk:enter_chroot:
ERROR cros_sdk:enter_chroot: Command failed:
ERROR cros_sdk:enter_chroot: Command 'chmod 0777 "$FLAGS_chroot/var/lock"' exited with nonzero code: 1
Thanks,
Rohit