summaryrefslogtreecommitdiff
path: root/scripts/build/chroot
diff options
context:
space:
mode:
authorChris Lamb <lamby@debian.org>2010-07-31 21:15:31 -0400
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:17:16 +0100
commitff9b1446b4eef136bb54cbc8c12006e575b7ed80 (patch)
tree1fa9b8a79dae6f97a79ace824a9f5f01b7c58dd1 /scripts/build/chroot
parenta0fcfedb0b2cc1b6cb6308d220c7c3b90e075f7e (diff)
downloadlive-build-ff9b1446b4eef136bb54cbc8c12006e575b7ed80.zip
live-build-ff9b1446b4eef136bb54cbc8c12006e575b7ed80.tar.gz
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.
Diffstat (limited to 'scripts/build/chroot')
-rwxr-xr-xscripts/build/chroot2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/build/chroot b/scripts/build/chroot
index 99f03db..96dbfe7 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 ${*}