From 421eae96941735b5e2a0b9dd1ce70d461f81ec76 Mon Sep 17 00:00:00 2001 From: steve Date: Mon, 19 Mar 2007 16:12:10 +0000 Subject: [PATCH] 2007-03-19 16:12:10 by steve BUGFIX: Correctly call chroot() when trying to clean the YUM repository. --- hooks/centos4/99-clean-image | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hooks/centos4/99-clean-image b/hooks/centos4/99-clean-image index 3df2491..c068a94 100755 --- a/hooks/centos4/99-clean-image +++ b/hooks/centos4/99-clean-image @@ -36,7 +36,7 @@ find ${prefix}/ -name '*.rpmnew' -exec rm -f \{\} \; # Clean yum # logMessage Cleaning Yum Repository -chroot ${prefix}/usr/bin/yum clean all +chroot ${prefix} /usr/bin/yum clean all # # Log our finish