[yocto] Installing iperf3 causes strange image corruption

Wilde, DonaldX donaldx.wilde at intel.com
Tue Feb 7 09:42:51 PST 2017


My bad, Ross. I meant IMAGE_INSTALL. Must have been lexdysic the other day. ☺

From: Burton, Ross [mailto:ross.burton at intel.com]
Sent: Tuesday, February 7, 2017 10:34 AM
To: Wilde, DonaldX <donaldx.wilde at intel.com>
Cc: yocto at yoctoproject.org
Subject: Re: [yocto] Installing iperf3 causes strange image corruption


On 1 February 2017 at 20:28, Wilde, DonaldX <donaldx.wilde at intel.com<mailto:donaldx.wilde at intel.com>> wrote:
Unfortunately, what happens is that somewhere along the line after the initial patch and compilation, something in our image gets radically corrupted. With IMAGE_INCLUDE += “iperf3” set, the image is corrupted. Horrible results occur including that much of our NVRAM content becomes invisible and we get dumped into some kind of emergency debugging shell after about 6.3 seconds.
...
starting pid 1363, tty '': '/etc/init.d/rcS'
can't run '/etc/init.d/rcS': No such file or directory

IMAGE_INCLUDE isn't a standard variable, so either you typo'd that or it's a variable that  your images use.  Either way, your error is basically "the rootfs is bust" so it's quite possible that by assigning to IMAGE_INCLUDE from your local.conf may be overriding the default value (set by ?=).

For example, if you meant IMAGE_INSTALL then image.bbclass uses IMAGE_INSTALL ?= so by doing +=iperf3, you're building an image that *just* contains iperf3.

Try using IMAGE_INSTALL_append = " iperf3".

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170207/c7724b5b/attachment.html>


More information about the yocto mailing list