diff --git a/lib/makeboarddeb.sh b/lib/makeboarddeb.sh index 970aacb13e..857767e5cf 100644 --- a/lib/makeboarddeb.sh +++ b/lib/makeboarddeb.sh @@ -164,7 +164,7 @@ create_board_package() EOF - if [[ $RELEASE == bionic || $RELEASE == focal ]] && [[ $BOARDFAMILY == sun50iw6 ]]; then + if [[ $RELEASE == bionic ]] || [[ $RELEASE == focal && $BOARDFAMILY == sun50iw6 ]]; then cat <<-EOF >> "${destination}"/DEBIAN/postinst # temporally disable acceleration on some arch in Bionic due to broken mesa packages echo 'Section "Device"