busybox module: parse busybox defined functions dynamically
authorAmérico Wang <xiyou.wangcong@gmail.com>
Thu, 21 Jul 2011 07:33:19 +0000 (15:33 +0800)
committerHarald Hoyer <harald@redhat.com>
Thu, 21 Jul 2011 07:58:38 +0000 (09:58 +0200)
commit4a855e6bebed956c108865823bcc131ebea2841a
tree98d76c345d96cb28200324fa83eff297af8aaedb
parent8570b544e96d150263c639b9411270488a95ad2b
busybox module: parse busybox defined functions dynamically

Currently in dracut busybox module, we hard-code the list of binaries
available in busybox. Actually we can get this list by running busybox
without any arguments.

Also, if find_binary() finds nothing, we would symlink $initdir/
which is not we expect.

Signed-off-by: WANG Cong <xiyou.wangcong@gmail.com>
modules.d/05busybox/module-setup.sh