aboutsummaryrefslogtreecommitdiff
path: root/scripts/mkroot.sh
AgeCommit message (Collapse)Author
2020-10-24Silence kernel messages that stomp the command line after boot.Rob Landley
2020-10-24Don't "quiet" the kernel builds. You can KARGS=quiet if you like.Rob Landley
2020-10-19Do an "exec >/dev/console 2>&1" early in mkroot init so we haveRob Landley
debug output if anything later in the script fails.
2020-08-24Tweak error message.Rob Landley
2020-06-01Let $PENDING select more commands out of pending to enable.Rob Landley
2020-05-13The gnu/dammit cpio is REALLY stupid, so only pass --no-preserve-ownerRob 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-11Readability 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-09Add an actual hardware target (sh2eb) to "make root".Rob Landley
2020-05-08beat the dropbear build and module support a little further into shape.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-04-30Resolve absolute paths in places input can vary.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-12Work 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-11Remove prefix from fs dir (so it's just root/$CROSS/fs), don't search oneitRob Landley
by path, add m68k target.
2020-04-08Typo.Rob Landley
2020-04-08Tighten up mkroot.sh slightly.Rob Landley
2020-04-08Tell kernel to stop crapping "rng pool init" messages over the command prompt.Rob Landley
2020-04-08More 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-06Integrate cross compile support into mkroot, ala "make root CROSS=sh4"Rob Landley
2020-02-17Work around kernel build bug where "make distclean" doesn't work in cp -sfRRob Landley
directory. Downside: this modifies (distcleans) the source directory for an out of tree build, but the alternative is (sometimes subtle) build breaks.
2020-02-17Tighten up build script a little.Rob Landley
2020-01-17Denys Nykula noticed leftover debris from trying to turn the /etc/passwdRob Landley
HERE document into an echo ala group. (It wasn't easily coerced into 80 columns and having it be multiple echoes was about as ugly as the HERE document, so I undid it again and missed a bit.)
2020-01-14Convert to smaller config format.Rob Landley
2020-01-09Use /root as root's home dir and create /dev/fd and /dev/shm in devtmpfsRob Landley
2019-09-07More work on mkroot.sh.Rob Landley
2019-08-22Add scripts/mkroot.sh and makefile changes for "make root".Rob Landley
Not in help text yet. Needs sh and route enabled in pending to do much. todo: work through the scripts/install.sh $PENDING list and add native toolchain support.