diff options
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/cpt-chbuild | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/cpt-chbuild b/contrib/cpt-chbuild index 6a619ef..bff9a34 100755 --- a/contrib/cpt-chbuild +++ b/contrib/cpt-chbuild @@ -52,5 +52,7 @@ cp -a carbs-chroot "chroot-$pid" CPT_ROOT=$PWD/chroot-$pid cpt-install "$@" } +run_hook pre-chroot "" "$PWD/chroot-$pid" + log "Entering chroot" as_root sh -c "cpt-chroot chroot-$pid; rm -rf chroot-$pid" |