Skip to content
This repository was archived by the owner on Feb 8, 2021. It is now read-only.

Commit 413f8db

Browse files
committed
make-initrd.sh: add busybox, socat and mount.nfs4 to LDD_BINARIES
make-initrd.sh will use ldd to get the share library list from LDD_BINARIES. And this code can handle static link binary with itself. So add busybox, socat and mount.nfs4 to LDD_BINARIES to make make-initrd.sh support different binary. Signed-off-by: Hui Zhu <[email protected]>
1 parent f2af9a5 commit 413f8db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/make-initrd.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ do
4848
ln -sf /sbin/iptables /tmp/hyperstart-rootfs/${bin}
4949
done
5050

51-
LDD_BINARIES=(/init /sbin/ipvsadm /sbin/iptables)
51+
LDD_BINARIES=(/init /sbin/busybox /sbin/ipvsadm /sbin/iptables /sbin/socat /sbin/mount.nfs4)
5252
if [ -e $ARCHPATH/binary/rtas.tar ]; then
5353
LDD_BINARIES+=(/usr/sbin/rtas_errd)
5454
fi

0 commit comments

Comments
 (0)