Files
operating-system/scripts/update-rpi-kernel.sh
Pascal Vizeli 9f06ffbbd5 Rpi update (#457)
* RaspberryPi: Update kernel 64f2b1b0a728a13373f9c74c6247ecf17af2caef

* Update documentation & Script

* Update firmware

* Update bluetooth firmware

* Update wifi driver
2019-08-24 14:57:16 +02:00

11 lines
291 B
Bash
Executable File

#!/bin/bash
set -e
if [ -z "$1" ]; then
echo "Need a version!"
exit 1
fi
sed -i "s/BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION=\".*\"/BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION=\"$1\"/g" buildroot-external/configs/rpi*
git commit -m "RaspberryPi: Update kernel $1" buildroot-external/configs/*