diff --git a/xCAT-buildkit/bin/buildkit b/xCAT-buildkit/bin/buildkit index fdfeaff47..2536bb9c3 100755 --- a/xCAT-buildkit/bin/buildkit +++ b/xCAT-buildkit/bin/buildkit @@ -2497,6 +2497,7 @@ sub create_kitconf my @lines; my $li=0; $lines[$li++] = "# Kit Configuration File for $kitname generated by buildkit\n"; + $lines[$li++] = "kitbuildinfo: \n"; my $xCAT_buildkit_version = ''; if ( $debianflag ){ $xCAT_buildkit_version = `dpkg-query --show -f='\${Version}' xcat-buildkit`; @@ -2504,8 +2505,10 @@ sub create_kitconf else{ $xCAT_buildkit_version = `rpm -q --qf \"%{VERSION}-%{RELEASE}\" xCAT-buildkit`; } - $lines[$li++] = "# kit_built_by_xCAT_version: $xCAT_buildkit_version \n"; - $lines[$li++] = "# kit_built_on: ".localtime()."\n"; + $lines[$li++] = " xCAT_version = $xCAT_buildkit_version \n"; + $lines[$li++] = " build_date = ".localtime()."\n"; + $lines[$li++] = " kitframework = 1 \n"; + $lines[$li++] = " compatible_kitframeworks = 0,1 \n"; foreach my $s ('kit','kitrepo','kitcomponent','EXTERNALPKG', 'NONNATIVEPKGS') { foreach my $se (@{$::kit_config->{$s}{entries}}) { $lines[$li++] = "$s: \n";