#!/bin/sh set -e mkdir -p /mnt/gentoo USE=build \ emerge -kvnuUDj --rebuilt-binaries=y --root=/mnt/gentoo sys-apps/baselayout # Portage itself only requires Python and Bash. Actually building # packages requires a lot more. These dependencies are implicit because # they are listed in @system. We do not want everything from @system, # though, so we have to explicitly install several packages. # # At some point, we may end up with an Aimee OS profile for Portage. # If/when that happens, we can override @system to remove the stuff we # don't want, like virtual/service-manager and virtual/openssh. xargs emerge -kvnuUDj --rebuilt-binaries=y --root=/mnt/gentoo <