summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/linhes-live
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-01-29 23:44:57 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-01-29 23:44:57 (GMT)
commit064e01bc282fa76966fd61b4a8652e0354d8c6d0 (patch)
tree75bae7ef546a43b725e732ced5ddd0f58ffc1eea /abs/core-testing/linhes-live
parent37d8aab440b3a73bba7ce64682b3c3bca7d32035 (diff)
downloadlinhes_pkgbuild-064e01bc282fa76966fd61b4a8652e0354d8c6d0.zip
linhes_pkgbuild-064e01bc282fa76966fd61b4a8652e0354d8c6d0.tar.gz
linhes_pkgbuild-064e01bc282fa76966fd61b4a8652e0354d8c6d0.tar.bz2
Add a sleep statement of 3 secs to give loopback mount time to settle.
At least I think thats what its doing.
Diffstat (limited to 'abs/core-testing/linhes-live')
-rw-r--r--abs/core-testing/linhes-live/PKGBUILD2
-rw-r--r--abs/core-testing/linhes-live/lib/initcpio/hooks/larch34
2 files changed, 5 insertions, 1 deletions
diff --git a/abs/core-testing/linhes-live/PKGBUILD b/abs/core-testing/linhes-live/PKGBUILD
index 29de17e..c1e4ff1 100644
--- a/abs/core-testing/linhes-live/PKGBUILD
+++ b/abs/core-testing/linhes-live/PKGBUILD
@@ -2,7 +2,7 @@
# 2008.09.25
pkgname=linhes-live
pkgver=5.3.3
-pkgrel=17
+pkgrel=19
pkgdesc="LinHes compulsory components for the Live System."
url="http://KnoppMyth.net"
diff --git a/abs/core-testing/linhes-live/lib/initcpio/hooks/larch3 b/abs/core-testing/linhes-live/lib/initcpio/hooks/larch3
index 47be81a..b301aa9 100644
--- a/abs/core-testing/linhes-live/lib/initcpio/hooks/larch3
+++ b/abs/core-testing/linhes-live/lib/initcpio/hooks/larch3
@@ -96,6 +96,8 @@ run_hook ()
msg_ ":: Mounting squashed images"
/bin/mkdir /tfs/system
+ #added sleep for 3 seconds, because well i don't know but it seems to fix things
+ sleep 3
# The klibc mount command doesn't support '-o loop'
/bin/losetup /dev/loop0 ${sysSqf}
/bin/mount -r -t squashfs /dev/loop0 /tfs/system
@@ -107,11 +109,13 @@ run_hook ()
export LD_LIBRARY_PATH=/tfs/system/lib:/tfs/system/usr/lib
/bin/mkdir /tfs/mods
+
# The klibc mount command doesn't support '-o loop'
/bin/losetup /dev/loop1 ${modsSqf}
/bin/mount -r -t squashfs /dev/loop1 /tfs/mods
# Unpack the overlay
+
msg_ ":: Initializing writable layer for union (overlay)"
/tfs/system/usr/bin/lzop -d < ${overlay} | \
/tfs/system/bin/tar -C /tfs -xf -