diff options
Diffstat (limited to 'devmode')
-rwxr-xr-x | devmode | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -1,6 +1,6 @@ #!/usr/bin/env bash -fetch_devmod_portage_tree() { +fetch_devmode_portage_tree() { if [[ ! -d /usr/portage/.git ]] ; then cd /usr/portage && git init > /dev/null 2>&1 git remote add origin git://anongit.gentoo.org/repo/gentoo.git @@ -10,8 +10,17 @@ fetch_devmod_portage_tree() { fi } +set_devmode_portage_tree() { + ln -sf /opt/kogaion-build/conf/intel/portage /etc/portage + ln -sf /etc/portage/make.conf.amd64-devel /etc/portage/make.conf + eselect profile set 1 + env-update + . /etc/profile +} + main() { - fetch_devmod_portage_tree + fetch_devmode_portage_tree + set_devmode_portage_tree } main |