When the build root is mostly empty (after ./setup_board but before
./build_packages) it isn't possible to build all packages from source
in one shot because of circular dependencies. To work around this
build_packages has some extra logic to incrementally install a few key
packages with different use flags. Alternatively the --usepkgonly can
be used to disable building from source. So the following should work:
# donwload/install baselayout and toolchain
./setup_board --force
# download binary packages
./build_packages --fetchonly --usepkgonly
# install binary packages
./build_packages --usepkgonly
At this point the build root will be fully installed but may be
slightly out of date compared to the current ebuild tree (the binary
packages will be from the latest alpha release) so build_packages can
be used to refresh:
# download source tarballs of outdated packages
./build_packagees --fetchonly
# compile/install updates
./build_packages
In general I don't really expect --fetchonly to be very useful right
now, it's been a very long time since I worked on making the SDK work
ok offline.