All of lore.kernel.org
 help / color / mirror / Atom feed
* mtools bitbake failure
@ 2021-05-11 21:30 Mike Jones
  2021-05-11 21:41 ` Patrick Williams
  0 siblings, 1 reply; 5+ messages in thread
From: Mike Jones @ 2021-05-11 21:30 UTC (permalink / raw)
  To: OpenBMC Maillist

[-- Attachment #1: Type: text/plain, Size: 1217 bytes --]

I want to document a problem with mtools to see if this can be fixed or put on a bug list.

The failure occurs when:

- using meta-phosphor and meta-raspberrypi
- using the default scripts/install-buildtools

When "wic create” is run mtools commands will fail with error “Error converting to codepage 850"

The cause is iconv does not support CP850.

A solution is to use a newer version of the build tools, say 3.2.3, like this:

scripts/install-buildtools --without-extended-buildtools \
          --base-url http://downloads.yoctoproject.org/releases/yocto <http://downloads.yoctoproject.org/releases/yocto> \
          --release yocto-3.2.3 \
          --installer-version 3.2.3

However, the install-buildtools script will fail for two reasons:

- It looks for file extension sha256 instead of sha256sum
- The regular expression looks for two spaces like this \s\s and the file only has one space

A quick look at poky 3.3 which is near in time to the iconv fixes, upon inspection, fix both of these problems.

So if openbmc moved to poky 3.3, it would solve this problem.

I also noticed that the regex uses \s+, so it should not break using older build tools based on md5sum.


[-- Attachment #2: Type: text/html, Size: 2709 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-05-11 22:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-11 21:30 mtools bitbake failure Mike Jones
2021-05-11 21:41 ` Patrick Williams
2021-05-11 21:55   ` Mike
2021-05-11 22:01     ` Patrick Williams
2021-05-11 22:07       ` Mike

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.