Skip to content

Commit

Permalink
v9.3
Browse files Browse the repository at this point in the history
- DietPi-Patches | Purge ancient vmtouch which prevents /boot from being unmounted e.g. for RPi firmware migration: #6819, #6976
  • Loading branch information
MichaIng committed Apr 4, 2024
1 parent 89a4c0c commit bdf526f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .update/patches
Original file line number Diff line number Diff line change
Expand Up @@ -1610,6 +1610,12 @@ Patch_9_2()
fi
}

Patch_9_3()
{
# Purge ancient vmtouch which prevents /boot from being unmounted e.g. for RPi firmware migration: https://github.com/MichaIng/DietPi/issues/6819, https://github.com/MichaIng/DietPi/issues/6976
[[ -f '/etc/default/vmtouch' ]] && grep -q '/boot/dietpi' /etc/default/vmtouch && G_AGP vmtouch
}

# v6.35 => v7 migration
if (( $G_DIETPI_VERSION_CORE == 6 && $G_DIETPI_VERSION_SUB > 34 ))
then
Expand Down
2 changes: 1 addition & 1 deletion dietpi/func/dietpi-set_software
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ $FP_SCRIPT rpi_kernel_choice <empty> Supported on Debian Bookworm or newer on R

# Generate locales and set new default
# - 1. this calls "locale-gen" to regenerate a fresh locale cache based on /etc/locale.gen to /usr/lib/locale/locale-archive.
# - 2. this calls "update-locale LANG=<default>" to apply the new default locale form the debconf default assigned above.
# - 2. this calls "update-locale LANG=<default>" to apply the new default locale from the debconf default assigned above.
G_CHECK_OUTPUT=1 G_EXEC dpkg-reconfigure -f noninteractive locales

# Update dietpi.txt entry
Expand Down

0 comments on commit bdf526f

Please sign in to comment.