From 477bfced7fdaa525f9cc7f13afdacb2a48f07379 Mon Sep 17 00:00:00 2001 From: Mitch Riedstra Date: Mon, 23 Apr 2018 00:23:36 -0400 Subject: Massive changes, ssh and Nginx work! Bump to 4.16.3 in /boot/syslinux.cfg Add `ssh`, `nobody`, and `nogroup`, in `/etc/passwd` and `/etc/group` Updated the init script to use `mdev` Added a service definition for a getty on tty0 Added a service definition for sshd Added busybox udhcpc `default.script` I *still need to check the license* ( Copied from my Gentoo installation, and works ) Updated readme.md to reflect the fact that we pull in the commands from `pfx` and you'll need to add `/lib/ld-musl-x86_64.so.1` or change the PATH in `./inc` Added rsync, ncdu xz and grub. Removed tar-pfx.sh Replaced with cpio-pfx.sh added `conf.sh` which will be taking care of basic system configuration for now Change configuration directory for libressl Enable wide chars in `ncurses` Use `/etc` for SSH configuration files Remove make clean from tree.sh and xz.sh Added relevant files to sources.lst --- scripts/ncdu.sh | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 scripts/ncdu.sh (limited to 'scripts/ncdu.sh') diff --git a/scripts/ncdu.sh b/scripts/ncdu.sh new file mode 100644 index 0000000..b8bee9a --- /dev/null +++ b/scripts/ncdu.sh @@ -0,0 +1,21 @@ +#!/bin/sh +. ./.vars +VERSION=1.13 +APP_NAME="ncdu" +BUILD_DIR="${build_dir}/$APP_NAME-$VERSION" +if ! [ -d "$BUILD_DIR" ] ; then + cd "$build_dir" + tar xfzv ${dist_dir}/$APP_NAME-$VERSION.tar.gz +fi +cd "$BUILD_DIR" +export CC=$BUILD_TGT-gcc +export CFLAGS="-I$prefix/usr/include -static" +export CPPFLAGS="$CFLAGS" +export DESTDIR=$prefix +export LDFLAGS="-L$prefix/usr/lib/ -L$prefix/lib -static" +./configure \ + --prefix=/usr \ + --with-local-dir=$prefix/usr \ + --with-ncurses +make -j$(nproc) +make install -- cgit v1.2.3