- Install depot_tool( To be continue..)
- Get code by git
- It's not strictly nessary, build I suggest you do it with --replace.
- ./enter_chroot.sh
- Build backage.
- Build image
- Make a chrome to udisk
- Make a VMWare image
cd ${HOME}/chromiumos
repo sync
cd src/scripts
./make_chroot
(cros-chroot) johnnyrotten@flyingkite ~/trunk/src/scripts $
Then select a board, suggest add --force.
BOARD=x86-generic
./setup_board --board=${BOARD} --force
Error:There maybe have these error like this."Error: The above package list contains packages which cannot be* installed at the same time on the same system."
We can remove them by the follow command:
emerge -C [packagename]
./build_packages --board=${BOARD} --oldchromebinary
./build_image --board=${BOARD} --withdev --noenable_rootfs_verification
./image_to_usb.sh --board=${BOARD} --to=${MY_USB_KEY_LOCATION}
./image_to_vm.sh --board=${BOARD} --format=vmware
Error: no space
When we build the image, if we stop it, it will leave huge temp file in /chroot/tmp. So if we get failed with no space, we can clean the temp file in /chroot/tmp
http://dawnwindsblog.blogspot.com/2011/06/build-chromium-os.html
没有评论:
发表评论