<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">I want to document a problem with mtools to see if this can be fixed or put on a bug list.<div class=""><br class=""></div><div class="">The failure occurs when:</div><div class=""><br class=""></div><div class="">- using meta-phosphor and meta-raspberrypi</div><div class="">- using the default scripts/install-buildtools</div><div class=""><br class=""></div><div class="">When "wic create” is run mtools commands will fail with error “<span style="font-family: Calibri, sans-serif; font-size: 14.666666984558105px;" class="">Error converting to codepage 850"</span></div><div class=""><br class=""></div><div class="">The cause is iconv does not support CP850.</div><div class=""><br class=""></div><div class="">A solution is to use a newer version of the build tools, say 3.2.3, like this:</div><div class=""><br class=""></div><div class=""><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">scripts/install-buildtools --without-extended-buildtools \<o:p class=""></o:p></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">          --base-url <a href="http://downloads.yoctoproject.org/releases/yocto" class="">http://downloads.yoctoproject.org/releases/yocto</a> \<o:p class=""></o:p></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">          --release yocto-3.2.3 \<o:p class=""></o:p></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">          --installer-version 3.2.3</div></div><div class=""><br class=""></div><div class="">However, the install-buildtools script will fail for two reasons:</div><div class=""><br class=""></div><div class="">- It looks for file extension sha256 instead of sha256sum</div><div class="">- The regular expression looks for two spaces like this \s\s and the file only has one space</div><div class=""><br class=""></div><div class="">A quick look at poky 3.3 which is near in time to the iconv fixes, upon inspection, fix both of these problems.</div><div class=""><br class=""></div><div class="">So if openbmc moved to poky 3.3, it would solve this problem.</div><div class=""><br class=""></div><div class="">I also noticed that the regex uses \s+, so it should not break using older build tools based on md5sum.</div><div class=""><br class=""></div></body></html>