summaryrefslogtreecommitdiffstats
path: root/src/usr/targeting/common/filter_out_unwanted_attributes.pl
diff options
context:
space:
mode:
authorSantosh Puranik <santosh.puranik@in.ibm.com>2017-08-25 23:24:05 +0530
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-08-29 10:12:51 -0400
commit5ee8711939091cb92bc7637383eb31605b8195d5 (patch)
treec21bac13785c9244213e237b618545225873084a /src/usr/targeting/common/filter_out_unwanted_attributes.pl
parent045061a323a15d19c3264ec08239370309ca25ee (diff)
downloadtalos-hostboot-5ee8711939091cb92bc7637383eb31605b8195d5.tar.gz
talos-hostboot-5ee8711939091cb92bc7637383eb31605b8195d5.zip
Fixes for Zeppelin
-- Fix HUID calculation for NX chiplet -- Append PID to temporary merged XML in filter_out_unwanted_attributes script Change-Id: Ic9a04b8ec81e33127c65c20a3a4d7d32e7b6b0d1 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/45160 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Sakethan R. Kotta <sakkotta@in.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/targeting/common/filter_out_unwanted_attributes.pl')
-rwxr-xr-xsrc/usr/targeting/common/filter_out_unwanted_attributes.pl5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/usr/targeting/common/filter_out_unwanted_attributes.pl b/src/usr/targeting/common/filter_out_unwanted_attributes.pl
index ce1cc97ec..d35bc9f57 100755
--- a/src/usr/targeting/common/filter_out_unwanted_attributes.pl
+++ b/src/usr/targeting/common/filter_out_unwanted_attributes.pl
@@ -121,11 +121,12 @@ foreach my $newTarget ( @{$filePlatform->{targetType}} )
push @NewTargetType, [$targetId, $newTarget];
}
-#Create a new file from the common target types xml, over which
+#Create a new file from the common target types xml, over which
#the new targets from platform target types xml will be merged,
#then the extension targets will be merged over the existing one.
-my $file_name = 'merged_target_types.xml'; # Temporary File created for merger
+# Temporary File created for merger
+my $file_name = "merged_target_types_$$.xml";
open (my $FILE, '>', $file_name );# To be updated by reading FH
open (FH, "<$tgt_files[0]"); #To read out each line
OpenPOWER on IntegriCloud