summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2016-04-17 11:24:39 +0100
committerV3n3RiX <venerix@rogentos.ro>2016-04-17 11:24:39 +0100
commitc0947cea428782379316d3596cd958413eb573aa (patch)
treed193fabbdea32d0a840e1c57b5f81c97b56e618a
parent356f63f022f3734836f434bb14cc549f5ab4282d (diff)
we don't need full portage tree in isos, only packages dir
-rwxr-xr-xlibvasile8
1 files changed, 4 insertions, 4 deletions
diff --git a/libvasile b/libvasile
index 01d54c0..9759b1e 100755
--- a/libvasile
+++ b/libvasile
@@ -207,7 +207,7 @@ chrootx86 () {
# x64 specific iso functions
isostartx64 () {
- mount -o bind portage "$isosyncdirx64"/usr/portage
+ mount -o bind portage/packages "$isosyncdirx64"/usr/portage/packages
mount -o bind targets "$isosyncdirx64"/mnt
mount -t proc proc "$isosyncdirx64"/proc
mount -t sysfs sysfs "$isosyncdirx64"/sys
@@ -224,7 +224,7 @@ isostopx64 () {
umount -l "$isosyncdirx64"/dev/shm > /dev/null 2>&1
umount -l "$isosyncdirx64"/dev > /dev/null 2>&1
umount -l "$isosyncdirx64"/tmp > /dev/null 2>&1
- umount -l "$isosyncdirx64"/usr/portage > /dev/null 2>&1
+ umount -l "$isosyncdirx64"/usr/portage/packages > /dev/null 2>&1
umount -l "$isosyncdirx64"/mnt > /dev/null 2>&1
}
@@ -267,7 +267,7 @@ isochrootx64 () {
# x86 specific iso functions
isostartx86 () {
- mount -o bind portage "$isosyncdirx86"/usr/portage
+ mount -o bind portage/packages "$isosyncdirx86"/usr/portage/packages
mount -o bind targets "$isosyncdirx86"/mnt
mount -t proc proc "$isosyncdirx86"/proc
mount -t sysfs sysfs "$isosyncdirx86"/sys
@@ -284,7 +284,7 @@ isostopx86 () {
umount -l "$isosyncdirx86"/dev/shm > /dev/null 2>&1
umount -l "$isosyncdirx86"/dev > /dev/null 2>&1
umount -l "$isosyncdirx86"/tmp > /dev/null 2>&1
- umount -l "$isosyncdirx86"/usr/portage > /dev/null 2>&1
+ umount -l "$isosyncdirx86"/usr/portage/packages > /dev/null 2>&1
umount -l "$isosyncdirx86"/mnt > /dev/null 2>&1
}