30 lines
836 B
Bash
Executable File
30 lines
836 B
Bash
Executable File
#!/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 <<EOF
|
|
app-arch/gzip
|
|
dev-build/make
|
|
net-misc/wget
|
|
sys-apps/diffutils
|
|
sys-apps/gawk
|
|
sys-apps/grep
|
|
sys-apps/portage
|
|
sys-devel/binutils
|
|
sys-devel/gcc
|
|
sys-devel/patch
|
|
EOF
|