From 25a1cb19b213f7825fcc080a29991beeb70f6b93 Mon Sep 17 00:00:00 2001 From: Mitch Riedstra Date: Mon, 16 Apr 2018 00:51:48 -0400 Subject: It works! A getty now spawns on the serial console on boot Todo: DNS resolution doesn't work yet. DHCP for eth0? SSH server? `tmux`? ------- Added busybox config Switched the pathing around yet again in the `inc` file Added `local` files to be copied into the prefix before creating the tarball ( TODO ) Added tree command to the build Install runit --- scripts/busybox.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 scripts/busybox.sh (limited to 'scripts/busybox.sh') diff --git a/scripts/busybox.sh b/scripts/busybox.sh new file mode 100644 index 0000000..1fcbdd3 --- /dev/null +++ b/scripts/busybox.sh @@ -0,0 +1,14 @@ +#!/bin/sh +. ./.vars +VERSION=1.28.3 +BUILD_DIR="$build_dir/busybox-$VERSION" +cd $build_dir +if ! [ -d "$BUILD_DIR" ] ; then + bunzip2 -dc < $dist_dir/busybox-$VERSION.tar.bz2 | tar -xvf - +fi +cd $BUILD_DIR +if ! [ -e ./.config ] ; then + cp "${base_dir}/busybox-config" ./.config +fi +make -j$(nproc) +make install -- cgit v1.2.3