summaryrefslogtreecommitdiff
path: root/libvasile
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2016-04-17 12:27:28 +0100
committerV3n3RiX <venerix@rogentos.ro>2016-04-17 12:27:28 +0100
commit049bae8660e0734be5be8f9e1052f69e9983868a (patch)
treece9db5af3e2d25a9200eeec46a38755949d51a50 /libvasile
parent01c51c734d7cd9ea570f7acf26837a03fffd5141 (diff)
lets try to inject portage tree on the fly
Diffstat (limited to 'libvasile')
-rwxr-xr-xlibvasile12
1 files changed, 12 insertions, 0 deletions
diff --git a/libvasile b/libvasile
index f2a99cb..3259c2d 100755
--- a/libvasile
+++ b/libvasile
@@ -103,6 +103,12 @@ chrootstartx64 () {
mount -t tmpfs -o nosuid,nodev,noexec none "$overlaydir"/tmp
}
+chroottreex64 () {
+ echo "injecting full portage tree into x64 environment"
+ sleep 1
+ chroot "$overlaydir" su - "$chrootuser" -c "$chroottree"
+}
+
chrootoverlaysx64 () {
echo "injecting "$releasename" "$releasetarget" overlay into x64 environment"
sleep 1
@@ -163,6 +169,12 @@ chrootstartx86 () {
mount -t tmpfs -o nosuid,nodev,noexec none "$overlaydir"/tmp
}
+chrottreex86 () {
+ echo "injecting full portage tree into x86 environment"
+ sleep 1
+ linux32 chroot "$overlaydir" su - "$chrootuser" -c "$chroottree"
+}
+
chrootoverlaysx86 () {
echo "injecting "$releasename" "$releasetarget" overlay into x86 environment"
sleep 1