Skip to content

Commit

Permalink
Live patch 2: Fix linux-image-rpi-v8 install on 32-bit images part 2
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaIng committed Feb 13, 2025
1 parent b0e7e52 commit a57932d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .update/version
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,16 @@ G_OLD_DEBIAN_BRANCH='8'
G_LIVE_PATCH_DESC=(
[0]='Fix Roon Bridge download URL. Relevant only if you plan to install or update Roon Bridge'
[1]='Fix linux-image-rpi-v8 install during kernel selection in dietpi-config'
[2]='Fix linux-image-rpi-v8 install during kernel selection in dietpi-config, part 2'
)
# shellcheck disable=SC2016
G_LIVE_PATCH_COND=(
[0]='grep -q '\''RoonBridge_linuxa\$'\'' /boot/dietpi/dietpi-software'
[1]='(( $G_HW_MODEL < 10 && $G_DISTRO > 6 )) && [[ $(dpkg --print-architecture) == armhf ]] && grep -q '\''dpkg --add-architecture arm64$'\'' /boot/dietpi/func/dietpi-set_software'
[2]='(( $G_HW_MODEL < 10 && $G_DISTRO > 6 )) && [[ $(dpkg --print-architecture) == armhf ]] && grep -q '\'' tiny-initramfs$'\'' /boot/dietpi/func/dietpi-set_software'
)
G_LIVE_PATCH=(
[0]="sed --follow-symlinks -i -e 's/RoonBridge_linuxa\\$/RoonBridge_linux\\$/' -e 's/arch='\''rmv7hf'\''/arch='\''armv7hf'\''/' /boot/dietpi/dietpi-software"
[1]='sed --follow-symlinks -i '\''s/dpkg --add-architecture arm64$/dpkg --add-architecture arm64 \&\& G_AGUP/'\'' /boot/dietpi/func/dietpi-set_software'
[2]='sed --follow-symlinks -i '\''s/ tiny-initramfs$//'\'' /boot/dietpi/func/dietpi-set_software'
)

0 comments on commit a57932d

Please sign in to comment.