fix(Makefile): add "luajit" binary to android zip file#9511
Conversation
|
This is missing a lot of context. Are you referring to the slightly hackish approach we use to send ioctls via shellscripts? If so, why would you want to run that from Kotlin instead of just some native ioctl call? |
i dont understand what you mean, i include the |
|
You'll have to show that |
i dont quite know what you mean, like i had said in earlier PR's / issues i am still new to android / java / kotlin (and for that matter C / lua), and from what i could tell from some searching around i could not find a way to call |
|
|
Pinging @pazos, but according to the docs this should work. https://kotlinlang.org/docs/native-platform-libs.html#posix-bindings
|
|
That also probably won't work on newer Android platforms anyway, so, yeah, probably not a good example to follow, my bad, forgot that Android is pain ;). |
|
You must check first that your non privilegied user has access to the If you're are able to get that working without gaining root first then no matter how you coded that, we can write it properly to not include luajit (again) in android. But it is a dead end. I don't have the device but my comment in #8429 (comment) still stands:
So please consider one of these routes instead:
|
my ntx_io file permissions are 777
from what i can tell, this is not possible on Tolino because it is in the Tolino App, not a separate (or i just dont know enough about android)
like i had said, |
|
This PR is not needed anymore thanks to https://github.com/hasezoey/android-luajit-launcher/pull/1 |
This PR adds the
luajitbinary to the android output, required for runningntx_io.luainTolinoWarmthController.ktrequired for koreader/android-luajit-launcher#382
Note: this PR adds the generated
luajitbinary to the 7z package, because it was not there before, i dont know if this is the proper way, but for now it worked for meThis change is