This repository was archived by the owner on Feb 8, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 7 files changed +10
-5
lines changed Expand file tree Collapse file tree 7 files changed +10
-5
lines changed File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -12,11 +12,16 @@ mkdir -m 0755 -p /tmp/hyperstart-rootfs/dev \
1212 /tmp/hyperstart-rootfs/proc
1313
1414cp ../src/hyperstart /tmp/hyperstart-rootfs/init
15- cp busybox /tmp/hyperstart-rootfs/sbin/
16- cp iptables /tmp/hyperstart-rootfs/sbin/
17- cp ipvsadm /tmp/hyperstart-rootfs/sbin/
18- cp socat /tmp/hyperstart-rootfs/sbin/
19- cp mount.nfs /tmp/hyperstart-rootfs/sbin/mount.nfs4
15+ if [ " $1 " x == " aarch64" x ]; then
16+ ARCHPATH=" arch/aarch64"
17+ else
18+ ARCHPATH=" arch/x86_64"
19+ fi
20+ cp $ARCHPATH /binary/busybox /tmp/hyperstart-rootfs/sbin/
21+ cp $ARCHPATH /binary/iptables /tmp/hyperstart-rootfs/sbin/
22+ cp $ARCHPATH /binary/ipvsadm /tmp/hyperstart-rootfs/sbin/
23+ cp $ARCHPATH /binary/socat /tmp/hyperstart-rootfs/sbin/
24+ cp $ARCHPATH /binary/mount.nfs /tmp/hyperstart-rootfs/sbin/mount.nfs4
2025
2126if [ " $INCLUDE_KMODULES " x == " 1" x ]; then
2227 if [ " $1 " x = " aarch64" x ]; then
You can’t perform that action at this time.
0 commit comments