RPi-Distro / repo

Issue tracking for the archive.raspberrypi.org repo
37 stars 1 forks source link

[upgrade_path] Changing /boot mount point to /boot/firmware #355

Open chadek opened 10 months ago

chadek commented 10 months ago

Hi, I experienced the reported bug on debian package tracker here which consist in a bad mount point for boot folder when trying to upgrade from bullseye to bookworm. In bullseye mount folder is /boot, trying to upgrade to bookworm, it fails at raspi-firmware package as it expect the boot folder in /boot/firmware instead of /boot. It would be nice to have working upgrade path.

I thought it was an issue in the debian package so I opened a PR in the debian gitlab instance here to fix this issue. But maintainer said it should be reported to raspbian folks. So here I am, hopefully in the right place.

XECDesign commented 10 months ago

/boot/firmware is the right and expected mount point. This is a change from Bullseye, which is why we recommend starting with a clean install, rather than upgrading.

chadek commented 10 months ago

If something can be done, I recommend to fix this, I don't think it should be to difficult, you cannot ask users for reinstalling the system every time you need to upgrade... Part of the work is already done in the PR I point to

MichaIng commented 9 months ago

I started with a script to do this for our 3rd party distro: https://github.com/MichaIng/DietPi/blob/dev/.meta/dietpi-rpi-firmware-migration

It works on our distro only, but you should be able to extract the required steps. When this has been tested sufficiently, I'll create one from it which runs on RPi OS.