summaryrefslogtreecommitdiffstats
path: root/src/build/buildpnor/memd_creation.pl
diff options
context:
space:
mode:
authorElizabeth Liner <eliner@us.ibm.com>2017-10-09 15:36:33 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-10-10 10:37:58 -0400
commit48cf6f7c9e445cdde756aa290a6defedecf3c95c (patch)
tree9b65be1674f0da7a563b7f8018c57563aa836ea6 /src/build/buildpnor/memd_creation.pl
parent95cbd5cc482c52ac6ac8b5c029a0ea4693f9cb5f (diff)
downloadtalos-hostboot-48cf6f7c9e445cdde756aa290a6defedecf3c95c.tar.gz
talos-hostboot-48cf6f7c9e445cdde756aa290a6defedecf3c95c.zip
Specifying which machine we're building for memd changes
Due to the manner in which fspCI compiles, we were having an issue where a placeholder file was being overwritten by its counterpart for another machine. This commit moves the placeholder file from the common directory to the specific machine directory. Change-Id: I4ba995f71b41848510e165cb64a802d8041c080d Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48141 Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.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/build/buildpnor/memd_creation.pl')
-rwxr-xr-xsrc/build/buildpnor/memd_creation.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build/buildpnor/memd_creation.pl b/src/build/buildpnor/memd_creation.pl
index cf549a5bf..442a648e9 100755
--- a/src/build/buildpnor/memd_creation.pl
+++ b/src/build/buildpnor/memd_creation.pl
@@ -115,7 +115,7 @@ foreach my $file (@memd_files)
}
# Removing the first byte of the MEMD binary
- my $new_file = "edited_memd.dat";
+ my $new_file = "$memd_dir/edited_memd.dat";
run_command("tail -c +2 $file > $new_file");
run_command("mv $new_file $file");
OpenPOWER on IntegriCloud