2016-11-27 134 views
0

当我按照Chromium OS Developer Guide运行:./ build_image --board = $ {BOARD} --noenable_rootfs_verification dev的我遇到Chromium OS构建映像:mkdir:无法创建目录'/ mnt/host/source/src/build':权限被拒绝

mkdir: cannot create directory ‘/mnt/host/source/src/build’: Permission denied 
ERROR : 2016year 11month 27day Sunday 13:10:03 CST 
ERROR : PGID PPID PID  ELAPSED  TIME %CPU COMMAND 
ERROR : 12  6 12 01:29:43 00:00:00 0.0 -bash 
ERROR : 14953 12 14953  00:08 00:00:00 1.1 \_ /bin/bash ./build_image --board=x86-generic --noenable_rootfs_verification dev 
ERROR : 14953 14953 15284  00:00 00:00:00 0.0  \_ /bin/bash ./build_image --board=x86-generic --noenable_rootfs_verification dev 
ERROR : 14953 15284 15285  00:00 00:00:00 0.0   \_ ps f -o pgid,ppid,pid,etime,cputime,%cpu,command 
ERROR : Arguments of 14953: ./build_image '--board=x86-generic' '--noenable_rootfs_verification' 'dev' 
ERROR : Backtrace: (most recent call is last) 
ERROR : build_image:181:main(), called: die_err_trap 
ERROR : 
ERROR : Command failed: 
ERROR : Command 'mkdir -p "${BUILD_DIR}"' exited with nonzero code: 1 

回答

-2

使用西头可以解决这个问题

+0

没有,做在构建Chromium OS时不使用sudo。它只会把事情搞得更糟。 –

相关问题