Skip to content

Conversation

@mmiszczyk
Copy link

This adds support for Android:

  • /system/bin/sh interpreter as opposed to /bin/sh (this is the reason for using a separate file)
  • moves temporary files from /tmp/ to /data/local/tmp

@speed47
Copy link
Owner

speed47 commented Mar 22, 2022

Hello, and thanks for your PR!

I would like to avoid having a second copy of the script with only the shebang being different, however your point around the temporary directory for Android is completely valid and we should be able to autodetect that smoothly.

speed47 added a commit that referenced this pull request Mar 22, 2022
@speed47
Copy link
Owner

speed47 commented Mar 22, 2022

I no longer have a rooted Android around to test that, would you be able to test the "android" branch, which should autodetect the proper TMP directory under Android?

The shebang is still #!/bin/sh, but you should be able to run it with /system/bin/sh spectre-meltdown-checker.sh

speed47 added a commit that referenced this pull request Mar 27, 2022
speed47 added a commit that referenced this pull request Mar 27, 2022
@speed47
Copy link
Owner

speed47 commented Mar 27, 2022

Merged #415, as I'd like to release a new version. Please open an issue if it doesn't wok as expected!

@speed47 speed47 closed this Mar 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants