mirror of
https://github.com/clearlinux/hyperstart.git
synced 2026-08-19 04:17:40 +00:00
@@ -4,9 +4,14 @@ if WITH_VBOX
|
||||
initrd-local:
|
||||
bash ./make-initrd.sh vbox
|
||||
else
|
||||
if WITH_AARCH64
|
||||
initrd-local:
|
||||
bash ./make-initrd.sh aarch64
|
||||
else
|
||||
initrd-local:
|
||||
bash ./make-initrd.sh
|
||||
endif
|
||||
endif
|
||||
|
||||
cbfs-local:
|
||||
bash ./make-initrd.sh cbfs
|
||||
|
||||
Executable
BIN
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@@ -7,7 +7,13 @@ cp ../src/init /tmp/hyperstart-rootfs
|
||||
cp busybox /tmp/hyperstart-rootfs
|
||||
cp iptables /tmp/hyperstart-rootfs
|
||||
cp libm.so.6 /tmp/hyperstart-rootfs/lib64/
|
||||
tar -xf modules.tar -C /tmp/hyperstart-rootfs/lib/modules
|
||||
|
||||
if [ "$1"x = "aarch64"x ]; then
|
||||
echo "build hyperstart for aarch64"
|
||||
tar -xf modules_aarch64.tar -C /tmp/hyperstart-rootfs/lib/modules
|
||||
else
|
||||
tar -xf modules.tar -C /tmp/hyperstart-rootfs/lib/modules
|
||||
fi
|
||||
|
||||
ldd /tmp/hyperstart-rootfs/init | while read line
|
||||
do
|
||||
|
||||
Binary file not shown.
@@ -38,6 +38,17 @@ if test "$fail" = "1" ; then
|
||||
AC_MSG_ERROR(Unable to find necessary functions)
|
||||
fi
|
||||
|
||||
AC_ARG_WITH([aarch64],
|
||||
[AS_HELP_STRING([--with-aarch64],
|
||||
[run hyperstart with 64-bit ARM architecture])],
|
||||
[],[with_aarch64=no])
|
||||
|
||||
if test "x$with_aarch64" != "xno" ; then
|
||||
AC_DEFINE_UNQUOTED([WITH_AARCH64], 1, [run hyperstart with 64-bit ARM architecture])
|
||||
fi
|
||||
|
||||
AM_CONDITIONAL([WITH_AARCH64], [test "x$with_aarch64" != "xno"])
|
||||
|
||||
AC_ARG_WITH([vbox],
|
||||
[AS_HELP_STRING([--with-vbox],
|
||||
[run hyperstart on Virtualbox])],
|
||||
@@ -61,6 +72,7 @@ AC_MSG_RESULT([
|
||||
prefix: ${prefix}
|
||||
|
||||
with-vbox: ${with_vbox}
|
||||
with-aarch64: ${with_aarch64}
|
||||
|
||||
compiler: ${CC}
|
||||
cflags: ${CFLAGS}
|
||||
|
||||
Reference in New Issue
Block a user