以前の環境では gclientがPATHとかで正確にpythonの方を読んでなかったようなので(javaの環境を読んでいる臭い)
新規にVMwareで unbuntu 9.10を入れて chromeを再構築
今度は 最初に depot_toolsを入れて PATH設定をして
[URL]
を参考に開発環境をとってきてます
---- 以下 始まり
$sudo sh install-build-deps.sh
[sudo] password for butcher:
Only Ubuntu 8.04, 8.10, 9.04, and 9.10 are currently supported
$ svn co
[URL]
リビジョン 32717 をチェックアウトしました。
$ sudo apt-get install git-core
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています
状態情報を読み取っています... 完了
--- 途中略
この辺から 遅くなる
U /home/butcher/chromiumos/chromiumos.git/src/third_party/shunit2/files
リビジョン 294 をチェックアウトしました。
Initialized empty Git repository in /home/butcher/chromiumos/chromiumos.git/src/third_party/syslinux/files/.git/
Getting alternates list for
[URL]
Getting pack list for
[URL]
Getting index for pack 176ece12e4b67f8840bba692e331c9324b0af008
Getting pack 176ece12e4b67f8840bba692e331c9324b0af008
which contains 1edb6857251c0602f87af1464a2e39ed2e4de672
---再度 途中 省略
やっと Make your local repositoryにたどり着く ここまで10分程度(VMだと遅い)
$ cd ~/chromiumos/src/scripts
$ ./make_local_repo.sh
次は
Download Chromium binary (you MUST do this if you didn't use the step above)
保存ディレクトリーを作成
バイナリー持ってきて 保存
mv chrome-linux.zip build/x86/local_assets/chrome-chromeos.zip
$./enter_chroot.sh
build環境にはいっている。
共有ユーザパスワード設定
(chroot)$./set_shared_user_password.sh
パッケージ作成
./build_platform_packages.sh
まだここ
./copy_chrome_zip.sh
Checking for latest build of Chrome
Downloading
[URL]
--2009-11-21 02:25:07--
[URL]
Resolving chrome-web... failed: Name or service not known.
wget: unable to resolve host address `chrome-web'
make: *** [build-stamp] Error 1
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
でエラー
でも 無視して
./build_kernel.sh
を実行
さて 動いているが 終わるのかな?
dpkg --build /home/butcher/trunk/src/build/kernels/kernel-i386-intel-menlow/linux-2.6.30/debian/linux-image-2.6.30-chromeos-intel-menlow ..
dpkg-deb: building package `linux-image-2.6.30-chromeos-intel-menlow' in `../linux-image-2.6.30-chromeos-intel-menlow_002_i386.deb'.
make[2]: Leaving directory `/home/butcher/trunk/src/build/kernels/kernel-i386-intel-menlow/linux-2.6.30'
make[1]: Leaving directory `/home/butcher/trunk/src/build/kernels/kernel-i386-intel-menlow/linux-2.6.30'
Kernel build successful, check /home/butcher/trunk/src/build/x86/local_packages/linux-image-2.6.30-chromeos-intel-menlow_002_i386.deb
無事終了
kernel 2.6.30なんだ
約1時間かな トータルで ここまで1時間30分程度
イメージの作成
$./build_image.sh
$cd ~/chromiumos/chromiumos.git/src/build/images/999.999.32509.025945-a1
$ pwd
/home/butcher/chromiumos/chromiumos.git/src/build/images/999.999.32509.025945-a1
$ ls
rootfs rootfs.image
$ sudo mount -o loop rootfs.image rootfs
[sudo] password for butcher:
$ sudo chroot rootfs
/# df
Filesystem 1K-blocks Used Available Use% Mounted on
sysfs 957496 291960 616896 33% /sys
だってできた
/# dpkg -l
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
コメントをする