Setup cleanup hook in the high-level helpers.
This commit is contained in:
parent
f2d0d81ad0
commit
cf53392616
|
@ -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 ${*}
|
||||
|
||||
|
|
|
@ -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 ${*}
|
||||
|
|
|
@ -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 ${*}
|
||||
|
|
|
@ -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 ${*}
|
||||
|
|
Loading…
Reference in New Issue