This repository has been archived on 2025-09-06. You can view files and clone it, but cannot push or open issues/pull-requests.
home-assistant-yellow/config-portage.sh

15 lines
270 B
Bash
Executable File

#!/bin/sh
# vim: set sw=4 ts=4 sts=4 et :
set -e
. ./config
cp -r host-portage/. /etc/portage/
cp -r portage/. /usr/${target}/etc/portage/
# Set the Portage profile
ln -snf \
/var/db/repos/gentoo/profiles/${profile} \
/usr/${target}/etc/portage/make.profile