cpt

Carbs Packaging Tools
git clone git://git.carbslinux.org/cpt
Log | Files | Refs | README | LICENSE

commit d6cd5592784dd388e9dcefad677dd5960457ea59
parent ecda4dd34f28c466d55a67b2bf085e06da951204
Author: Cem Keylan <cem@ckyln.com>
Date:   Fri, 21 Aug 2020 23:47:48 +0300

cpt-chbuild: run 'pre-chroot' hook before entering chroot.

Diffstat:
Mcontrib/cpt-chbuild | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git 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"