Skip to content

Commit

Permalink
Added s6-rc to the build
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Bruce authored and jprjr committed Jun 13, 2016
1 parent 0ec8d91 commit 30d774f
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions skarnet-builder/build-latest
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/usr/bin/env bash
set -e
set -x

Expand All @@ -21,6 +21,7 @@ s6-portable-utils
s6-linux-utils
s6-dns
s6-networking
s6-rc
)

# linux packages
Expand All @@ -32,6 +33,7 @@ skalibs
execline
s6
s6-portable-utils
s6-rc
)

# software versions
Expand All @@ -48,6 +50,7 @@ versions[s6-portable-utils]=2.0.6.0
versions[s6-linux-utils]=2.1.0.0
versions[s6-dns]=2.0.1.0
versions[s6-networking]=2.1.1.0
versions[s6-rc]=0.0.3.0

declare -A includes
includes[skalibs]="--with-include=$PACKAGEDIR/musl/include"
Expand All @@ -57,6 +60,7 @@ includes[s6-portable-utils]="${includes[s6]}"
includes[s6-linux-utils]="--with-include=$PACKAGEDIR/linux-headers/include ${includes[s6]}"
includes[s6-dns]="${includes[s6]}"
includes[s6-networking]="--with-include=$PACKAGEDIR/s6-dns/usr/include --with-include=$PACKAGEDIR/s6/usr/include ${includes[s6]}"
includes[s6-rc]="--with-include=$PACKAGEDIR/s6/usr/include ${includes[s6]}"

declare -A libs
libs[skalibs]="--with-lib=/usr/musl/lib"
Expand All @@ -66,6 +70,7 @@ libs[s6-portable-utils]="${libs[s6]}"
libs[s6-linux-utils]="${libs[s6]}"
libs[s6-dns]="${libs[s6]}"
libs[s6-networking]="--with-lib=$PACKAGEDIR/s6-dns/usr/lib --with-lib=$PACKAGEDIR/s6/usr/lib ${libs[s6]}"
libs[s6-rc]="--with-lib=$PACKAGEDIR/s6/usr/lib ${libs[s6]}"

declare -A sysdeps
sysdeps[skalibs]=""
Expand All @@ -75,6 +80,7 @@ sysdeps[s6-portable-utils]="${sysdeps[execline]}"
sysdeps[s6-linux-utils]="${sysdeps[execline]}"
sysdeps[s6-dns]="${sysdeps[execline]}"
sysdeps[s6-networking]="${sysdeps[execline]}"
sysdeps[s6-rc]="${sysdeps[execline]}"

declare -A configopts
configopts[skalibs]="--datadir=/etc --enable-force-devr"
Expand All @@ -83,6 +89,7 @@ configopts[s6]=""
configopts[s6-portable-utils]=""
configopts[s6-dns]=""
configopts[s6-networking]=""
configopts[s6-rc]=""

declare -A manifests
manifests[skarnet_all_packages]="manifest.txt"
Expand All @@ -101,7 +108,7 @@ build_install_skarnet_package() {
version=$(git rev-list -n 1 v${version})
fi
git reset --hard ${version}

CC="$PACKAGEDIR/musl/bin/musl-gcc" ./configure \
--libdir=/usr/lib \
--enable-static \
Expand Down

0 comments on commit 30d774f

Please sign in to comment.