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:26:50 +0100 |
commit | d299444adcc02b9a40ba0651059d0ba283108231 (patch) | |
tree | 757910d09e3a8e5e3da8bf7595fe9fbee04eee57 /meta/classes/image-mklibs.bbclass | |
parent | 104166c804e9068d85ccdaa887a33df72c8aeb85 (diff) | |
download | poky-d299444adcc02b9a40ba0651059d0ba283108231.tar.gz |
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.
(From OE-Core rev: 34c74ba45c04efc2dd998545bf7a31d7b06a0ee0)
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/image-mklibs.bbclass')
0 files changed, 0 insertions, 0 deletions