RaspberryMatic icon indicating copy to clipboard operation
RaspberryMatic copied to clipboard

Update to new raspberrymatic version removes /boot/extraconfig.txt

Open ed-holland opened this issue 3 years ago • 2 comments

Describe the issue you are experiencing

I'm using the /boot/extraconfig.txt for own settings. When updating RaspberryMatic this file is removed and needs to be added again.

Describe the behavior you expected

When a /boot/extraconfig.txt exists, then it needs to be merged with the new /boot directory during update.

Steps to reproduce the issue

  1. Create /boot/extraconfig.txt
  2. Update RaspberryMatic to a new version
  3. File /boot/extraconfig.txt does not exist anymore

What is the version this bug report is based on?

3.63.9.20220521

Which base platform are you running?

rpi3 (RaspberryPi3)

Which HomeMatic/homematicIP radio module are you using?

HM-MOD-RPI-PCB

Anything in the logs that might be useful for us?

Nop

Additional information

No response

ed-holland avatar May 29 '22 11:05 ed-holland

So richtig von Bug würde ich hier nicht sprechen. Es ist nun mal so das bei einem Zentralen-Firmware-Update die Partitionen /boot und /root ohne Rücksicht auf Verluste komplett überschrieben werden.

Ob es technisch möglich wäre die Datei zu mergen kann ich nicht sagen. Vielleicht könnte man die irgendwo im /userfs ablegen, nach Beendigung des Zentralen-Firmware-Updates prüfen ob die dort vorhanden ist, kopieren nach /boot und dann erst rebooten.

Vielleicht nen Feature-Request draus machen?

Baxxy13 avatar May 31 '22 12:05 Baxxy13

Feature-Request ist in Ordnung. Kann leider den Tag nicht aendern.

ed-holland avatar May 31 '22 13:05 ed-holland