rk35xx: Fix Docker causing camera 3A loss

This commit is contained in:
baiywt
2024-11-19 10:26:29 +08:00
parent 16537e6f25
commit 83dcf18de1
11 changed files with 12 additions and 10 deletions

View File

@@ -84,6 +84,8 @@ rk35xx_gpu_vpu_tweaks()
chroot $SDCARD /bin/bash -c "rm /usr/lib/aarch64-linux-gnu/dri/*.so;mv /*.so /usr/lib/aarch64-linux-gnu/dri/"
fi
[[ ${RELEASE} =~ jammy|focal ]] && run_on_sdcard "apt install -y cheese"
apply_common_operations() {
chroot $SDCARD /bin/bash -c "chmod o+x /usr/lib/dbus-1.0/dbus-daemon-launch-helper"
chroot $SDCARD /bin/bash -c "sed -i '5aexport LD_PRELOAD=libdrm-cursor.so.1' /usr/bin/X"