File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 33DIE () { echo -e " ${@ } " ; exit 1 ; : ; }
44GWARN () { echo -e " \e[90m${* } \e[0m" ; : ; }
55
6- apt install -y jq wget proot pv pulseaudio libandroid-shmem-static
6+ apt install -y jq wget proot pv pulseaudio libandroid-shmem-static binutils
77[[ ! -d udroid/src ]] && {
88 echo " udroid/src not found"
99 exit 1
Original file line number Diff line number Diff line change @@ -317,7 +317,8 @@ PROG_PRINT "setting up android shmem"
317317shmem_lib=" ${PREFIX} /lib/libandroid-shmem.a"
318318if [ -f " ${shmem_lib} " ]; then
319319 PROG_PRINT " copying android shmem library"
320- cp " ${shmem_lib} " " ${root_fs_path} /lib/"
320+ ar x " ${shmem_lib} "
321+ mv shmem.o " ${root_fs_path} /lib"
321322# else
322323# PROG_PRINT "android shmem library not found"
323324
Original file line number Diff line number Diff line change @@ -447,7 +447,7 @@ login() {
447447
448448 # set LD_PRELOAD to libandroid-shmem.a
449449 if ! $no_android_shmem ; then
450- shmem_lib_path=" ${root_fs_path} /lib/libandroid- shmem.a "
450+ shmem_lib_path=" ${root_fs_path} /lib/shmem.o "
451451 if [ -f " $shmem_lib_path " ]; then
452452 _ld=" $shmem_lib_path "
453453 else
You can’t perform that action at this time.
0 commit comments