aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-05-09Add an actual hardware target (sh2eb) to "make root".Rob Landley
2020-05-09Remove 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-09What 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-09Shrink sed --help from 150 lines to 91.Rob Landley
2020-05-08Don't have -L forward stderr automatically, break out -E to do that.Rob Landley
2020-05-08Inline do_main(), remove second argument of get_arg() that's always 0Rob Landley
(one caller fed in N_TTY which is 0).
2020-05-08stty.c: fix interpreting output of stty -gEthan Sommer
move case checking for stty -g output as input above case checking for an int argument, so atoi doesn't cause "500:5:bf:8a3b:3"... to be considered an int argument of 500
2020-05-08beat the dropbear build and module support a little further into shape.Rob Landley
2020-05-06Kill zombies.Rob Landley
2020-05-06Minor doc tweaks.Rob Landley
2020-05-05Fix 32 bit option parsing for long long optflag values.Rob Landley
2020-05-05Teach 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-05Link to bash man page.Rob Landley
2020-05-05Remove leftover increment and move variable clear after error report.Rob Landley
2020-05-04Restore error message for command not found, don't let ctrl-C kill shell.Rob Landley
2020-05-03Fix "make root && chroot root/host/fs /init" with glibc host compiler.Rob Landley
2020-05-03Next round of shell work.Rob Landley
2020-05-01Minor cleanup.Rob Landley
2020-05-01Fix and document make run_root.Rob Landley
2020-04-30Yet more shell test tweaks.Rob Landley
2020-04-30Resolve absolute paths in places input can vary.Rob Landley
2020-04-28Remove unnecessary MAYFORK.Rob Landley
2020-04-28Replace a SKIP_HOST with toyonly.Rob Landley
2020-04-28Use sntp instead of rdate/ntpd, force "sh" and "route" on for now, enableRob Landley
COMPAT_32BIT_TIME to work around new musl calling legacy API.
2020-04-27Add gratuitous typecast to work around insane warning.Rob Landley
(long is 32 bits on 32 bit systems, just use long already)
2020-04-27Allow KCONFIG_ALLCONFIG to delta against defconfig.Rob Landley
2020-04-27Fix install error return in non-airlock case and slight cleanup.Rob Landley
2020-04-27Redo toysh variable expansion plumbing to start ${} (variable expansion canRob Landley
now return error), inline utf8spnc and merge_arg(), unify "break" logic, fix "continue" and "done; done", fix cd not to expand arguments twice
2020-04-24More shell tests.Rob Landley
2020-04-23fdisk: fix -Wsizeof-pointer-memaccess, switch to FLAG() macrosEthan Sommer
2020-04-20patch: fix out of bounds memory access.Elliott Hughes
On empty lines, we'd read one byte before the start of the buffer.
2020-04-16cpio: fix tests by removing --trailer.Elliott Hughes
f2866cf58a07c9d681ecd6695ea969ac70e59a3d fixed the cpio --trailer check as it claimed to, but doing so changed our behavior (since it used to be always-on and is now off unless you supply --trailer). This broke one of the cpio tests. Since I can't find any other cpio that has a --trailer option (or its inverse), this patch removes --trailer. This reverts our behavior to our old behavior (always include the trailer). Judging by the fact that the cpio tests pass with TEST_HOST=1, this seems to be the expected behavior.
2020-04-16Yet more shell tests.Rob Landley
2020-04-16Promote rtcwake.Rob Landley
2020-04-16Minor cleanup.Rob Landley
2020-04-16Promote blkdiscard.Rob Landley
2020-04-16Cleanup blkdiscard.Rob Landley
2020-04-16Weed-whack a few warnings out of pending so allyesconfig is less noisy.Rob Landley
2020-04-15fdisk: change sector_t to unsigned long long to fix -WformatEthan Sommer
2020-04-15Echo tests for new unescape2() functionality.Rob Landley
2020-04-15ip: appease clang warningsEthan Sommer
fix false positive -Wformat-security by passing string literal directly to error_exit, instead of assigning it to a variable and passing that fix -Wparentheses-equality by removing extra parentheses
2020-04-15groupadd: fix -Wformat and switch to FLAG() macrosEthan Sommer
2020-04-15Based on a patch from Ethan Sommer: silence warning and convert to FLAG()Rob Landley
2020-04-15cpio: fix --trailer flag check, switch to FLAG() macros.Ethan Sommer
2020-04-15Add "other packages" section to roadmap explaining what Linux From ScratchRob Landley
packages toybox commands provide partial or complete replacements for.
2020-04-14shred: fix -z flag check, switch to FLAG() macros.Ethan Sommer
2020-04-14Implement $''Rob Landley
2020-04-14Start of $- and set flags support.Rob Landley
2020-04-13Humor asan.Rob Landley
(ls would read from an uninitalized variable and never use the result because the test is afterwards, but asan freaks about impurity and unclean quantum state that's never observed or some such. You read uninitialized but definitely allocated stack memory into a REGISTER, and then performed an ADDITION on it to produce a result you never use! For SHAME!)
2020-04-13Add unescape2(), migrate some unescape() users over.Rob Landley