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

Commit deb34a8

Browse files
authored
Merge pull request #340 from gao-feng/vbox
remove vbox driver support
2 parents 67b91ca + 40458af commit deb34a8

File tree

12 files changed

+1
-1988
lines changed

12 files changed

+1
-1988
lines changed

README.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,3 @@ If you want to run hyperstart with 64-bit ARM architecture, please reconfigure w
1616

1717
> ./configure --with-aarch64
1818
> make
19-
20-
If you want to get the boot disk file for VirtualBox, please reconfigure with flag --with-vbox,
21-
22-
> ./configure --with-vbox
23-
> make
24-
25-
Then you can find `hyper-vbox-bootimage.iso` in the build directory. Booting from this iso will
26-
bring you to the hyper world.

build/Makefile.am

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,13 @@ if WITH_KMODULES
44
export INCLUDE_KMODULES=1
55
endif
66

7-
if WITH_VBOX
8-
initrd-local:
9-
bash ./make-initrd.sh vbox
10-
else
117
if WITH_AARCH64
128
initrd-local:
139
bash ./make-initrd.sh aarch64
1410
else
1511
initrd-local:
1612
bash ./make-initrd.sh
1713
endif
18-
endif
1914

2015
cbfs-local:
2116
bash ./make-initrd.sh cbfs

build/make-initrd.sh

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,6 @@ do
6060
done
6161
done
6262

63-
if [ "$1"x = "vbox"x ]; then
64-
echo "build initrd for vbox"
65-
cp ./vbox/driver/* /tmp/hyperstart-rootfs
66-
fi
67-
6863
( cd /tmp/hyperstart-rootfs && find . | cpio -H newc -o | gzip -9 ) > ./hyper-initrd.img
6964

7065
rm -rf /tmp/hyperstart-rootfs
@@ -85,30 +80,3 @@ if [ "$1"x = "cbfs"x ]; then
8580
rm -rf .cbfs
8681
exit 0
8782
fi
88-
89-
if [ "$1"x = "vbox"x ]; then
90-
mkdir tmp
91-
mkdir -p tmp/images
92-
mkdir -p tmp/kernel
93-
mkdir -p tmp/isolinux
94-
95-
cd tmp
96-
cp ../vbox/kernel ./kernel/
97-
cp ../hyper-initrd.img ./images/initrd.img
98-
cp ../vbox/isolinux/isolinux.bin ./isolinux/
99-
cp ../vbox/isolinux/ldlinux.c32 ./isolinux/
100-
101-
cat > isolinux/syslinux.cfg <<EOF
102-
DEFAULT linux
103-
LABEL linux
104-
SAY Now booting the kernel from SYSLINUX...
105-
KERNEL /kernel/kernel
106-
APPEND initrd=/images/initrd.img
107-
EOF
108-
109-
cd ../
110-
111-
mkisofs -o hyper-vbox-boot.iso -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table tmp
112-
113-
rm -fr tmp
114-
fi

build/vbox/driver/vboxguest.ko

-381 KB
Binary file not shown.

build/vbox/driver/vboxsf.ko

-62.8 KB
Binary file not shown.

build/vbox/isolinux/isolinux.bin

-44 KB
Binary file not shown.

build/vbox/isolinux/ldlinux.c32

-119 KB
Binary file not shown.

build/vbox/kernel

-3.04 MB
Binary file not shown.

0 commit comments

Comments
 (0)