From 5895363048578395ef35c44c4435e4cd4d29a7d9 Mon Sep 17 00:00:00 2001 From: Daniel Knight Date: Sun, 28 Oct 2018 16:51:23 +0000 Subject: [PATCH] v6.18 - PREP: Resolved failed rootFS resize: https://github.com/Fourdee/DietPi/issues/2181#issuecomment-433715556 --- CHANGELOG.txt | 1 + rootfs/var/lib/dietpi/services/fs_partition_resize.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 3fd9f9ad4b..42ef829a94 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -6,6 +6,7 @@ Changes / Improvements / Optimisations: - General | Concurrent execution detection: Now has a 5 second buffer to wait for exit (G_INIT_WAIT_CONCURRENT), before failing: https://github.com/Fourdee/DietPi/issues/2159#issuecomment-433619721 Bug Fixes: + - PREP: Resolved failed rootFS resize: https://github.com/Fourdee/DietPi/issues/2181#issuecomment-433715556 - DietPi-Software | Nextcloud: Resolved an issue with failed installation: https://github.com/Fourdee/DietPi/issues/2184 - DietPi-Automation | CONFIG_NTP_MODE is now applied after APT cache, and, initial time sync is updated. Due to packages required for some modes: https://github.com/Fourdee/DietPi/issues/2181#issuecomment-433444882 - DietPi-Software | OMPD/MyMPD: Resolved inability to update database. Currently we have rolled back the versions of these programs to a working state. We will investigate with the devs to find out the cause for future release: https://github.com/Fourdee/DietPi/issues/2156 diff --git a/rootfs/var/lib/dietpi/services/fs_partition_resize.sh b/rootfs/var/lib/dietpi/services/fs_partition_resize.sh index 6fc37f8e0a..cf272bc89f 100644 --- a/rootfs/var/lib/dietpi/services/fs_partition_resize.sh +++ b/rootfs/var/lib/dietpi/services/fs_partition_resize.sh @@ -13,7 +13,7 @@ TARGET_DEV=$(findmnt / -o source -n) if [[ $TARGET_DEV =~ /mmcblk || $TARGET_DEV =~ /nvme ]]; then TARGET_PARTITION=${TARGET_DEV##*p} # Last [0-9] after "p" - TARGET_DRIVE=${TARGET_DRIVE%p[0-9]} # EG: /dev/mmcblk[0-9] + TARGET_DRIVE=${TARGET_DEV%p[0-9]} # EG: /dev/mmcblk[0-9] elif [[ $TARGET_DEV =~ /[sh]d[a-z] ]]; then