I saw such behavior in 'expr' when I upgraded bash 3.1 - it started printing floats instead of integers. You can solve it using awk's OFMT: awk '{OFMT="%.0f";print $1}'
Michael -----Original Message----- From: yocto-boun...@yoctoproject.org [mailto:yocto-boun...@yoctoproject.org] On Behalf Of Trevor Woerner Sent: Monday, September 07, 2015 10:40 AM To: Khem Raj Cc: yocto@yoctoproject.org Subject: Re: [yocto] [meta-raspberrypi] du giving non-integer result? On 09/07/15 03:21, Khem Raj wrote: >> On Sep 6, 2015, at 7:40 PM, Trevor Woerner <twoer...@gmail.com> wrote: >> >> I can't explain why, but when I build "core-image-minimal" for >> MACHINE=raspberrpi2 I get the following SD creation error: >> > which shell do you use for /bin/sh $ ls -l /bin/sh lrwxrwxrwx 1 root root 4 Nov 22 2014 /bin/sh -> bash $ /bin/bash --version GNU bash, version 4.2.53(1)-release (x86_64-suse-linux-gnu) Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software; you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto