Skip to content

Commit

Permalink
v8.7
Browse files Browse the repository at this point in the history
- DietPi-Software | Bazarr: Resolved an issue where service stops and restarts were hanging until timeout, leading also to hanging system shutdowns and restarts. Many thansk to `@clarky000` and `@blablazzz` for reporting this issue, and `@gregordinary` for pointing us to the solution: https://dietpi.com/forum/t/19610
- DietPi-Software | Bazarr: Install unzip explicitly, since dietpi-software should depend less on which packages DietPi comes pre-installed with
  • Loading branch information
MichaIng committed Jul 10, 2024
1 parent 0b6f85e commit 4b4742d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
10 changes: 9 additions & 1 deletion .update/patches
Original file line number Diff line number Diff line change
Expand Up @@ -1741,7 +1741,15 @@ _EOF_

Patch_9_7()
{
:
# Software updates, migrations and patches
if [[ -f '/boot/dietpi/.installed' ]]
then
# Bazarr
if grep -q '^[[:blank:]]*aSOFTWARE_INSTALL_STATE\[180\]=2' /boot/dietpi/.installed && [[ -f '/etc/systemd/system/bazarr.service' ]]
then
G_CONFIG_INJECT 'KillSignal=' 'KillSignal=SIGINT' /etc/systemd/system/bazarr.service '\[Service\]'
fi
fi
}

# v6.35 => v7 migration
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Enhancements:

Bug fixes:
- DietPi-Software | Box86/Box64: Resolved an issue where the installation failed because of a false directory removal attempt. Many thanks to @lukaszsobala for fixing this issue: https://github.com/MichaIng/DietPi/pull/7149
- DietPi-Software | Bazarr: Resolved an issue where service stops and restarts were hanging until timeout, leading also to hanging system shutdowns and restarts. Many thansk to @clarky000 and @blablazzz for reporting this issue, and @gregordinary for pointing us to the solution: https://dietpi.com/forum/t/19610

As always, many smaller code performance and stability improvements, visual and spelling fixes have been done, too much to list all of them here. Check out all code changes of this release on GitHub: https://github.com/MichaIng/DietPi/pull/ADDME

Expand Down
4 changes: 3 additions & 1 deletion dietpi/dietpi-software
Original file line number Diff line number Diff line change
Expand Up @@ -9700,9 +9700,10 @@ _EOF_
if To_Install 180 bazarr # Bazarr: https://wiki.bazarr.media/Getting-Started/Installation/Linux/linux/
then
# APT deps
aDEPS=('unzip')
if (( $G_HW_ARCH < 3 ))
then
aDEPS=('libopenblas0-pthread') # libopenblas0-pthread runtime library for piwheels wheel: https://piwheels.org/project/numpy/
aDEPS+=('libopenblas0-pthread') # libopenblas0-pthread runtime library for piwheels wheel: https://piwheels.org/project/numpy/
(( $G_HW_ARCH == 1 )) && aDEPS+=('unar') # ARMv6 does not support unrar-nonfree and Bazarr does not support unrar-free, so we need to use "unar": https://github.com/morpheus65535/bazarr/issues/2172
fi

Expand Down Expand Up @@ -9742,6 +9743,7 @@ User=bazarr
UMask=002
LogsDirectory=bazarr
ExecStart=/usr/bin/python3 /opt/bazarr/bazarr.py -c /mnt/dietpi_userdata/bazarr
KillSignal=SIGINT

# Hardening
ProtectSystem=strict
Expand Down

0 comments on commit 4b4742d

Please sign in to comment.