我尝试构建映像,但经常收到权限被拒绝的错误消息
我已经尝试过umask 022
,但仍然有一些错误?应该怎么办?
ruyi-ThinkPad-X230 /mnt/host/source/src/scripts #sudo ./build_image --board=snappy --noenable_rootfs_verification test
Chromium OS version information:
CHROME_BASE=
CHROME_BRANCH=85
CHROME_VERSION=
CHROMEOS_BUILD=13291
CHROMEOS_BRANCH=0
CHROMEOS_PATCH=2020_06_18_1318
CHROMEOS_VERSION_STRING=13291.0.2020_06_18_1318
13:18:27 INFO : The following images will be built chromiumos_test_image.bin.
13:18:27 INFO : Clearing shadow utils lockfiles under /build/snappy
* Building file list for packages cleaning...
* Your packages directory was already clean.
mkdir: cannot create directory ‘/mnt/host/source/src/build’: Permission denied
13:18:29 ERROR : 18 13:18:29 CST 2020
13:18:29 ERROR : PGID PPID PID ELAPSED TIME %CPU COMMAND
13:18:29 ERROR : 892 626 892 00:01 00:00:00 11.0 /bin/bash ./build_image --board=snappy --noenable_rootfs_verification test
13:18:29 ERROR : 892 892 1139 00:00 00:00:00 0.0 \_ /bin/bash ./build_image --board=snappy --noenable_rootfs_verification test
13:18:29 ERROR : 892 1139 1140 00:00 00:00:00 0.0 \_ ps f -o pgid,ppid,pid,etime,cputime,%cpu,command