summaryrefslogtreecommitdiff
path: root/src/chroot-tools/hooks-chcleanup.sh
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-09-14 14:14:20 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-09-14 14:14:20 -0400
commit564a4cfa06a8a1cf880583669cc578f8cc45dc44 (patch)
treebe5c9eff2d0c96fff6a8f956e47f6e5e7821f210 /src/chroot-tools/hooks-chcleanup.sh
parent6556108c9d8a4d93f482f84c8321bda9565eac37 (diff)
libremakepkg: add a librechroot_flags variable, split chrootbuild up
We split chrootbuild so that the initialization bit runs before hook_pre_build.
Diffstat (limited to 'src/chroot-tools/hooks-chcleanup.sh')
-rw-r--r--src/chroot-tools/hooks-chcleanup.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/chroot-tools/hooks-chcleanup.sh b/src/chroot-tools/hooks-chcleanup.sh
index 6a95dfb..cd6179b 100644
--- a/src/chroot-tools/hooks-chcleanup.sh
+++ b/src/chroot-tools/hooks-chcleanup.sh
@@ -9,7 +9,6 @@ clean_chroot() (
cd /build
sudo -u nobody "$(librelib chroot/chcleanup)"
else
- librechroot -l "$copydir" clean-pkgs
+ librechroot "${librechroot_flags[@]}" clean-pkgs
fi
- r=$?; echo clean_chroot returning $r; return $r
)