Seeed-Studio / seeed-linux-dtoverlays

Device Tree Overlays for Seeed boards
Other
82 stars 54 forks source link

[reTerminal] Unable to install overlay on any supported OS because Kernel upgrades to 6.1 #81

Closed franzos closed 11 months ago

franzos commented 11 months ago

Describe the bug

Whenver I run the scripts, the kernel is automatically updated to 6.1 even though only 5.10/5.15 is "officially" supported.

cd /tmp
git clone --depth 1 https://github.com/Seeed-Studio/seeed-linux-dtoverlays
./scripts/reTerminal.sh

To Reproduce

  1. Download last 5.10 kernel image (Linux raspberrypi 5.10.92-v8+)
  2. Hold packages, to make sure they are not upgraded
apt-mark hold raspberrypi-bootloader raspberrypi-kernel raspberrypi-kernel-headers
raspberrypi-bootloader set on hold.
raspberrypi-kernel set on hold.
raspberrypi-kernel-headers set on hold.
  1. Run above script

Kernel is replaced:

Unpacking raspberrypi-kernel (1:1.20230405-1) over (1:1.20220120-1) ...

Expected behavior

For Raspberry Pi users, it is advised not to use version 6.1 and instead stick to the previous version 5.10

Image should work according to official docs.

franzos commented 11 months ago

I didn't realize that there was an option to skip kernel updates

./scripts/reTerminal.sh --keep-kernel

Maybe this should be documented better.