[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug in chroot_hooks




On 15.6.2015 07:14, Daniel Baumann wrote:
On 06/13/15 12:36, Vladimir Smelhaus wrote:
Chroot_hooks is quite messed up. It is trying to run binary hooks and
even from different directories than they are.

fixed, thanks.


it seems to me, that you should make one more change

--- a/scripts/build/chroot_hooks
+++ b/scripts/build/chroot_hooks
@@ -78,7 +78,7 @@
 fi

 ## Processing local hooks
-if ls config/hooks/*.chroot > /dev/null 2>&1
+if ls config/hooks/{live,normal}/*.chroot > /dev/null 2>&1
 then
 	# Restoring cache
 	Restore_cache cache/packages.chroot


Reply to: