无法SYNC Google Chromium源文件

时间:2013-04-25 17:40:17

标签: ubuntu-12.04 chromium

我一直在尝试下载Chromium操作系统的源代码来检查它,但显然我一直在遇到GIT存储库的问题。我按照Google提供的说明操作,但我仍然遇到问题。这是我在depot_tools下载中使用REPO看到的内容:

root@Ubuntu1204:/usr/local/path/to/source/chromiumos# repo sync
Fetching projects:   8% (12/147)  remote: Counting objects: 7, done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 4 (delta 3), reused 0 (delta 0)
Unpacking objects: 100% (4/4), done.
From https://git.chromium.org/git/chromiumos/overlays/board-overlays
   ece0843..99b4022f master     -> cros/master
Fetching projects:  77% (114/147)  fatal: Not a git repository: '/usr/local/path/to/source/chromiumos/.repo/projects/src/third_party/ltp.git'
Fetching projects:  78% (115/147)  fatal: Not a git repository: '/usr/local/path/to/source/chromiumos/.repo/projects/src/third_party/marvell.git'
Fetching projects:  79% (117/147)  fatal: Not a git repository: '/usr/local/path/to/source/chromiumos/.repo/projects/src/third_party/memtest.git'
fatal: Not a git repository: '/usr/local/path/to/source/chromiumos/.repo/projects/src/third_party/mesa.git'
Fetching projects:  80% (118/147)  fatal: Not a git repository: '/usr/local/path/to/source/chromiumos/.repo/projects/src/third_party/miniFakeDns.git'
fatal: Not a git repository: '/usr/local/path/to/source/chromiumos/.repo/projects/src/third_party/mobile-broadband-provider-info.git'
Fetching projects:  81% (120/147)  fatal: Not a git repository: '/usr/local/path/to/source/chromiumos/.repo/projects/src/third_party/modemmanager-next.git'
Fetching projects:  95% (140/147)  fatal: Not a git repository: '/usr/local/path/to/source/chromiumos/.repo/projects/src/third_party/mesa.git'
fatal: Not a git repository: '/usr/local/path/to/source/chromiumos/.repo/projects/src/third_party/memtest.git'
fatal: Not a git repository: '/usr/local/path/to/source/chromiumos/.repo/projects/src/third_party/ltp.git'
fatal: Not a git repository: '/usr/local/path/to/source/chromiumos/.repo/projects/src/third_party/miniFakeDns.git'
fatal: Not a git repository: '/usr/local/path/to/source/chromiumos/.repo/projects/src/third_party/modemmanager-next.git'
fatal: Not a git repository: '/usr/local/path/to/source/chromiumos/.repo/projects/src/third_party/mobile-broadband-provider-info.git'
fatal: Not a git repository: '/usr/local/path/to/source/chromiumos/.repo/projects/src/third_party/marvell.git'
error: Cannot fetch chromiumos/third_party/mesa
error: Cannot fetch chromiumos/third_party/modemmanager-next
error: Cannot fetch chromiumos/third_party/ltp
error: Cannot fetch chromiumos/third_party/minifakedns
error: Cannot fetch chromiumos/third_party/memtest
error: Cannot fetch chromiumos/third_party/marvell
error: Cannot fetch chromiumos/third_party/mobile-broadband-provider-info

error: Exited sync due to fetch errors

这是直接从终端复制的。我检查了数据,它似乎都在那里,它已下载,但对于我的生活,我不明白我错过了什么。如果有任何其他信息可以提供帮助,请与我们联系。

另外,安装了git,所以我知道这不是问题。

1 个答案:

答案 0 :(得分:0)

尝试跳过该部分 / usr / local / path / to / source / chromiumos / from crappy instructions。

使用/ home / $ USER / chromiumos /

然后5个小时后。

cd  ~/chromiumos
./chromite/bin/cros_sdk

然后你应该登陆src:

export BOARD=panda
./setup_board --board=${BOARD}
./set_shared_user_password.sh
./build_packages --board=${BOARD}
# go camping... :)
./build_image --board=${BOARD} --noenable_rootfs_verification dev
cd ~/trunk/src/build/images/${BOARD}/latest