Skip to content

Commit

Permalink
memd_creation.pl: glob on *.rvpd to allow README in memd_binaries
Browse files Browse the repository at this point in the history
Latest blackbird-xml from Raptor has memd_binaries/README which
the glob of * would grab and try and parse.

So, don't try and treat it as a MEMD file.

Resolves #192
Signed-off-by: Stewart Smith <stewart@flamingspork.com>
Change-Id: Idf2f5f8702ac20ef165e8c4831b6f5039cd6e992
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/94783
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: Corey V Swenson <cswenson@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M Crowell <dcrowell@us.ibm.com>
  • Loading branch information
stewartsmith authored and dcrowell77 committed Apr 13, 2020
1 parent cf23c9a commit ba9db9d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/build/buildpnor/memd_creation.pl
Expand Up @@ -6,8 +6,9 @@
#
# OpenPOWER HostBoot Project
#
# Contributors Listed Below - COPYRIGHT 2017,2018
# Contributors Listed Below - COPYRIGHT 2017,2020
# [+] International Business Machines Corp.
# [+] Stewart Smith
#
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down Expand Up @@ -66,7 +67,7 @@
if($memd_dir)
{
print "Reading files from $memd_dir\n";
@memd_files = glob($memd_dir . '/*');
@memd_files = glob($memd_dir . '/*.rvpd');
}
elsif(@memd_files)
{
Expand Down

0 comments on commit ba9db9d

Please sign in to comment.