[yocto] [meta-raspberrypi] du giving non-integer result?

Trevor Woerner twoerner at gmail.com
Thu Sep 10 18:37:15 PDT 2015


>From the feedback, it looks like I'm the only one seeing this issue.
That's okay, but I'll update this issue with new information in case
it's useful to others. Today I also had some other strangeness with the
"make sd card image" portion of a build, this time for cubietruck
(meta-sunxi):


    ERROR: Error: The image creation script
    '/z/tmp/build/tmp/work/cubietruck-poky-linux-gnueabi/core-image-minimal/1.0-r0/temp/create_image.sunxi-sdimg'
    returned 1:
    0+0 records in
    0+0 records out
    0 bytes (0 B) copied, 3.0606e-05 s, 0.0 kB/s
    expr: non-integer argument
    WARNING:
    /z/tmp/build/tmp/work/cubietruck-poky-linux-gnueabi/core-image-minimal/1.0-r0/temp/create_image.sunxi-sdimg:1
    exit 1 from
      parted -s
    /z/tmp/build/tmp/deploy/images/cubietruck/core-image-minimal-cubietruck-20150910182624.rootfs.sunxi-sdimg
    unit KiB mkpart primary ext2 $(expr ${BOOT_SPACE_ALIGNED} \+ 2048)
    $(expr ${BOOT_SPACE_ALIGNED} \+ 2048 \+ 10240.0)



Not only am I getting the floating point again, but it looks like
"BOOT_SPACE_ALIGNED" isn't getting expanded!

The frustrating part is that simply rerunning "bitbake
core-image-minimal" fixes the problem. The second time it completes
without error.



More information about the yocto mailing list