]> code.ossystems Code Review - openembedded-core.git/commit
init-install.sh: Verify /sys based files exist before displaying them
authorDrew Moseley <drew_moseley@mentor.com>
Mon, 7 Jul 2014 00:43:00 +0000 (20:43 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 10 Jul 2014 16:37:38 +0000 (17:37 +0100)
commit1d73e3f9d9977382efdb0c111c556c6048bd60b4
tree11c36ccdb813a3cf46f4fd64d9358ae5cf06e0f2
parentcdbe55215e3dd1b82a6c147a31c7c40186a8bf80
init-install.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.

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