LukeShortCloud / winesapOS

winesapOS - Game with Linux anywhere, no installation required!
GNU General Public License v3.0
871 stars 31 forks source link

[install][upgrade] Migrate winesapOS logs #843

Closed LukeShortCloud closed 2 months ago

LukeShortCloud commented 2 months ago

winesapOS currently stores log files in /etc/winesapos/ which is wrong. That should be for configuration files only. New installations should create and use either /usr/share/winesapos/ or /var/winesapos/. Then symlink to /etc/winesapos/ for backwards compatibility.

For upgrades, create a symlink from /usr/share/winesapos/ to /etc/winesapos/.

First-time setup logs also go there. One day, we may support bootc but that makes /usr/ read-only. Using /var/ may be preferred.

Note: /var/tmp is mounted as tmpfs.