From 46aa116c4f4ef5c2b55f36298b19aa9694ae5666 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sat, 29 Jun 2019 17:54:50 +0200 Subject: Improved installation process and network config --- bootstrap.sh | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'bootstrap.sh') diff --git a/bootstrap.sh b/bootstrap.sh index 3904dfb..a236bd1 100644 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -23,6 +23,7 @@ curl -sSL "http://ftp.gnu.org/gnu/mpc/mpc-1.1.0.tar.gz" | tar xz curl -sSL "http://ftp.gnu.org/gnu/glibc/glibc-2.29.tar.xz" | tar xJ curl -sSL "http://ftp.gnu.org/gnu/mpfr/mpfr-4.0.2.tar.xz" | tar xJ curl -sSL "https://www.zlib.net/zlib-1.2.11.tar.xz" | tar xJ +curl -sSl "https://roy.marples.name/downloads/dhcpcd/dhcpcd-7.2.3.tar.xz" | tar xJ cd ${MELVIX} echo -en "\r Initializing filesystem structure" @@ -181,6 +182,12 @@ ln -sf ../../lib/libz.so.1 ${MELVIX}/usr/lib/libz.so ln -sf ../../lib/libz.so.1 ${MELVIX}/usr/lib/libz.so.1 ln -sf ../lib/libz.so.1 ${MELVIX}/lib64/libz.so.1 +echo -en "\r Building dhcpcd" +cd ${MELVIX}/sources/dhcpcd-7.2.3 +./configure --prefix=/usr --sbindir=/sbin --sysconfdir=/etc --dbdir=/var/lib/dhcpcd --libexecdir=/usr/lib/dhcpcd &> /dev/null +make &> /dev/null +make DESTDIR=${MELVIX}/ install &> /dev/null + # Cleanup echo -en "\r Cleaning up and backing up current state" cp -rf ${MELVIX}/ ${MELVIX}-copy -- cgit v1.2.3