summaryrefslogtreecommitdiff
path: root/build-chroot.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build-chroot.sh')
-rwxr-xr-xbuild-chroot.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/build-chroot.sh b/build-chroot.sh
index 1e79b74..1a8a76f 100755
--- a/build-chroot.sh
+++ b/build-chroot.sh
@@ -598,6 +598,20 @@ make -j $THREADS
make -j $THREADS install
cd ..
+# libsodium Build
+tar xf ../sources/libsodium-*.tar*
+cd libsodium-*/
+./configure \
+ --disable-static \
+ --exec-prefix="" \
+ --libexecdir=/usr/lib \
+ --localstatedir=/var \
+ --prefix=/usr \
+ --sysconfdir=/etc
+make -j $THREADS
+make -j $THREADS install
+cd ..
+
# Basic Configuration
echo "root::0:0::/home/root:/bin/zsh" > /etc/passwd
echo "root:x:0:root" > /etc/group