Skip to content

Commit

Permalink
v6.26
Browse files Browse the repository at this point in the history
+ DietPi-Software | Kodi: Remove RPi Buster workaround since Kodi 18 has just been added to official RPi repo
  • Loading branch information
MichaIng authored Oct 8, 2019
1 parent 94c4af3 commit 25e6861
Showing 1 changed file with 7 additions and 17 deletions.
24 changes: 7 additions & 17 deletions dietpi/dietpi-software
Original file line number Diff line number Diff line change
Expand Up @@ -3680,28 +3680,18 @@ _EOF_
# RPi
if (( $G_HW_MODEL < 10 )); then

# fbset required to start with custom screen resolution/remove warning on startup: https://dietpi.com/phpbb/viewtopic.php?p=17550#p17550
# fbset required to recover desktop with custom resolution and fix startup warning: https://dietpi.com/phpbb/viewtopic.php?p=17550#p17550
package_list+=' fbset'

# Buster: https://github.com/MichaIng/DietPi/issues/3031
if (( $G_DISTRO > 4 )); then
# RPi4: fake KMS driver required: https://www.raspberrypi.org/forums/viewtopic.php?f=66&t=251645
if (( $G_HW_MODEL == 4 )); then

INSTALL_URL_ADDRESS='http://pipplware.pplware.pt/pipplware/key.asc'
G_CHECK_URL "$INSTALL_URL_ADDRESS"
curl -sSL "$INSTALL_URL_ADDRESS" | apt-key add -
echo 'deb http://pipplware.pplware.pt/pipplware/dists/buster/main/binary /' > /etc/apt/sources.list.d/dietpi-kodi.list
/DietPi/dietpi/func/dietpi-set_hardware rpi-opengl vc4-fkms-v3d

# RPi4: fake KMS driver required: https://www.raspberrypi.org/forums/viewtopic.php?f=66&t=251645
if (( $G_HW_MODEL == 4 )); then

/DietPi/dietpi/func/dietpi-set_hardware rpi-opengl vc4-fkms-v3d

# Else legacy (non-GL) driver required
else

/DietPi/dietpi/func/dietpi-set_hardware rpi-opengl disable
# Else legacy (non-GL) driver required
else

fi
/DietPi/dietpi/func/dietpi-set_hardware rpi-opengl disable

fi

Expand Down

0 comments on commit 25e6861

Please sign in to comment.