forked from qualcomm-linux/qcom-deb-images
-
Notifications
You must be signed in to change notification settings - Fork 11
tmpdir not always configured correctly #13
Copy link
Copy link
Open
Description
adbd of debian is leaving the TMPDIR env variable to /data/local/tmp which is the android place and not the linux default one. Here in this debian image we use the following workaround https://github.com/arduino/arduino-deb-images/blob/77a019b2e0b446f05fccc5220bf0f8d18079d8bc/debos-recipes/overlays/arduino-unoq-releases/etc/profile.d/50-fix-adb-shell.sh to change that on interactive shell. But this leave that not correctly set in cases like the following:
adb shell printenv TMPDIR
which will still return /data/local/tmp and not /tmp
To fix this issue we should probably do another adbd patch that set TMPDIR=/tmp before running the exec command here
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels