mirror of
https://github.com/clearlinux/hyperstart.git
synced 2026-08-23 15:37:24 +00:00
a8362c1a70b969e0a7eb92b8269be480f6e01dc6
1, Hold the the file description of pts device and ptmx in hyper-init process 2, Dup fd to the stdio of Exec cmd 3, Exec cmd exited, no EPOLLHUP event since the file is still open 4, Try to read ptmx fd before close pts fd 4, signal handler get signal SIGCHLD, close the pts fd to trigger EPOLLHUP event 5, EPOLLHUP event is received, send eof message to ttyfd. release exec. Signed-off-by: Gao feng <omarapazanadi@gmail.com>
The init Task for Hyper
You can get the binary installer of Hyper and HyperStart through The Hyper Page
Build from source
clone this repo, and make sure you have build-essentials installed. Go into the working copy and
> ./autogen.sh
> ./configure
> make
Then you can find hyper-initrd.img in the build directory, together with a pre-built kernel.
If you want to get the boot disk file for VirtualBox, please reconfigure with flag --with-vbox,
> ./configure --with-vbox
> make
Then you can find hyper-vbox-bootimage.iso in the build directory. Booting from this iso will
bring you to the hyper world.
Description
Languages
C
96.4%
Shell
1.8%
M4
0.9%
Dockerfile
0.6%
Makefile
0.3%