From 7227b3a294f4476bc0fe3e2cb3bd071a6257e971 Mon Sep 17 00:00:00 2001 From: Bob Mottram <bob@freedombone.net> Date: Tue, 25 Sep 2018 16:04:23 +0100 Subject: [PATCH] Install libsodium for patchwork/scuttlebot --- src/freedombone-app-scuttlebot | 5 +++++ src/freedombone-image-customise | 3 +++ 2 files changed, 8 insertions(+) diff --git a/src/freedombone-app-scuttlebot b/src/freedombone-app-scuttlebot index 7ef364de1..301b0c31e 100755 --- a/src/freedombone-app-scuttlebot +++ b/src/freedombone-app-scuttlebot @@ -369,6 +369,9 @@ function mesh_install_scuttlebot { mesh_install_dat + # shellcheck disable=SC2086 + chroot "$rootdir" $INSTALL_PACKAGES libsodium23 + get_npm_arch mesh_setup_npm @@ -441,6 +444,8 @@ function install_scuttlebot { function_check install_nodejs install_nodejs scuttlebot + $INSTALL_PACKAGES libsodium23 + if [ ! -d /etc/scuttlebot ]; then mkdir -p /etc/scuttlebot fi diff --git a/src/freedombone-image-customise b/src/freedombone-image-customise index e775c4b4e..54890db27 100755 --- a/src/freedombone-image-customise +++ b/src/freedombone-image-customise @@ -621,6 +621,9 @@ install_patchwork() { return fi + # shellcheck disable=SC2086 + chroot "$rootdir" $INSTALL_PACKAGES libsodium23 + get_npm_arch mesh_setup_npm -- GitLab