diff options
author | Jonathan Liu <net147@gmail.com> | 2013-10-02 10:47:11 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-10-04 18:25:05 +0100 |
commit | 34c74ba45c04efc2dd998545bf7a31d7b06a0ee0 (patch) | |
tree | 48f790cb89b78e0165ad2acbef0120792d40ba65 /meta/classes/cross.bbclass | |
parent | c0a8c5c07e0dd6f0ae302e9a4dcf7973e73e68e1 (diff) | |
download | openembedded-core-34c74ba45c04efc2dd998545bf7a31d7b06a0ee0.tar.gz openembedded-core-34c74ba45c04efc2dd998545bf7a31d7b06a0ee0.tar.bz2 openembedded-core-34c74ba45c04efc2dd998545bf7a31d7b06a0ee0.zip |
boot-directdisk: avoid loop in MBR disk signature generation
Instead of looping until the generated signature is non-zero, just
return 'ffffffff' if it's zero. This avoids an infinite loop if the
generated signature is always zero.
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/cross.bbclass')
0 files changed, 0 insertions, 0 deletions