summaryrefslogtreecommitdiff
path: root/devmode
diff options
context:
space:
mode:
Diffstat (limited to 'devmode')
-rwxr-xr-xdevmode13
1 files changed, 11 insertions, 2 deletions
diff --git a/devmode b/devmode
index 9ee5742..3ebffa0 100755
--- a/devmode
+++ b/devmode
@@ -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