Skip to content

Commit 08d4f9a

Browse files
committed
Beta v9.11.1
ci: apply apparmor workaround only if apparmor is running dietpi-installer: remove temporary workaround for release dietpi-software: update fallback URL changelog: add release PR URL RC up
1 parent 92e58b6 commit 08d4f9a

File tree

9 files changed

+8
-11
lines changed

9 files changed

+8
-11
lines changed

.build/images/dietpi-build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ then
443443
done
444444
fi
445445
# ARMv6/7 Trixie: Workaround failing chpasswd, which tries to access /proc/sys/vm/mmap_min_addr, but fails as of AppArmor on the host
446-
if (( $HW_ARCH < 3 && $DISTRO == 8 ))
446+
if (( $HW_ARCH < 3 && $DISTRO == 8 )) && systemctl -q is-active apparmor
447447
then
448448
G_EXEC eval 'echo '\''/proc/sys/vm/mmap_min_addr r,'\'' > /etc/apparmor.d/local/unix-chkpwd'
449449
G_EXEC_NOHALT=1 G_EXEC_OUTPUT=1 systemctl restart apparmor || { journalctl -n 25; exit 1; }

.build/images/dietpi-installer

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -848,9 +848,6 @@ setenv rootuuid "true"' /boot/boot.cmd
848848
G_CONFIG_INJECT "G_LIVE_PATCH_STATUS\[$i\]=" "G_LIVE_PATCH_STATUS[$i]='${G_LIVE_PATCH_STATUS[$i]}'" /boot/dietpi/.version
849849
done
850850

851-
# Temporarily fix failing setup partition detection on Quartz64/Star64/VisionFive 2
852-
[[ $G_GITOWNER/$G_GITBRANCH == 'MichaIng/master' ]] && G_EXEC curl -sSf 'https://raw.githubusercontent.com/MichaIng/DietPi/54629bf/rootfs/var/lib/dietpi/services/fs_partition_resize.sh' -o /var/lib/dietpi/services/fs_partition_resize.sh
853-
854851
G_EXEC cp /boot/dietpi/.version /var/lib/dietpi/.dietpi_image_version
855852

856853
G_EXEC systemctl daemon-reload

.build/software/Amiberry/container_build.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ then
132132
fi
133133

134134
# ARMv6/7 Trixie: Workaround failing chpasswd, which tries to access /proc/sys/vm/mmap_min_addr, but fails as of AppArmor on the host
135-
if (( $arch < 3 )) && [[ $DISTRO == 'trixie' ]]
135+
if (( $arch < 3 )) && [[ $DISTRO == 'trixie' ]] && systemctl -q is-active apparmor
136136
then
137137
G_EXEC eval 'echo '\''/proc/sys/vm/mmap_min_addr r,'\'' > /etc/apparmor.d/local/unix-chkpwd'
138138
G_EXEC_NOHALT=1 G_EXEC_OUTPUT=1 systemctl restart apparmor || { journalctl -n 25; exit 1; }

.build/software/dietpi-software-build.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ then
129129
fi
130130

131131
# ARMv6/7 Trixie: Workaround failing chpasswd, which tries to access /proc/sys/vm/mmap_min_addr, but fails as of AppArmor on the host
132-
if (( $arch < 3 )) && [[ $DISTRO == 'trixie' ]]
132+
if (( $arch < 3 )) && [[ $DISTRO == 'trixie' ]] && systemctl -q is-active apparmor
133133
then
134134
G_EXEC eval 'echo '\''/proc/sys/vm/mmap_min_addr r,'\'' > /etc/apparmor.d/local/unix-chkpwd'
135135
G_EXEC_NOHALT=1 G_EXEC_OUTPUT=1 systemctl restart apparmor || { journalctl -n 25; exit 1; }

.github/workflows/dietpi-software.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ then
361361
fi
362362

363363
# ARMv6/7 Trixie: Workaround failing chpasswd, which tries to access /proc/sys/vm/mmap_min_addr, but fails as of AppArmor on the host
364-
if (( $arch < 3 )) && [[ $DISTRO == 'trixie' ]]
364+
if (( $arch < 3 )) && [[ $DISTRO == 'trixie' ]] && systemctl -q is-active apparmor
365365
then
366366
G_EXEC eval 'echo '\''/proc/sys/vm/mmap_min_addr r,'\'' > /etc/apparmor.d/local/unix-chkpwd'
367367
G_EXEC_NOHALT=1 G_EXEC_OUTPUT=1 systemctl restart apparmor || { journalctl -n 25; exit 1; }

.update/version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Available DietPi version
44
G_REMOTE_VERSION_CORE=9
55
G_REMOTE_VERSION_SUB=11
6-
G_REMOTE_VERSION_RC=0
6+
G_REMOTE_VERSION_RC=1
77
# Minimum DietPi version to allow update
88
G_MIN_VERSION_CORE=7
99
G_MIN_VERSION_SUB=0

CHANGELOG.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Bug fixes:
88
- DietPi-Software | Fail2Ban: Resolved an issue where the install failed while downloading updated Dropbear filters. Many thanks to @Stream5710 for reporting this issue: https://github.com/MichaIng/DietPi/issues/7413
99
- DietPi-Software | Pi-hole: Support for Pi-hole v6 was added. During the DietPi update, we check whether your Pi-hole has been updated already, and in case perform some migration and cleanup of DietPi-specific configs. Also, since Pi-hole v6 ships with its internal webserver and PHP interpreter, if a webserver and PHP are installed without any dependant among dietpi-software options, it is offered to uninstall them.
1010

11-
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
11+
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/7426
1212

1313
-----------------------------------------------------------------------------------------------------------
1414

dietpi/dietpi-software

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9835,7 +9835,7 @@ _EOF_
98359835
3) local arch='arm64';;
98369836
*) local arch='x64';;
98379837
esac
9838-
local fallback_url="https://github.com/Prowlarr/Prowlarr/releases/download/v1.30.2.4939/Prowlarr.master.1.30.2.4939.linux-core-$arch.tar.gz"
9838+
local fallback_url="https://github.com/Prowlarr/Prowlarr/releases/download/v1.31.2.4975/Prowlarr.master.1.31.2.4975.linux-core-$arch.tar.gz"
98399839
Download_Install "$(curl -sSfL 'https://api.github.com/repos/Prowlarr/Prowlarr/releases/latest' | mawk -F\" "/^ *\"browser_download_url\": \".*linux-core-$arch\.tar\.gz\"$/{print \$4}")"
98409840

98419841
# Install: Remove previous instance on reinstall

dietpi/func/dietpi-globals

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
# - Assign defaults/code version as fallback
5656
[[ $G_DIETPI_VERSION_CORE ]] || G_DIETPI_VERSION_CORE=9
5757
[[ $G_DIETPI_VERSION_SUB ]] || G_DIETPI_VERSION_SUB=11
58-
[[ $G_DIETPI_VERSION_RC ]] || G_DIETPI_VERSION_RC=0
58+
[[ $G_DIETPI_VERSION_RC ]] || G_DIETPI_VERSION_RC=1
5959
[[ $G_GITBRANCH ]] || G_GITBRANCH='master'
6060
[[ $G_GITOWNER ]] || G_GITOWNER='MichaIng'
6161
# - Save current version and Git branch

0 commit comments

Comments
 (0)