mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
Rpi5: fix X11 failure
This commit is contained in:
@@ -155,6 +155,19 @@ function post_family_tweaks_bsp__add_hooks_to_move_kernel_initrd_and_dtb() {
|
||||
run_host_command_logged chmod a+x "${destination}"/etc/initramfs/post-update.d/zzz-update-initramfs
|
||||
}
|
||||
|
||||
function post_family_tweaks_bsp__add_x11_config() {
|
||||
display_alert "rpi5b" "Adding X11 configuration" "info"
|
||||
run_host_command_logged mkdir -p "${destination}"/etc/X11/xorg.conf.d/
|
||||
run_host_command_logged cat <<- '99-vc4.conf' > "${destination}"/etc/X11/xorg.conf.d/99-vc4.conf
|
||||
Section "OutputClass"
|
||||
Identifier "vc4"
|
||||
MatchDriver "vc4"
|
||||
Driver "modesetting"
|
||||
Option "PrimaryGPU" "true"
|
||||
EndSection
|
||||
99-vc4.conf
|
||||
}
|
||||
|
||||
function post_family_tweaks__populate_boot_firmware_directory() {
|
||||
# We install kernel before we install bsp package. This means hooks present in bsp are not executed.
|
||||
# Running the hooks from bsp to populate /boot/firmware directory.
|
||||
|
||||
Reference in New Issue
Block a user