Skip to content

Commit f196356

Browse files
authored
live patch 2: fix dietpi-software (re)installs in case of masked services (#7713)
1 parent 1f98f96 commit f196356

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.update/version

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,15 @@ G_OLD_DEBIAN_BRANCH='8'
1717
G_LIVE_PATCH_DESC=(
1818
[0]='Fix Docker socket path for Portainer installation, only relevant if you plan to install/reinstall/update Portainer via dietpi-software'
1919
[1]='Fix CPU frequency limit selection in dietpi-config'
20+
[2]='Fix dietpi-software (re)installs in case of masked services'
2021
)
2122
G_LIVE_PATCH_COND=(
2223
[0]='grep -q '\''/run/docker.sock:/run/docker.sock'\'' /boot/dietpi/dietpi-software'
2324
[1]='grep -q '\''\[0-9\]\*scaling_available_frequencies'\'' /boot/dietpi/dietpi-config'
25+
[2]='grep -q '\''systemctl --no-load'\'' /boot/dietpi/dietpi-software'
2426
)
2527
G_LIVE_PATCH=(
2628
[0]='sed --follow-symlinks -i '\''s|/run/docker.sock:/run/docker.sock|/run/docker.sock:/var/run/docker.sock|'\'' /boot/dietpi/dietpi-software'
2729
[1]='sed --follow-symlinks -i '\''s|\[0-9\]\*scaling_available_frequencies|\[0-9\]\*/scaling_available_frequencies|'\'' /boot/dietpi/dietpi-config'
30+
[2]='sed --follow-symlinks -i '\''s|systemctl --no-load|systemctl --no-reload|'\'' /boot/dietpi/dietpi-software'
2831
)

0 commit comments

Comments
 (0)