Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-05-18 | The linux console code is inconsistent: most console= lines accept | Rob Landley | |
/dev/name but for some reason powerpc's hvc driver does not. | |||
2021-03-16 | Add more shell tests, and teach txpect to do regex matches (RO and RE). | Rob Landley | |
2020-12-07 | scripts/runtest.sh: fix `toyonly` in a way that also works for mksh. | Elliott Hughes | |
mksh doesn't support the =~ extension, so my previous change -- while fixing the host -- broke Android. | |||
2020-12-05 | scripts/runtest.sh: fix `toyonly` for sed. | Elliott Hughes | |
sed lies to fool autoconf, but also confuses the toybox test suite. Without this patch we're skipping all "toyonly" tests on both GNU and toybox sed. | |||
2020-11-15 | Change test default to VERBOSE=fail, add all/quiet for old =1 and default. | Rob Landley | |
2020-11-14 | Allow 0 prefix to optstr to include argv[0] in optargs[0]. | Rob Landley | |
2020-11-13 | Properly install toybox files with $TARGET suffixes. | Rob Landley | |
2020-11-11 | Make the static musl x86-64 binaries segfault for fewer people. | Rob Landley | |
Even though the gcc toolchain ./configure is told it's cross compiling, it optimizes for the current machine ANYWAY. So force it to be generic. | |||
2020-10-24 | Silence kernel messages that stomp the command line after boot. | Rob Landley | |
2020-10-24 | Don't "quiet" the kernel builds. You can KARGS=quiet if you like. | Rob Landley | |
2020-10-19 | Do an "exec >/dev/console 2>&1" early in mkroot init so we have | Rob Landley | |
debug output if anything later in the script fails. | |||
2020-08-24 | Tweak error message. | Rob Landley | |
2020-08-23 | Teach VERBOSE to do more for xpect. | Rob Landley | |
2020-08-07 | People have been having trouble finding the toybox web page (despite being | Rob Landley | |
the first google hit for "android toybox"), and want toybox --help to mention it. I was referred to https://github.com/landley/toybox/issues/50 So add a URL to toybox --help. While I was there, make unrecognized commands (like toybox -?) suggest "toybox --help", move the install instructions to the FAQ page (with a second link from toybox --help), and generally tighten up the help text. Also, "toybox -*" is no longer a synonym for --long. Oh, and I fixed some build dependencies when Config.in changes. | |||
2020-06-16 | Have "make tests" fail if any of the tests failed. | Rob Landley | |
This is sort of a hack because I want to move the individual tests to subshells, which means they don't have a shared shell context. Functions and variables not persisting into later tests is a good thing (test environments polluting each other), but it makes accumulating FAILCOUNT more awkward. | |||
2020-06-08 | Tweak comments and error handling | Rob Landley | |
2020-06-01 | Let $PENDING select more commands out of pending to enable. | Rob Landley | |
2020-06-01 | Ahem. The new copy_file_range() check needs the config symbol probe. | Rob Landley | |
2020-05-26 | Fix syntax checking for "if true; then echo hello | fi", fix some tests, | Rob Landley | |
slightly more elaborate debug output. | |||
2020-05-19 | The standalone build for "make sh" has more dependencies because MAYFORK. | Rob Landley | |
2020-05-13 | The gnu/dammit cpio is REALLY stupid, so only pass --no-preserve-owner | Rob Landley | |
when using the toybox one. (This means /root will belong to the host user for the "make root" host target, which makes dropbear sad.) | |||
2020-05-13 | Teach scripts/test.sh to skip TEST_HOST commands that aren't installed. | Rob Landley | |
2020-05-11 | Fix "make tests". (realpath was replacing command name with "toybox".)0.8.3 | Rob Landley | |
2020-05-11 | Readability pass and while I'm at it add BUILTIN=1 to static link initramfs. | Rob Landley | |
Plus add /proc/config.gz with kernel config. | |||
2020-05-09 | Add an actual hardware target (sh2eb) to "make root". | Rob Landley | |
2020-05-09 | Remove old scripts/minicom.sh and cleanup microcom.c a bit more. | Rob Landley | |
Use s# instead of atoi, meantion -s default in help text, use toybuf instead of stack buf, reuse i instead of declaring a separate ssize_t, FLAG() macro. | |||
2020-05-09 | What the script to launch dropbear would be if the shell was ready for it. | Rob Landley | |
(init can't run /etc/rc/* without "pathname expansion", still TODO.) | |||
2020-05-08 | beat the dropbear build and module support a little further into shape. | Rob Landley | |
2020-05-05 | Teach mkroot to cross compile additional packages, with dropbear as example. | Rob Landley | |
scripts/mkroot.sh CROSS=sh4 LINUX=~/linux dropbear No, I'm not going down the rathole of adding lots of packages, but this shows _how_ to do it if you want to. The hooks are there. They don't have to be in scripts/root, that's just a default search location, you can provide a path on the command line or have them be in the $PATH. | |||
2020-05-01 | Fix and document make run_root. | Rob Landley | |
2020-04-30 | Resolve absolute paths in places input can vary. | Rob Landley | |
2020-04-28 | Use sntp instead of rdate/ntpd, force "sh" and "route" on for now, enable | Rob Landley | |
COMPAT_32BIT_TIME to work around new musl calling legacy API. | |||
2020-04-27 | Fix install error return in non-airlock case and slight cleanup. | Rob Landley | |
2020-04-12 | Work around qemu bug. | Rob Landley | |
The QEMU console output disables wordwrap (see man 4 console_codes, DECAWM) but doesn't re-enable it, so things like bash command history or tab completion glitch afterwards. QEMU should printf("\e[?7h") on the way out, but doesn't. So make qemu wrapper script do it. | |||
2020-04-11 | Remove prefix from fs dir (so it's just root/$CROSS/fs), don't search oneit | Rob Landley | |
by path, add m68k target. | |||
2020-04-10 | Document "make root" in make help. (It almost works now!) | Rob Landley | |
2020-04-08 | Typo. | Rob Landley | |
2020-04-08 | Tighten up mkroot.sh slightly. | Rob Landley | |
2020-04-08 | Tell kernel to stop crapping "rng pool init" messages over the command prompt. | Rob Landley | |
2020-04-08 | More mkroot.sh work. | Rob Landley | |
Replace CROSS_SHORT with CROSS log CROSS=all build output Unset stupid kernel defaults (such as VGA tty /dev nodes). Only pass through standard environment variables, require control vars (LINUX= ALL= CROSS=) to be set on command line. In init script, bring up loopback net and run sub-init scripts if any. | |||
2020-04-06 | Integrate cross compile support into mkroot, ala "make root CROSS=sh4" | Rob Landley | |
2020-03-15 | gcc 8.3.0 changed its arm floating point syntax, plus error handling tweaks. | Rob Landley | |
2020-03-13 | More sh tests. | Rob Landley | |
2020-03-02 | More cross.sh tweaks. | Rob Landley | |
2020-03-02 | Move "scripts/cross.sh all" log files into root/log. | Rob Landley | |
2020-03-02 | Check that cross compiler is there, not linker, before building native. | Rob Landley | |
It builds binutils first, so ld being there doesn't mean cc finished. | |||
2020-03-02 | Say command name before test result with txpect too. | Rob Landley | |
2020-02-25 | Fix off by one error that treats bit 31 as negative (so ls --color sets | Rob Landley | |
all the bits). While we're at it, make LL be ULL so bit 63 doesn't have the same problem. | |||
2020-02-22 | Make ASAN=1 affect the HOSTCC-built tools too. | Elliott Hughes | |
Bug: https://github.com/landley/toybox/issues/169 | |||
2020-02-22 | mkflags: fix a sscanf buffer off-by-one. | Elliott Hughes | |
Sadly, the compilers don't even catch this common mistake if you use sscanf_s(3). Luckily, ASan does. |