From ff9b1446b4eef136bb54cbc8c12006e575b7ed80 Mon Sep 17 00:00:00 2001 From: Chris Lamb Date: Sat, 31 Jul 2010 21:15:31 -0400 Subject: Run chroot stage with /var/lib/dpkg mounted as a tmpfs Idea from Thomas Lange and FAI. Speedup in my testcase (standard image) is 3m00 => 2m50, probably much better improvements for the desktop image clients. --- scripts/build/clean | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts/build/clean') diff --git a/scripts/build/clean b/scripts/build/clean index 2df040c82..13fc18556 100755 --- a/scripts/build/clean +++ b/scripts/build/clean @@ -79,6 +79,7 @@ do ${LH_ROOT_COMMAND} umount -f chroot/dev/shm > /dev/null 2>&1 || true ${LH_ROOT_COMMAND} umount -f chroot/dev/pts > /dev/null 2>&1 || true ${LH_ROOT_COMMAND} umount -f chroot/dev > /dev/null 2>&1 || true + ${LH_ROOT_COMMAND} umount -f chroot/var/lib/dpkg > /dev/null 2>&1 || true ${LH_ROOT_COMMAND} umount -f chroot/binary.tmp > /dev/null 2>&1 || true ${LH_ROOT_COMMAND} umount -f chroot/dev.tmp/pts > /dev/null 2>&1 || true -- cgit v1.2.3