summaryrefslogtreecommitdiff
path: root/libvasile
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2016-04-16 17:25:09 +0100
committerV3n3RiX <venerix@rogentos.ro>2016-04-16 17:25:09 +0100
commit356f63f022f3734836f434bb14cc549f5ab4282d (patch)
tree48aea05eee8addce7d7c014b5f8d142a249060ff /libvasile
parenta418c75a03d4feff2ff35686063c0fcb3c3ed379 (diff)
adjust iso creation to out of squash portage tree
Diffstat (limited to 'libvasile')
-rwxr-xr-xlibvasile8
1 files changed, 4 insertions, 4 deletions
diff --git a/libvasile b/libvasile
index 6933782..01d54c0 100755
--- a/libvasile
+++ b/libvasile
@@ -207,7 +207,7 @@ chrootx86 () {
# x64 specific iso functions
isostartx64 () {
- mount -o bind packages "$isosyncdirx64"/usr/portage/packages
+ mount -o bind portage "$isosyncdirx64"/usr/portage
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/packages > /dev/null 2>&1
+ umount -l "$isosyncdirx64"/usr/portage > /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 packages "$isosyncdirx86"/usr/portage/packages
+ mount -o bind portage "$isosyncdirx86"/usr/portage
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/packages > /dev/null 2>&1
+ umount -l "$isosyncdirx86"/usr/portage > /dev/null 2>&1
umount -l "$isosyncdirx86"/mnt > /dev/null 2>&1
}