diff options
author | Jérôme de Bretagne <jerome.debretagne@gmail.com> | 2020-08-27 12:15:37 +0200 |
---|---|---|
committer | Jérôme de Bretagne <jerome.debretagne@gmail.com> | 2020-08-27 12:33:16 +0200 |
commit | 668c9098c6238795d66be95ed9fa77fc29892fc2 (patch) | |
tree | d9aaaa19704000059c55482eee27c6a17f300e98 /HOWTO | |
parent | 57193ae283f54fbc4a16c506411ee064a11957f6 (diff) | |
download | erlang-668c9098c6238795d66be95ed9fa77fc29892fc2.tar.gz |
Adjust the installation scripts for Android
Replace /bin/sh into /system/bin/sh in the various Erlang/OTP release
scripts and update the documentation accordingly.
Diffstat (limited to 'HOWTO')
-rw-r--r-- | HOWTO/INSTALL-ANDROID.md | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/HOWTO/INSTALL-ANDROID.md b/HOWTO/INSTALL-ANDROID.md index ad6aed95e7..24e8b0d658 100644 --- a/HOWTO/INSTALL-ANDROID.md +++ b/HOWTO/INSTALL-ANDROID.md @@ -45,7 +45,8 @@ Use the following instead when compiling a 32-bit version. ### Compile Erlang/OTP ### - $ # make noboot [-j4] # noboot doesn't work, is it a recent regression? + $ make noboot [-j4] + or $ make [-j4] @@ -78,19 +79,6 @@ To properly integrate into an Android application, the installation would have to target /data/data/[your/app/package/name]/files/[erlang/dir/once/unpacked] as shown in https://github.com/JeromeDeBretagne/erlanglauncher as an example. -TODO: Propose a permanent fix for the following issue. -Adapt the installation specifically for Android, by replacing manually /bin/sh -into /system/bin/sh in the various Erlang/OTP release scripts, such as: - - bin/erl - - bin/start - - bin/start_erl - - erts-X.Y.Z/bin/erl - - erts-X.Y.Z/bin/erl.src - - erts-X.Y.Z/bin/start - - erts-X.Y.Z/bin/start_erl.src - - erts-X.Y.Z/bin/start.src - - etc. - WARNING: adb has issues with symlinks (and java.util.zip too). There is only one symlink for epmd in recent Erlang/OTP releases (20 to master-based 23) so it has to be removed before using adb push, and then recreated manually on the |