diff options
| author | Mitch Riedstra <mitch@riedstra.us> | 2018-04-16 00:51:48 -0400 |
|---|---|---|
| committer | Mitch Riedstra <mitch@riedstra.us> | 2018-04-16 00:51:48 -0400 |
| commit | 25a1cb19b213f7825fcc080a29991beeb70f6b93 (patch) | |
| tree | 260a4854d907c72f20cd5e206b0aad3fd0f85e7c /scripts/busybox.sh | |
| parent | 104f042ddbef56e323b61353fceeb5fd3dae5556 (diff) | |
| download | min-25a1cb19b213f7825fcc080a29991beeb70f6b93.tar.gz min-25a1cb19b213f7825fcc080a29991beeb70f6b93.tar.xz | |
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
Diffstat (limited to 'scripts/busybox.sh')
| -rw-r--r-- | scripts/busybox.sh | 14 |
1 files changed, 14 insertions, 0 deletions
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 |
