mirror of
https://github.com/xoureldeen/Vectras-VM-Android.git
synced 2026-04-30 07:19:58 +00:00
2.9.0 Update
This commit is contained in:
parent
3658d98e4b
commit
fd28f57566
98 changed files with 36 additions and 20208 deletions
|
|
@ -167,15 +167,16 @@ public class SetupQemuActivity extends AppCompatActivity implements View.OnClick
|
|||
String[] prootCommand = {
|
||||
nativeLibDir + "/libproot.so", // PRoot binary path
|
||||
"--kill-on-exit",
|
||||
"--rootfs=" + filesDir + "/distro", // Path to the rootfs
|
||||
"--bind=/dev",
|
||||
"--bind=/proc",
|
||||
"--bind=/sys",
|
||||
"--bind=/sdcard",
|
||||
"--bind=/storage",
|
||||
"--bind=/data",
|
||||
"--cwd=/root",
|
||||
"/bin/sh",
|
||||
"--link2symlink",
|
||||
"-0",
|
||||
"-r", filesDir + "/distro", // Path to the rootfs
|
||||
"-b", "/dev",
|
||||
"-b", "/proc",
|
||||
"-b", "/sys",
|
||||
"-b", "/sdcard",
|
||||
"-b", "/storage",
|
||||
"-b", "/data",
|
||||
"-w", "/root",
|
||||
"--login" // The shell to execute inside PRoot
|
||||
};
|
||||
|
||||
|
|
@ -348,7 +349,8 @@ public class SetupQemuActivity extends AppCompatActivity implements View.OnClick
|
|||
executeShellCommand("set -e;" +
|
||||
" echo 'Starting setup...';" +
|
||||
" apk update;" +
|
||||
" apk add tar libslirp libslirp-dev pulseaudio-dev glib-dev pixman-dev zlib-dev spice-dev" +
|
||||
" apk add sudo;" +
|
||||
" sudo apk add tar libslirp libslirp-dev pulseaudio-dev glib-dev pixman-dev zlib-dev spice-dev" +
|
||||
" libusbredirparser usbredir-dev libiscsi-dev sdl2 sdl2-dev libepoxy-dev virglrenderer-dev rdma-core" +
|
||||
" libusb ncurses-libs curl libnfs sdl2 gtk+3.0 fuse libpulse libseccomp jack pipewire liburing;" +
|
||||
" tar -xzvf " + tarPath + " -C /;" +
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue