summaryrefslogtreecommitdiff
path: root/usermode
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2016-04-17 15:40:10 +0100
committerV3n3RiX <venerix@rogentos.ro>2016-04-17 15:40:10 +0100
commita4be9a729a445055e6777cf517b2bba04d073094 (patch)
tree9f18e4d824e45942a1e4c647adb861833a7e027c /usermode
parent791c1b2b7ef03116770f6bc514bc6af9861c7f0f (diff)
try to move some functions to helper scripts
Diffstat (limited to 'usermode')
-rwxr-xr-xusermode10
1 files changed, 9 insertions, 1 deletions
diff --git a/usermode b/usermode
index 39c7167..c920ace 100755
--- a/usermode
+++ b/usermode
@@ -15,8 +15,16 @@ fetch_usermode_portage_tree() {
fi
}
+set_usermode_portage_tree () {
+ ln -sf /opt/kogaion-build/conf/intel/portage /etc/portage
+ ln -sf /etc/portage/make.conf.amd64-user /etc/portage/make.conf
+ eselect profile set 1
+ env-update
+ . /etc/profile
+}
+
main() {
- fetch_usermod_portage_tree
+ fetch_usermode_portage_tree
}
main