From 46f3339c61b06196b448afccd23130d990de1ce3 Mon Sep 17 00:00:00 2001 From: merakor Date: Fri, 21 Aug 2020 20:47:47 +0000 Subject: cpt-chbuild: run 'pre-chroot' hook before entering chroot. FossilOrigin-Name: 8872a131a842fc34efabc00fd1352b68bf6e084424fe5fa63db4105e29282cf7 --- contrib/cpt-chbuild | 2 ++ 1 file changed, 2 insertions(+) (limited to 'contrib/cpt-chbuild') 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" -- cgit v1.2.3