[PATCH] ash: make bash_source command search current directory after PATH

Denys Vlasenko vda.linux at googlemail.com
Tue Jan 30 12:20:50 UTC 2018


On Tue, Jan 30, 2018 at 4:31 AM, Mike Frysinger <vapier at gentoo.org> wrote:
> On 30 Jan 2018 04:00, Denys Vlasenko wrote:
>> On Mon, Jan 29, 2018 at 7:50 PM, Mike Frysinger wrote:
>> >> I still wonder how on Earth Android filesystem ended up not having /bin/sh.
>> >> No one at Google realized that people are using shell scripts
>> >> all over the Unix universe? Or they seriously did not want people
>> >> to run non-Android specific stuff on Android, and *wanted*
>> >> non-android-tailored shell scripts to fail to execute?
>> >
>> > i think it's more like you shouldn't be running shell the vast majority of
>> > the time. systemd showed the numbers to back this up.
>>
>> We should remove all shell scripts from e.g. kernel, gcc and busybox
>> build machinery. Because systemd. Right.
>
> i don't know what point you're trying to make, but drop the useless
> hyperbole.  you asked about runtime Android, not about random dev
> packages.

No, I did not ask about "runtime Android", whatever that means.
Android is a Unix system, not a custom phone OS like it was the case in first
generations of phones. It can be used as a general-purpose OS:
it is possible to run anything Unixy in it. I personally
wanted to build busybox. I run compilers, editors, git and such.
It's possible.

Or rather, it is possible to run anything Unixy in it
_after_ you root it and fix the stupid decisions by Android devs
who crippled it with incompatible file system layout for no apparent
reason.


More information about the busybox mailing list