diff options
author | Marvin Borner | 2019-06-29 17:54:50 +0200 |
---|---|---|
committer | Marvin Borner | 2019-06-29 17:54:50 +0200 |
commit | 46aa116c4f4ef5c2b55f36298b19aa9694ae5666 (patch) | |
tree | bc33d13fcb242d057345b56f5cad4291ac09d995 /bootstrap.sh | |
parent | 37f5ca13e62d7424e018398cabc88c0ab715eeaa (diff) |
Improved installation process and network config
Diffstat (limited to 'bootstrap.sh')
-rw-r--r-- | bootstrap.sh | 7 |
1 files changed, 7 insertions, 0 deletions
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 |