mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-21 14:11:06 +02:00
cln build: run unzip with admin
This commit is contained in:
@@ -1060,6 +1060,7 @@ echo "- OK install of LND done"
|
|||||||
echo "*** C-lightning ***"
|
echo "*** C-lightning ***"
|
||||||
# https://github.com/ElementsProject/lightning/releases
|
# https://github.com/ElementsProject/lightning/releases
|
||||||
CLVERSION=0.10.1
|
CLVERSION=0.10.1
|
||||||
|
|
||||||
# https://github.com/ElementsProject/lightning/tree/master/contrib/keys
|
# https://github.com/ElementsProject/lightning/tree/master/contrib/keys
|
||||||
PGPsigner="rustyrussel"
|
PGPsigner="rustyrussel"
|
||||||
PGPpkeys="https://raw.githubusercontent.com/ElementsProject/lightning/master/contrib/keys/rustyrussell.txt"
|
PGPpkeys="https://raw.githubusercontent.com/ElementsProject/lightning/master/contrib/keys/rustyrussell.txt"
|
||||||
@@ -1126,14 +1127,13 @@ sudo apt-get install -y \
|
|||||||
libsqlite3-dev python3 python3-mako net-tools zlib1g-dev libsodium-dev \
|
libsqlite3-dev python3 python3-mako net-tools zlib1g-dev libsodium-dev \
|
||||||
gettext unzip
|
gettext unzip
|
||||||
|
|
||||||
unzip clightning-v${CLVERSION}.zip
|
sudo -u admin unzip clightning-v${CLVERSION}.zip
|
||||||
cd clightning-v${CLVERSION} || exit 1
|
cd clightning-v${CLVERSION} || exit 1
|
||||||
|
|
||||||
echo "- Configuring EXPERIMENTAL_FEATURES enabled"
|
echo "- Configuring EXPERIMENTAL_FEATURES enabled"
|
||||||
sudo -u admin ./configure --enable-experimental-features
|
sudo -u admin ./configure --enable-experimental-features
|
||||||
|
|
||||||
currentCLversion=$(git describe --tags 2>/dev/null)
|
echo "- Building C-lightning from source"
|
||||||
echo "- Building from source C-lightning $currentCLversion"
|
|
||||||
sudo -u admin make
|
sudo -u admin make
|
||||||
|
|
||||||
echo "- Install to /usr/local/bin/"
|
echo "- Install to /usr/local/bin/"
|
||||||
|
Reference in New Issue
Block a user