nix-community / nix-on-droid

Nix-enabled environment for your Android device. [maintainers=@t184256,@Gerschtli]
https://nix-on-droid.unboiled.info
MIT License
1.15k stars 65 forks source link

login: Do not dereference proot binds `/bin` and `/etc` #353

Open azuwis opened 1 month ago

azuwis commented 1 month ago

/bin and /etc are symlinks to /system/bin and /system/etc, by default proot will dereference and override them with new contents.

After this change, /system/bin and /system/etc are kept untouched, so commands like /system/bin/ping can be run directly.

t184256 commented 1 month ago

Nice, this might've been the stuff I've been fighting about a year ago, judging by the age of the bin-less branch

t184256 commented 1 month ago

(also, consider adding yourself to AUTHORS)