jens-maus / RaspberryMatic

:house: A feature-rich but lightweight, buildroot-based Linux operating system alternative for your CloudFree CCU3/ELV-Charly 'homematicIP CCU' IoT smarthome central. Running as a pure virtual appliance (ProxmoxVE, Home Assistant, LXC, Docker/OCI, Kubernetes/K8s, etc.) on a dedicated embedded device (RaspberryPi, etc.) or generic x86/ARM hardware.
https://raspberrymatic.de
Apache License 2.0
1.53k stars 186 forks source link

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

Open ed-holland opened 2 years ago

ed-holland commented 2 years ago

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

Baxxy13 commented 2 years ago

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?

ed-holland commented 2 years ago

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