freenove_car/Code/Patch/patch_for_bullseye.sh

16 lines
443 B
Bash
Raw Permalink Normal View History

2021-11-15 01:35:03 -05:00
#!/bin/sh
current_file=$0
cd "$(dirname "$current_file")"
2021-11-16 04:12:51 -05:00
#sudo cp /boot/config.txt /boot/config-backup.txt
#sudo cp ./config.txt /boot/config.txt
2021-11-21 21:33:02 -05:00
2021-11-15 01:35:03 -05:00
sudo cp /usr/lib/arm-linux-gnueabihf/libmmal.so /usr/lib/arm-linux-gnueabihf/libmmal-backup.so.backup
sudo cp ./libmmal.so /usr/lib/arm-linux-gnueabihf/libmmal.so
2021-11-21 21:33:02 -05:00
sudo cp /opt/vc/lib/libmmal.so /opt/vc/lib/libmmal.so.bak
sudo cp ./libmmal.so /opt/vc/lib/libmmal.so
echo "patched complete!"
2021-11-15 01:35:03 -05:00