From f7f871278c7873e8f32a2b51b55f81d77e4e1e42 Mon Sep 17 00:00:00 2001 From: wanghuaz Date: Sat, 8 Jun 2013 05:00:41 +0000 Subject: [PATCH] Fixing bug 3610: not add prerequisite to full kit if there is no 'prerequisite' in kit.conf of partial kit git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16579 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-buildkit/bin/buildkit | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xCAT-buildkit/bin/buildkit b/xCAT-buildkit/bin/buildkit index a0f53f2b2..b98bdf322 100755 --- a/xCAT-buildkit/bin/buildkit +++ b/xCAT-buildkit/bin/buildkit @@ -3077,13 +3077,14 @@ sub kit_addpkgs my @lines = <$CKF>; close $CKF; + $::PREREQUISITE = 1; foreach my $l (@lines) { # skip blank and comment lines if ( $l =~ /^\s*$/ || $l =~ /^\s*#/ ) { next; } if ($l =~ /prerequisite/ ) { - $::PREREQUISITE = 1; + $::PREREQUISITE = 0; } }