summaryrefslogtreecommitdiffstats
path: root/src/build/buildpnor/memd_creation.pl
diff options
context:
space:
mode:
authorElizabeth Liner <eliner@us.ibm.com>2018-01-08 16:10:16 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2018-02-08 10:27:18 -0500
commit7136fd9b50af7e5f0ef71d702aedc6c11b5f94cf (patch)
tree58e65f59d874246a8b700c52401e89c5dfccce54 /src/build/buildpnor/memd_creation.pl
parent4bcfb10e2752b110d79a7a535adccde1ec119c97 (diff)
downloadtalos-hostboot-7136fd9b50af7e5f0ef71d702aedc6c11b5f94cf.tar.gz
talos-hostboot-7136fd9b50af7e5f0ef71d702aedc6c11b5f94cf.zip
Cleaning up git tree from memd_creation.pl
The memd_creation.pl script creates a temporary file in the buildroot submodule and not cleaned up. This results in a dirty tree and gross version strings. This commit removes the temporary file from the git tree. Resolves open-power/op-build/#1729 Change-Id: Ica28c61ab10455e8546ab6896775c46ab82dcd0b Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/51678 Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Tested-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/build/buildpnor/memd_creation.pl')
-rwxr-xr-xsrc/build/buildpnor/memd_creation.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/build/buildpnor/memd_creation.pl b/src/build/buildpnor/memd_creation.pl
index 419d63569..4144a0ddf 100755
--- a/src/build/buildpnor/memd_creation.pl
+++ b/src/build/buildpnor/memd_creation.pl
@@ -6,7 +6,7 @@
#
# OpenPOWER HostBoot Project
#
-# Contributors Listed Below - COPYRIGHT 2017
+# Contributors Listed Below - COPYRIGHT 2017,2018
# [+] International Business Machines Corp.
#
#
@@ -143,6 +143,7 @@ foreach my $file (@memd_files)
}
close $in_file;
$offset = $offset + ($max_file_size * ROUNDING_DIVISOR);
+ unlink $new_file;
}
OpenPOWER on IntegriCloud