Nitrokey / nextbox

NextBox
GNU General Public License v3.0
32 stars 4 forks source link

Debian 11 update #82

Closed blu-nitro closed 7 months ago

blu-nitro commented 7 months ago

Added an Update Button and a script to update the Nextbox underlying OS to Debian 11 with a single click.

TODO:

  1. Test that update stdout is stored in /var/log/debian-update.log
  2. More Testing

Known Issues:

How to test:

  1. Setup Dev environment (https://github.com/Nitrokey/nextbox/blob/master/DEV.md)
  2. arbitrary edit of app/nextbox/src/System.vue and daemon/nextbox_daemon/api/generic.py to trigger watch scripts
  3. copy daemon/scripts/nextbox-update-debian.sh to /usr/bin/ manually. make sure rights are the same as other scripts
  4. run the update script from the nextbox app web frontend
  5. check for errors with journalctl and /var/log/debian-update.log