-
-
- Posts: 14
- Joined: 2024-04-24 10:00
使用.build.sh clean报错
Code: Select all
root@8c26cb431aac:/home# ./build.sh clean
fatal: detected dubious ownership in repository at '/home'
To add an exception for this directory, call:
git config --global --add safe.directory /home
[build.sh:error] Running main failed!
[build.sh:error] exit code 128 from line 1998:
[build.sh:info] git submodule update --init --recursive
-
- Posts: 283
- Joined: 2024-01-08 10:59
您好,尝试以下执行再进行清除:
Code: Select all
git config --global --add safe.directory /home
-
- Posts: 14
- Joined: 2024-04-24 10:00
Eng38 wrote: ↑2024-04-24 10:07
您好,尝试以下执行再进行清除:
Code: Select all
git config --global --add safe.directory /home
变成这样了
Code: Select all
fatal: detected dubious ownership in repository at '/home/sysdrv/tools/board/ubuntu'
To add an exception for this directory, call:
git config --global --add safe.directory /home/sysdrv/tools/board/ubuntu
fatal: Unable to find current revision in submodule path '../sysdrv/tools/board/ubuntu'
[build.sh:error] Running main failed!
[build.sh:error] exit code 1 from line 1998:
[build.sh:info] git submodule update --init --recursive
-
- Posts: 283
- Joined: 2024-01-08 10:59
执行这条命令:
Code: Select all
git submodule update --init --recursive