]> code.ossystems Code Review - openembedded-core.git/commit
boot-directdisk: use awk instead of echo -ne for dash compatibility
authorJonathan Liu <net147@gmail.com>
Sat, 20 Jul 2013 12:11:20 +0000 (22:11 +1000)
committerSaul Wold <sgw@linux.intel.com>
Tue, 23 Jul 2013 14:22:38 +0000 (07:22 -0700)
commit1928f46e8e9f281e3e64f916048cc9314e125150
treee0f46218d8f68e46ab48537e780e9815ef2dc9d6
parent4bd98157f1d7a96741d036e67b04819ccbc9a9c6
boot-directdisk: use awk instead of echo -ne for dash compatibility

The echo command is a dash shell built-in and does not support the
-n and -e options so use awk instead.

This fixes the partition table being corrupted when writing the MBR
disk signature into the image.

[YOCTO #4859]

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/classes/boot-directdisk.bbclass