Files
media_build/install.sh
2021-10-15 21:52:45 +03:00

20 lines
410 B
Bash
Executable File

#!/bin/bash
# Enable some staging drivers
make stagingconfig
# Disable RC/IR support
sed -i -r 's/(^CONFIG.*_RC.*=)./\1n/g' v4l/.config
sed -i -r 's/(^CONFIG.*_IR.*=)./\1n/g' v4l/.config
echo "V4L drivers building..."
make -j$(nproc)
echo "V4L drivers installing..."
sudo rm -r -f /lib/modules/$(uname -r)/updates/extra
sudo make install
echo "V4L drivers installation done"
echo "You need to reboot..."