Skip to content

Commit 1f98f96

Browse files
authored
live patch 1: fix CPU frequency limit selection in dietpi-config (#7697)
1 parent 5a1b497 commit 1f98f96

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

.update/version

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,15 @@ G_MIN_DEBIAN=6
1414
# Alternative Git branch to automatically migrate to when Debian version is too low
1515
G_OLD_DEBIAN_BRANCH='8'
1616
# Live patches
17-
G_LIVE_PATCH_DESC=('Fix Docker socket path for Portainer installation, only relevant if you plan to install/reinstall/update Portainer via dietpi-software')
18-
G_LIVE_PATCH_COND=('grep -q '\''/run/docker.sock:/run/docker.sock'\'' /boot/dietpi/dietpi-software')
19-
G_LIVE_PATCH=('sed --follow-symlinks -i '\''s|/run/docker.sock:/run/docker.sock|/run/docker.sock:/var/run/docker.sock|'\'' /boot/dietpi/dietpi-software')
17+
G_LIVE_PATCH_DESC=(
18+
[0]='Fix Docker socket path for Portainer installation, only relevant if you plan to install/reinstall/update Portainer via dietpi-software'
19+
[1]='Fix CPU frequency limit selection in dietpi-config'
20+
)
21+
G_LIVE_PATCH_COND=(
22+
[0]='grep -q '\''/run/docker.sock:/run/docker.sock'\'' /boot/dietpi/dietpi-software'
23+
[1]='grep -q '\''\[0-9\]\*scaling_available_frequencies'\'' /boot/dietpi/dietpi-config'
24+
)
25+
G_LIVE_PATCH=(
26+
[0]='sed --follow-symlinks -i '\''s|/run/docker.sock:/run/docker.sock|/run/docker.sock:/var/run/docker.sock|'\'' /boot/dietpi/dietpi-software'
27+
[1]='sed --follow-symlinks -i '\''s|\[0-9\]\*scaling_available_frequencies|\[0-9\]\*/scaling_available_frequencies|'\'' /boot/dietpi/dietpi-config'
28+
)

0 commit comments

Comments
 (0)