From 697cac37f35ccff25c1fd4a62a9ee62f2cc383bb Mon Sep 17 00:00:00 2001 From: Manawyrm Date: Fri, 7 Jul 2023 14:40:34 +0200 Subject: [PATCH] raspberrypi: run rpi-update to upgrade kernel version --- raspberry_pi_skeleton/raspberry_pi_bullseye.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/raspberry_pi_skeleton/raspberry_pi_bullseye.sh b/raspberry_pi_skeleton/raspberry_pi_bullseye.sh index ebec211..97db218 100755 --- a/raspberry_pi_skeleton/raspberry_pi_bullseye.sh +++ b/raspberry_pi_skeleton/raspberry_pi_bullseye.sh @@ -7,3 +7,8 @@ echo "deb http://deb.debian.org/debian bookworm-updates main contrib non-free" > apt update APT_LISTCHANGES_FRONTEND=none DEBIAN_FRONTEND=noninteractive apt -o Dpkg::Options::="--force-confold" -f -y dist-upgrade + +# This step is a bit risky, as the current kernel in https://github.com/raspberrypi/rpi-firmware might +# be less tested as the currently shipping kernel in the Raspberry Pi images. +apt install -y rpi-update +SKIP_CHECK_PARTITION=1 SKIP_WARNING=1 rpi-update \ No newline at end of file