Skip to content

Commit 460f018

Browse files
authored
Merge pull request #3882 from cmitu/gldriver-pi5
system: handle Pi5's xorg configuration
2 parents 30853a2 + dc85e9a commit 460f018

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scriptmodules/system.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,10 @@ function get_os_version() {
322322

323323
function get_retropie_depends() {
324324
local depends=(git subversion dialog curl gcc g++ build-essential unzip xmlstarlet python3-pyudev ca-certificates dirmngr)
325+
# on RaspiOS, install an extra package for X11 support on Pi5
326+
if isPlatform "rpi5" && [[ "$__os_id" == "Raspbian" ]]; then
327+
depends+=(gldriver-test)
328+
fi
325329

326330
[[ -n "$DISTCC_HOSTS" ]] && depends+=(distcc)
327331

0 commit comments

Comments
 (0)