summaryrefslogtreecommitdiff
path: root/scripts/build/bootstrap
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2013-07-01 16:24:22 +0200
committerDaniel Baumann <mail@daniel-baumann.ch>2013-07-01 16:27:12 +0200
commitb77349b8ce2a9b6b2789424f189379e01ed63551 (patch)
tree74480db00617b2f8a57065089f02bde03191bdda /scripts/build/bootstrap
parenteab1da72edf4d4ad40ef5b6b67bca5930ad80209 (diff)
downloadvyos-live-build-b77349b8ce2a9b6b2789424f189379e01ed63551.tar.gz
vyos-live-build-b77349b8ce2a9b6b2789424f189379e01ed63551.zip
Moving caching out of bootstrap_{c,}debootstrap to own helper for future unification with chroot caches helper.
Diffstat (limited to 'scripts/build/bootstrap')
-rwxr-xr-xscripts/build/bootstrap3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/build/bootstrap b/scripts/build/bootstrap
index b497fb6c7..eea107490 100755
--- a/scripts/build/bootstrap
+++ b/scripts/build/bootstrap
@@ -35,6 +35,7 @@ Set_defaults
Setup_cleanup
# Bootstrapping system
+lb bootstrap_cache restore ${@}
lb bootstrap_${LB_BOOTSTRAP}
# Configuring chroot
@@ -69,3 +70,5 @@ lb chroot_sysfs remove ${@}
lb chroot_selinuxfs remove ${@}
lb chroot_proc remove ${@}
lb chroot_devpts remove ${@}
+
+lb bootstrap_cache save ${@}