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/grub.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'scripts/grub.sh') diff --git a/scripts/grub.sh b/scripts/grub.sh index 8c37155..37c8e3c 100644 --- a/scripts/grub.sh +++ b/scripts/grub.sh @@ -7,9 +7,14 @@ if ! [ -d "${build_dir}/grub-$VERSION" ] ; then fi cd "grub-$VERSION" export DESTDIR="$prefix" +export LDFLAGS="-static" +export CFLAGS="-static" +export CPPFLAGS="$CFLAGS" ./configure \ --prefix='/usr' \ + --sysconfdir='/etc' \ + --host=$BUILD_TGT \ --disable-werror # Why in the fuck do I have to add disable -Werror? # Is GRUB really *that* shit? -make -j8 +make -j$(nproc) make install -- cgit v1.2.3