Prepare next update

This commit is contained in:
AaronDewes 2023-03-26 16:53:35 +00:00
parent 0b36590d87
commit 0b004b6249
2 changed files with 5 additions and 12 deletions

View File

@ -1,7 +1,7 @@
{
"version": "0.1.5",
"name": "Citadel 0.1.5",
"requires": ">=0.1.4",
"version": "0.1.6",
"name": "Update compatibility package",
"requires": ">=0.1.5",
"isQuickUpdate": false,
"notes": "This update includes bug fixes and performance improvements. It also includes 99% of the HTTPS beta, which we will soon roll out to everyone."
"notes": "This update is mostly done to prepare for a future update of Citadel. It also includes the latest Bitcoin Core & LND."
}

View File

@ -65,13 +65,6 @@ if [[ ! -z "${CITADEL_OS:-}" ]]; then
install -m 644 "${service_path}" "/etc/systemd/system/${service_name}"
systemctl enable "${service_name}"
done
# Apply config.txt changes
curl https://raw.githubusercontent.com/runcitadel/os/main/stage1/00-boot-files/files/config.txt > /boot/config.txt
echo "source ~/citadel/setenv" | tee -a /home/citadel/.bashrc
sudo apt install -y python3-semver
fi
cd "$CITADEL_ROOT"
@ -92,7 +85,7 @@ EOF
# Stop old containers
echo "Stopping old containers"
cat <<EOF > "$CITADEL_ROOT"/statuses/update-status.json
{"state": "installing", "progress": 67, "description": "Stopping old containers", "updateTo": "$RELEASE"}
{"state": "installing", "progress": 70, "description": "Stopping old containers", "updateTo": "$RELEASE"}
EOF
./scripts/stop || true