mirror of
https://github.com/home-assistant/operating-system.git
synced 2025-07-22 18:24:22 +00:00
Bump Raspberry Pi kernel and firmware to 1.20220830 (#2117)
* RaspberryPi: Update kernel 5.15.61 - 1.20220830 * Add Yellow to the Raspberry Pi kernel update script * Bump Yellow to kernel 5.15.61 - 1.20220830 Also drop the work around for the LED polarity as the new firmware has been fixed. * Explicitly select no kernel module compression Home Assistant OS uses a compressed rootfs already, no compression for kernel modules necessary. * Bump buildroot * buildroot d7e4c223e5...5468d36a26 (1): > package/rpi-firmware: bump version to 1.20220830
This commit is contained in:
@ -11,9 +11,9 @@ if [ -z "$2" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
defconfigs=(buildroot-external/configs/rpi*_defconfig)
|
||||
defconfigs=(buildroot-external/configs/{rpi*,yellow}_defconfig)
|
||||
sed -i "s|BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION=\"https://github.com/raspberrypi/linux/.*\"|BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION=\"https://github.com/raspberrypi/linux/archive/$1.tar.gz\"|g" "${defconfigs[@]}"
|
||||
sed -i "s/| Raspberry Pi\(.*\) | .* |/| Raspberry Pi\1 | $2 |/g" Documentation/kernel.md
|
||||
sed -i "s/| \(Raspberry Pi.*\|Home Assistant Yellow\) | .* |/| \1 | $2 |/g" Documentation/kernel.md
|
||||
git commit -m "RaspberryPi: Update kernel $2 - $1" "${defconfigs[@]}" Documentation/kernel.md
|
||||
|
||||
./scripts/check-kernel-patches.sh
|
||||
|
Reference in New Issue
Block a user