From ff23ede2507a66ca9765bb420145aeb924d0be3d Mon Sep 17 00:00:00 2001 From: rootzoll Date: Thu, 21 Mar 2024 13:41:33 +0100 Subject: [PATCH 1/3] #4492 fix electrs recover on min-build --- home.admin/config.scripts/bonus.electrs.sh | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/home.admin/config.scripts/bonus.electrs.sh b/home.admin/config.scripts/bonus.electrs.sh index 27fd799e4..1bca344fc 100755 --- a/home.admin/config.scripts/bonus.electrs.sh +++ b/home.admin/config.scripts/bonus.electrs.sh @@ -314,16 +314,6 @@ fi if [ "$1" = "1" ] || [ "$1" = "on" ]; then echo "# ACTIVATING ELECTRS" - # check and create storage dir - if ! sudo ls /mnt/hdd/app-storage/electrs 2>/dev/null; then - sudo mkdir /mnt/hdd/app-storage/electrs - echo - echo "# The electrs database will be built in /mnt/hdd/app-storage/electrs/db. Takes ~18 hours and ~50Gb diskspace" - echo - fi - # always fix user id - sudo chown -R electrs:electrs /mnt/hdd/app-storage/electrs - isInstalled=$(sudo ls /etc/systemd/system/electrs.service 2>/dev/null | grep -c 'electrs.service') if [ ${isInstalled} -eq 0 ]; then @@ -342,6 +332,16 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then fi fi + # check and create storage dir + if ! sudo ls /mnt/hdd/app-storage/electrs 2>/dev/null; then + sudo mkdir /mnt/hdd/app-storage/electrs + echo + echo "# The electrs database will be built in /mnt/hdd/app-storage/electrs/db. Takes ~18 hours and ~50Gb diskspace" + echo + fi + # always fix user id + sudo chown -R electrs:electrs /mnt/hdd/app-storage/electrs + echo echo "# Getting RPC credentials from the bitcoin.conf" # read PASSWORD_B From 0e26641158085214a65e05819cb39249d80c0ed7 Mon Sep 17 00:00:00 2001 From: rootzoll Date: Thu, 21 Mar 2024 13:50:32 +0100 Subject: [PATCH 2/3] #4484 make release remove stop flag --- home.admin/_bootstrap.sh | 4 +--- home.admin/config.scripts/blitz.preparerelease.sh | 4 ++++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/home.admin/_bootstrap.sh b/home.admin/_bootstrap.sh index f0673561c..43e479d17 100755 --- a/home.admin/_bootstrap.sh +++ b/home.admin/_bootstrap.sh @@ -121,13 +121,11 @@ cat $infoFile >> $logFile # when a file 'stop' is on the sd card bootfs partition root - stop for manual provision flagExists=$(ls /boot/firmware/stop | grep -c 'stop') if [ "${flagExists}" == "1" ]; then - # remove flag - rm /boot/firmware/stop # set state info /home/admin/_cache.sh set state "stop" /home/admin/_cache.sh set message "stopped for manual provision" # log info - echo "INFO: 'bootstrap stopped - run release after manual provison'" >> ${logFile} + echo "INFO: 'bootstrap stopped - run command release after manual provison to remove stop flag'" >> ${logFile}" exit 0 fi diff --git a/home.admin/config.scripts/blitz.preparerelease.sh b/home.admin/config.scripts/blitz.preparerelease.sh index 4f8be1644..afade33a8 100755 --- a/home.admin/config.scripts/blitz.preparerelease.sh +++ b/home.admin/config.scripts/blitz.preparerelease.sh @@ -3,6 +3,10 @@ # Just run this script once after a fresh sd card build # to prepare the image for release as a downloadable sd card image +# remove stop flag (if exists) +echo "deleting stop flag .." +sudo rm /boot/firmware/stop 2>/dev/null + # cleaning logs echo "deleting raspiblitz & system logs .." sudo rm /var/log/* 2>/dev/null From a7916513665b862fbec0ce8505806f93f2a57848 Mon Sep 17 00:00:00 2001 From: rootzoll Date: Thu, 21 Mar 2024 13:56:24 +0100 Subject: [PATCH 3/3] make v1.11.0rc5 images public --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index be1511359..d65a63eea 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ _Build your own Lightning & Bitcoin Fullnode on a RaspberryPi with an optional Display._ -`Version 1.11.0rc4 with bitcoin 26.0, lnd 0.17.3 & Core Lightning 23.11.2` ([api](https://github.com/fusion44/blitz_api)|[web](https://github.com/raspiblitz/raspiblitz-web)) +`Version 1.11.0rc5 with bitcoin 26.0, lnd 0.17.3 & Core Lightning 24.02.1` ([api](https://github.com/fusion44/blitz_api)|[web](https://github.com/raspiblitz/raspiblitz-web)) ![RaspiBlitz](pictures/raspiblitz.jpg) @@ -169,8 +169,8 @@ This is the sd card image you should choose if your at the beginning of your Ras _WARNING: THIS IS STILL A RELEASE CANDIDATE VERSION
JUST USE FOR TESTING, HIGHER RISK OF LOSING FUNDS!_ -- **FATPACK SD CARD IMAGE ⮕ [raspiblitz-fat-v1.11.0rc4-2024-03-15.img.gz](https://raspiblitz.fulmo.org/images/raspiblitz-fat-v1.11.0rc4-2024-03-15.img.gz)** -- SHA-256: 2081ad3d93e56672b6c75043a825a634a165ff1b4d7ca00d106ba74ab257a6af +- **FATPACK SD CARD IMAGE ⮕ [raspiblitz-fat-v1.11.0rc5-2024-03-20.img.gz](https://raspiblitz.fulmo.org/images/raspiblitz-fat-v1.11.0rc5-2024-03-20.img.gz)** +- SHA-256: ed9c986e2d3a64244aae50344237c695c32e9966939ef0e637a1a4440d9dd235