bisdn / meta-switch

MIT License
4 stars 2 forks source link

Update onie-bisdn-upgrade documentation to warn about file loss #209

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 change updates the script and its man page to warn prominently about the potential loss of files the user may want to keep.

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