Skip to content

Commit

Permalink
Live patch 1 v8.23
Browse files Browse the repository at this point in the history
- Live patch 1 | Fix NFS Server install: #6722
  • Loading branch information
MichaIng committed Nov 2, 2023
1 parent ade0d99 commit ef07266
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .build/software/dietpi-software-build.bash
Original file line number Diff line number Diff line change
Expand Up @@ -116,5 +116,5 @@ _EOF_
# Boot container
##########################################
systemd-nspawn -bD rootfs
[[ -f rootfs/$NAME_$ARCH.deb ]] || Error_Exit "Failed to build package: $NAME_$ARCH.deb"
[[ -f rootfs/${NAME}_$ARCH.deb ]] || Error_Exit "Failed to build package: ${NAME}_$ARCH.deb"
}
15 changes: 12 additions & 3 deletions .update/version
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,16 @@ G_MIN_DEBIAN=5
# Alternative Git branch to automatically migrate to when Debian version is too low
G_OLD_DEBIAN_BRANCH='stretch'
# Live patches
G_LIVE_PATCH_DESC=('Fix Sonarr install: https://github.com/MichaIng/DietPi/issues/6699')
G_LIVE_PATCH_DESC=(
[0]='Fix Sonarr install: https://github.com/MichaIng/DietPi/issues/6699'
[1]='Fix NFS Server install: https://github.com/MichaIng/DietPi/issues/6722'
)
# shellcheck disable=SC2016
G_LIVE_PATCH_COND=('[[ $(mawk '\''NR==9648 && /G_CHECK_URL/'\'' /boot/dietpi/dietpi-software) ]]')
G_LIVE_PATCH=('sed -i 9648d /boot/dietpi/dietpi-software')
G_LIVE_PATCH_COND=(
[0]='[[ $(mawk '\''NR==9648 && /G_CHECK_URL/'\'' /boot/dietpi/dietpi-software) ]]'
[1]='grep -q '\''dietpi.exports.* G_EXEC .echo'\'' /boot/dietpi/dietpi-software'
)
G_LIVE_PATCH=(
[0]='sed -i 9648d /boot/dietpi/dietpi-software'
[1]="sed -i 's/G_EXEC '\''echo/G_EXEC eval '\''echo/' /boot/dietpi/dietpi-software"
)

0 comments on commit ef07266

Please sign in to comment.