1
0
mirror of https://github.com/home-assistant/operating-system.git synced 2026-04-23 02:09:53 +01:00

Remove old migrations from RAUC hook (#4083)

As we're moving to another major release and 15.2 will be mandated update
before 16.0, we can (or even must) remove some old migrations.
This commit is contained in:
Jan Čermák
2025-05-28 17:06:52 +02:00
committed by GitHub
parent cf970a5b63
commit 3e3372b7dc
3 changed files with 0 additions and 54 deletions

View File

@@ -3,11 +3,6 @@
set -e
# Remove rauc.db from old location before migration in HAOS 15.
if [ -f /mnt/data/rauc.db ]; then
rm -f /mnt/data/rauc.db
fi
if grep -q 'slot\.boot\.0' /mnt/boot/rauc.db; then
echo "[INFO] rauc.db already contains slot information"
exit 0