]> code.ossystems Code Review - openembedded-core.git/commit
busybox: enable fractional sleep arguments
authorNathan Lynch <nathan_lynch@mentor.com>
Thu, 17 Nov 2016 20:49:51 +0000 (14:49 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 30 Nov 2016 15:47:10 +0000 (15:47 +0000)
commit0f53db8a63ed35031b1fcc85057b39ad43c9abd1
treed01b2f0e7853aec8be668f05652d282476be7880
parent83d10e2acef936b1f38804988f10eafa48db36f9
busybox: enable fractional sleep arguments

Fractional durations (e.g. 0.5s) for the sleep command are useful and
not terribly uncommon in practice, especially in scripts associated
with test cases (e.g. mdadm, lttng-tools).  Enable FEATURE_FLOAT_SLEEP
by default in order to avoid having to patch every instance of a
script using a fractional sleep.

The busybox binary gains a few hundred bytes in text (armv5e shown):

$ size -x busybox.nosuid.{before,after}
   text    data     bss     dec     hex filename
0x89382   0x71d  0x2250  572655   8bcef busybox.nosuid.before
0x8954e   0x721  0x2250  573119   8bebf busybox.nosuid.after

Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-core/busybox/busybox/defconfig