Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR should bring BerryOS up to par with RaspiOS 2024.03.15:
linux-image-rpi-2712
)raspberrypi-sys-mods
package to handle partition resizing and some system tweaksfirstboot
script (based on https://github.com/RPi-Distro/raspberrypi-sys-mods/tree/b8daae4272db5621ff2c8b2cb8f116711a7bfee4/initramfs-tools)The addition of the custom init script comes from the fact that the
raspi-config
resize script no longer works with the new boot partition layout introduced in RaspiOS when it upgraded to Bookworm. This was required to remove support forconfig.toml
andfirstrun.sh
handling in BerryOS as they would clash with ourcloud-init
based provisioning mechanism thus we couldn't use theraspberrypi-sys-mods
implement directly.Adding the
raspberrypi-sys-mods
package to handle partition resizing and being able to enjoy the tweaks present there was not an easy choice (see #5) and some modifications to the files installed by it have been made to better suit our need (mainly removing the/etc/sudoers.d/010_pi-nopasswd
file as this conflicts with how we are provisioning our users). But the package has been cleaned-up quite a bit since then and those small tweaks plus the addition of our creating our ownfirstboot
script seems like a good solution now.