bisdn / meta-switch

MIT License
4 stars 2 forks source link

Have onie-bisdn-upgrade warn about file loss #208

Closed ideaship closed 1 month ago

ideaship commented 2 months ago

When run without -d, onie-bisdn-upgrade offers this warning:

Upgrading BISDN Linux to install-source: <URL> using Client-IP-cfg: dhcp! Please confirm system reboot: [y/N]

The reboot should be rather obvious when installing a new operating system. However, upgrading BISDN Linux will preserve files only if they are listed in /var/lib/opkg/info/*.conffiles or /etc/default/{system,user}-backup.txt. [1] This is what onie-bisdn-upgrade should warn about.

[1] https://docs.bisdn.de/getting_started/install_bisdn_linux.html#backup-filesfolders-across-installations