Releases: Nitrux/nuts
Releases · Nitrux/nuts
Release 2.2.7
Changes from 2.2.3:
-
Architecture & Refactoring
- Extract core utility functions (such as logging, spinners, and overlay management) from the main executable into a shared library.
- The restore command has been completely removed from the supported operations, leaving only update, rescue, and self-update.
-
Robustness & Safety Enhancements
- We implemented a file locking mechanism (flock) to prevent multiple instances of the update tool from running simultaneously.
- The update process now includes a robust reboot sequence that uses Magic SysRq triggers to force an immediate sync of dirty buffers before rebooting, ensuring data integrity even if the userspace hangs.
- The rescue operation now actively scans for duplicate root partition labels. If multiple devices with the same label are detected (e.g., an external backup drive), the tool aborts to prevent restoring data to the wrong drive.
-
Usability & User Experience
- The tool now pre-scans arguments, allowing the –help and –version flags to run without requiring root privileges (sudo), improving accessibility for general queries.
- The execution of internal components now filters out noise, such as "mount point is busy" warnings, making the logs and terminal output cleaner.
-
Bug Fixes & Logic Improvements
- We updated the logic for resolving the root partition to prioritize finding the source of the read-only root in overlayfs before falling back to root, ensuring more accurate identification of the device to back up.
- When running a rescue operation, the tool now explicitly wipes the target mount point before restoring the backup, ensuring no conflicting files remain.
Full Changelog: 2.2.3...2.2.7
Reelease 2.2.3
Changes from 2.2.2:
- Cleanup nuts-ccu, remove the download of the Firefox AppImage, and include fixes for the latest release.
- Improve and consolidate the download process of the OTA archive in nuts-cru.
- Fixed an issue with the custom AppImage used to apply the updated content from the OTA archive.
- Add improved logic to download system AppImages in nuts-ccu.
- Moved OTA checksum validation directly after checking if the file exists.
- Ensured no download occurs if the OTA archive is valid, and the script skips the loop entirely.
Full Changelog: 2.2.2...2.2.3
Release 2.2.2
Changes from 2.2.2:
- Fix an issue with mktemp in nuts-sup, which was failing to create a temporary directory in the chroot.
Full Changelog: 2.2.1...2.2.2
Release 2.2.1
Changes from 2.2.1:
- Fix the spinner function in all scripts that would break probably because of bc causing absurdly long elapsed time values or none.
- Improve style by using tabs instead of spaces for indentation.
- Remove the spinner function from nuts-ccu since it seemed to cause an issue when executing the commands in the script.
Full Changelog: 2.2.0...2.2.1
Release 2.2.0
Changes from 2.1.9:
- Fix a problem in nuts-ccu that would cause absurdly long elapsed time values.
- Remove unnecessary code from the cleanup component.
- Improve status messages for better readability.
- Ensure new kernel parameters are added to GRUB.
Full Changelog: 2.1.9...2.2.0
Release 2.1.9
Changes from 2.1.8:
- Improve status messages for better readability.
- Add a new check to verify the connection to raw.githubusercontent.com in the overlay and the chroot.
- Quit the update process if the root partition filesystem is not XFS.
- Quit the rescue process if the root partition filesystem is not XFS.
- Fix error handling and improve some functions.
- Quit the update, restore, and self-update processes if not using OverlayFS.
Full Changelog: 2.1.8...2.1.9
Release 2.1.8
Changes from 2.1.7:
- Ensure DKMS builds xone for the newer kernel.
- Ensure new kernel parameters are added to the GRUB menu.
- Ensure the newest kernel is used for the default boot entry.
- Mount /var/lib in chroot for update-grub to work correctly.
- Fix problem when restoring due to checking for a non-existent file.
Full Changelog: 2.1.7...2.1.8
Release 2.1.7
Changes from 2.1.6:
- Fixed a typo to switch which branch the Nitrux Update Tool System uses to download its components.
Full Changelog: 2.1.6...2.1.7
Release 2.1.6
Changes from 2.1.5:
- Remove leftovers after applying the upgrade.
- Remove code for build list check.
- Correctly sort the OpenRC services.
- Add sections to nuts-ccu to mark files and directories for removal.
Full Changelog: 2.1.5...2.1.6
Release 2.1.5
Changes from 2.1.4:
- Improve fetching of var data.
- Use a more portable shebang for scripts.
- Check if custom AppImage exists, download it if it does, and remove it when there's an error.
- Check if var data exists, download it if it does, and remove it when there's an error.
- Make sure the NX Software Center is replaced by its Appimage.
- Make sure the nuts-cru component creates the link for the custom Appimage and deletes it when it's no longer necessary.
- Improve messages for readability.
- Change the spinner animation displayed to avoid using a non-escapable character.
- Ensure the removal of unused services in the default runlevel in OpenRC.
- Update the initramfs during the update.
- Don't unmount dev to avoid the main component from not completing all the steps after completing the update process.
Full Changelog: 2.1.4...2.1.5