]> code.ossystems Code Review - openembedded-core.git/commit
mkefidsk: fix bash/dash shell quoting problem
authorSaul Wold <sgw@linux.intel.com>
Thu, 29 Jun 2017 20:46:18 +0000 (13:46 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 30 Jun 2017 07:44:09 +0000 (08:44 +0100)
commit008d6cb5bb4969f53a228893c502be8c9420ecb0
tree510e940deb9c0f15372f58425803c93b96a355da
parentde7914954571ea8e717f56b6d6df13157b0973bc
mkefidsk: fix bash/dash shell quoting problem

mkefidsk currently writes a startup.nsh with embedded control characters.
This happens because \b etc are control sequences to the shell echo
command when using dash. The resulting startup.nsh causes the bootup
to fail, and the user is dropped into the EFI shell to manually run
startup.nsh.

Patch originally provided by Troy D. Hanson <troy.hanson@jhuapl.edu>

[YOCTO #9665]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/contrib/mkefidisk.sh