mirror of
https://github.com/home-assistant/operating-system.git
synced 2026-05-03 23:18:02 +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:
@@ -1,13 +0,0 @@
|
||||
[Unit]
|
||||
Description=Migrate rauc.db to boot partition
|
||||
Before=rauc.service
|
||||
RequiresMountsFor=/mnt/boot /mnt/data
|
||||
ConditionPathExists=/mnt/boot/migrate-raucdb
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/bin/cp /mnt/data/rauc.db /mnt/boot/
|
||||
ExecStartPost=/bin/rm /mnt/boot/migrate-raucdb
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user