From a6ac09dc4f1cdaf0b07e0989238f653c66178e22 Mon Sep 17 00:00:00 2001 From: UriHerrera Date: Fri, 18 Aug 2023 01:41:21 -0600 Subject: [PATCH] update pkg --- debian/changelog | 6 ++++++ usr/bin/nuts-crr | 1 + 2 files changed, 7 insertions(+) diff --git a/debian/changelog b/debian/changelog index 312af00..577ffba 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +nuts (1.0.9) nitrux; urgency=medium + + * Unmount SquashFS when the target root matches the source root. + + -- Uri Herrera Fri, 18 Aug 2023 01:41:00 -0500 + nuts (1.0.8) nitrux; urgency=medium * Add check to not use kexec after upgrading when Nvidia hardware is detected. diff --git a/usr/bin/nuts-crr b/usr/bin/nuts-crr index ee91062..e0d7b95 100755 --- a/usr/bin/nuts-crr +++ b/usr/bin/nuts-crr @@ -235,6 +235,7 @@ BACKUP_LIST_SUM=$(md5sum "$NUTS_DIR_SQS"/installed_pkgs_end.txt | cut -c -32) if [ "$LOCAL_SUM" == "$BACKUP_LIST_SUM" ]; then puts_info "The current installation of ${TARGET_DIST^} is the same as the backup." + unmount_directory "$NUTS_DIR_SQS" >"$OUTPUT_FILE" exit 0 else puts_info "Preparing to restore ${TARGET_DIST^}, continuing..."