Re: [Toybox] Fw: Building Linux with Toybox

2020-09-02 Thread Rob Landley
On 9/2/20 8:20 AM, Porter, Jeremy wrote: > > On 8/28/20 11:56 AM, Porter, Jeremy wrote: >>> I have RISC-V based cross compiled Linux running busybox. I have a very >>> simple >>> /etc/inittab file like this: >>> >>>   1 ::sysinit:/bin/busybox mount -t proc proc /proc >>>   2

[Toybox] [PATCH] top: don't report GiB sizes in KiB.

2020-09-02 Thread enh via Toybox
6 digits seems like a reasonable compromise for readability? That will still give KiB on tiny systems, but MiB on reasonable systems. The existing 8 digits gives numbers far too large to grok. This also matches procps top on my machine, though maybe that's hard-coded to always use MiB? ---

Re: [Toybox] Android binaries?

2020-09-02 Thread enh via Toybox
if you choose sdk_arm64 (or sdk_x86_64) off ci.android.com, click on the little "download" icon on most recent green build (or whichever build you want), the list of artifacts should now contain toybox-static32 and toybox-static64. so some human effort required (afaik there's no URL that gives

Re: [Toybox] And again.

2020-09-02 Thread Chet Ramey
On 9/2/20 2:16 AM, Rob Landley wrote: >>> And I have questions: >>> >>> 1) Bash DOES remove quotes from the pattern, it has to because splitting is >>> disabled so spaces and $IFS can get inserted: >> >> It doesn't perform quote removal, and Posix says it should not. > > Define "quote removal"?

Re: [Toybox] [PATCH] SIGHUP to init.c triggers inittab reload

2020-09-02 Thread Rob Landley
On 9/1/20 9:22 PM, Chris Sarra via Toybox wrote: > --- > toys/pending/init.c | 25 - > 1 file changed, 24 insertions(+), 1 deletion(-) Applied, but this command is in pending. Caviar Emperor and all that...

Re: [Toybox] And again.

2020-09-02 Thread Rob Landley
On 9/1/20 9:19 AM, Chet Ramey wrote: > On 8/28/20 2:28 AM, Rob Landley wrote: >> I'm trying hard not to bother you anymore, but I think the bash man page is >> wrong. It says says: >> >>case word in [ [(] pattern [ | pattern ] ... ) list ;; ] ... esac >> A case command first