[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#677049: [trivial] please don't hardcode /bin/sleep path



On Mon, Jun 11, 2012 at 14:21:05 +0400, Michael Tokarev wrote:

> Package: initramfs-tools
> Version: 0.106
> Severity: wishlist
> 
> Two scripts in initramfs-tools currently hardcodes path to sleep
> as /bin/sleep, because busybox sleep (which were used when
> busybox is in used) didn't accept fractional secounds.  Fractional
> secounds are accepted by busybox sleep since version 1:1.18.5-1,
> so it is safe now to stop hardcoding the path.
> 
It's not safe without Breaks on older busybox (or Depends on the newer
one).

Cheers,
Julien



Reply to: