On 29.07.2015 05:38, Minfei Huang wrote: > From previous reconstruction, dracut will put the dependency code into > dracut-init.sh, and independency code to dracut-functions.sh. Then any > script can source the public dracut-function.sh script. > > There are still a lot of errors when dracut-functions.sh is sourced in > third-part script. So this patch try to move the dependency code from > dracut-functions.sh to dracut-init.sh. > > Here are some sorts of errors about the dependency. > > logger: unknown facility name: . > /usr/lib/dracut/dracut-logger.sh: line 339: ((: 4 <= : syntax error: operand expected (error token is "<= ") > logger: unknown facility name: . > /usr/lib/dracut/dracut-logger.sh: line 339: ((: 4 <= : syntax error: operand expected (error token is "<= ") > logger: unknown facility name: . > What functions do you need? maybe we can source them out instead. -- To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html