Setup cleanup hook in the high-level helpers.

This commit is contained in:
Chris Lamb 2008-10-19 16:58:16 +01:00 committed by Daniel Baumann
parent f2d0d81ad0
commit cf53392616
4 changed files with 12 additions and 0 deletions

View File

@ -28,6 +28,9 @@ Arguments "${@}"
Read_conffile config/all config/common config/bootstrap config/chroot config/binary config/source
Set_defaults
# Setup cleanup function
Setup_cleanup
# Preparing root filesystem
lh_binary_chroot ${*}

View File

@ -28,6 +28,9 @@ Arguments "${@}"
Read_conffile config/all config/common config/bootstrap config/chroot config/binary config/source
Set_defaults
# Setup cleanup function
Setup_cleanup
# Bootstrapping system
lh_bootstrap_cache restore ${*}
lh_bootstrap_copy ${*}

View File

@ -28,6 +28,9 @@ Arguments "${@}"
Read_conffile config/all config/common config/bootstrap config/chroot config/binary config/source
Set_defaults
# Setup cleanup function
Setup_cleanup
# Configuring chroot
lh_chroot_cache restore ${*}
lh_chroot_devpts install ${*}

View File

@ -30,6 +30,9 @@ Set_defaults
Require_stagefile .stage/chroot_install-packages
# Setup cleanup function
Setup_cleanup
# Enabling network in chroot
lh_chroot_hosts install ${*}
lh_chroot_resolv install ${*}