LWN.net Logo

Tasting the Ice Cream Sandwich

Tasting the Ice Cream Sandwich

Posted May 27, 2012 4:04 UTC (Sun) by djao (subscriber, #4263)
In reply to: Tasting the Ice Cream Sandwich by mirabilos
Parent article: Tasting the Ice Cream Sandwich

Sure, Android includes a non-GNU userland and does not include the GNU userland, but the GNU userland (including even regular old glibc) will still work if you put it on the phone yourself, even though your phone doesn't come with it. There are even Play Store apps that download and install an entire Debian/Ubuntu ARM distribution in chroot on Android. I wouldn't want static binaries for everything but a shell is critical enough that I'll make an exception.

Thanks for the mkshrc script. It works fine in adb shell from /system/etc/mkshrc but doesn't seem to work in apps like Terminal Emulator (?) or ConnectBot's local terminal.


(Log in to post comments)

Tasting the Ice Cream Sandwich

Posted Jun 24, 2012 11:30 UTC (Sun) by mirabilos (subscriber, #84359) [Link]

Sorry, I don’t have these applications, so I don’t know about them.
This all also depends on which mksh you’re using.

Basically, mksh looks in "${ENV:-~/mkshrc}", and the path has been
changed to /system/etc/mkshrc in the in-tree AOSP version. There’s
also /etc/profile and ~/.profile…

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds