openrc-discuss

Busybox error in OpenRC 0.4.3

Ed W

Wed Aug 12 23:47:49 2009

Hi,

I get the following error at bootup with uclibc, busybox and udev

/lib/rc/sh/runscript.sh: line 217: syntax error: KV_MAJOR * 65536 + KV_MINOR * 256 + KV_MICRO
sh: 132623: unknown operand

A little bit of digging leads me to think its caused by this line in /lib/rc/sh/functions.sh
       local KV_int="$(( KV_MAJOR * 65536 + KV_MINOR * 256 + KV_MICRO ))"

Can someone with stronger ash fu than me suggest why this is wrong and how to rectify please?

Thanks for any pointers

Ed W


Archive administrator: postmaster@marples.name