We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 85cb710 + c0790a9 commit 1fd3bf5Copy full SHA for 1fd3bf5
scriptmodules/helpers.sh
@@ -299,6 +299,13 @@ function _mapPackage() {
299
libfreetype6-dev)
300
[[ "$__os_debian_ver" -gt 10 ]] || compareVersions "$__os_ubuntu_ver" gt 23.04 && pkg="libfreetype-dev"
301
;;
302
+ xorg)
303
+ # outside X11, don't install the 'xserver-xorg-legacy' package, even if recommended by 'apt'
304
+ # since it breaks launching x11 apps with 'runcommand'
305
+ ! isPlatform "x11" && pkg+=" xserver-xorg-legacy-"
306
+ # Pi5 needs an additional package for xserver to start
307
+ isPlatform "rpi5" && pkg+=" gldriver-test"
308
+ ;;
309
esac
310
echo "$pkg"
311
}
0 commit comments