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/chroot | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scripts/build/chroot') diff --git a/scripts/build/chroot b/scripts/build/chroot index 99f03db2e..96dbfe7a5 100755 --- a/scripts/build/chroot +++ b/scripts/build/chroot @@ -34,6 +34,7 @@ lh chroot_selinuxfs install ${*} lh chroot_sysfs install ${*} lh chroot_debianchroot install ${*} lh chroot_dpkg install ${*} +lh chroot_dpkg_tmpfs install ${*} lh chroot_sysv-rc install ${*} lh chroot_upstart install ${*} lh chroot_hosts install ${*} @@ -71,6 +72,7 @@ lh chroot_resolv remove ${*} lh chroot_hosts remove ${*} lh chroot_sysv-rc remove ${*} lh chroot_upstart remove ${*} +lh chroot_dpkg_tmpfs remove ${*} lh chroot_dpkg remove ${*} lh chroot_debianchroot remove ${*} lh chroot_sysfs remove ${*} -- cgit v1.2.3