mirror of
https://github.com/DrHo1y/orangepi-build.git
synced 2026-03-24 01:26:43 +07:00
Add code for rk3399 legacy media framework installation
This commit is contained in:
@@ -163,7 +163,7 @@ create_board_package()
|
||||
|
||||
EOF
|
||||
|
||||
if [[ $RELEASE == bionic ]] || [[ $RELEASE == focal && $BOARDFAMILY == sun50iw6 ]]; then
|
||||
if [[ $RELEASE == bionic && $BOARD != orangepi4 ]] || [[ $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"
|
||||
@@ -171,6 +171,14 @@ create_board_package()
|
||||
\tOption \t"AccelMethod" "none"
|
||||
EndSection' >> /etc/X11/xorg.conf.d/01-orangepi-defaults.conf
|
||||
EOF
|
||||
elif [[ $RELEASE == bionic && $BOARD == orangepi4 ]]; then
|
||||
cat <<-EOF >> "${destination}"/DEBIAN/postinst
|
||||
# temporally disable acceleration on some arch in Bionic due to broken mesa packages
|
||||
echo 'Section "Device"
|
||||
\tIdentifier \t"Default Device"
|
||||
\tOption \t"AccelMethod" "glamor"
|
||||
EndSection' >> /etc/X11/xorg.conf.d/01-orangepi-defaults.conf
|
||||
EOF
|
||||
fi
|
||||
|
||||
# install bootscripts if they are not present. Fix upgrades from old images
|
||||
|
||||
Reference in New Issue
Block a user