|
THIS PAGE IS OUTDATED AND USE AN ALTERNATIVE METHOD THAN CURRENTLY USED TO BUILD RELEASED IMAGES. |
Instructions
Here's how to assemble your own images with live-build running in a cross environment. This works for the nano, developer and alip images but unfortunately the ubuntu-desktop image currently fails because of errors in qemu when working with mono packages for oneiric and before.
However for precise, nano, developer, alip and ubuntu-desktop do successful build cross.
Install Required Packages
add-apt-repository ppa:linaro-maintainers/tools apt-get update apt-get install live-build #This will work for maverick, natty, oneiric and precise. It will install version: ~a45 apt-get install multistrap apt-get install qemu-user-static
Configure and Build
mkdir dirforbld ; cd dirforbld #pick a branch: bzr branch lp:~linaro-maintainers/linaro/live-helper.config.precise.nano config # or: bzr branch lp:~linaro-maintainers/linaro/live-helper.config.precise.developer config cp config/conf_create.sh . # edit conf_create.sh : change parameter to --bootstrap from debootstrap to multistrap sed -i -e "s/bootstrap debootstrap/bootstrap multistrap/" conf_create.sh # add/remove packages listed in config/package-lists/nano.list.chroot which is a text file. One package per line. sh ./conf_create.sh lb build # When rebuilding use the commands : # lb clean --all ; lb clean --cache; rm -rf .stage/* ; lb build
Platform/DevPlatform/CrossCompile/LiveBuild (last modified 2013-02-01 08:02:15)