init-install-efi.sh: Verify /sys based files exist before displaying them
authorDrew Moseley <drew_moseley@mentor.com>
Thu, 31 Jul 2014 00:49:30 +0000 (20:49 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 2 Aug 2014 08:26:16 +0000 (09:26 +0100)
commitd0e07a4bab60b5348740c0b5de127bf0e3f08ea2
tree065f95cc19ba2f1f3ae82391bdf7cfe7f3bd905a
parent0d80a24a1908428ec61f9728bf8528b086bfee02
init-install-efi.sh: Verify /sys based files exist before displaying them

Some mmc cards do not have all the data files in /sys/block
populated.  Check for existence before displaying the files
to avoid erroring out of the install process.

(From OE-Core rev: 4abe5563f61a228963e1e442ebc2df9f2d01be80)

Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/initrdscripts/files/init-install-efi.sh