From 564a4cfa06a8a1cf880583669cc578f8cc45dc44 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sat, 14 Sep 2013 14:14:20 -0400 Subject: libremakepkg: add a librechroot_flags variable, split chrootbuild up We split chrootbuild so that the initialization bit runs before hook_pre_build. --- src/chroot-tools/hooks-chcleanup.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/chroot-tools/hooks-chcleanup.sh') 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 ) -- cgit v1.2.3-54-g00ecf