Dynamically set kernel version in /boot/firmware/config.txt #52
Labels
No Label
bug
documentation
duplicate
enhancement
help wanted
invalid
maintenance
peach-lib
peach-network
peach-oled
peach-stats
peach-web
question
refactor
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: PeachCloud/peach-workspace#52
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Just ran into the issue again where Debian periodically releases new kernel versions, and then the i2c conf file that we copy over to /boot/firmware/config.txt becomes out of date -- this mismatch results in a black screen on bootup (not great). Fortunately I remember this bug from before, so it was relatively easy to fix again, but still its a ticking timebomb in the release flow. Since you run the same code twice, for image building, and get an error later on, simply because time has passed and the way qemu fetches debian in the image building script gets a debian version with a later kernel version.
My idea to fix this in a more robust way is to change this line (line 147:
So that we don't need occasional pull requests like this https://git.coopcloud.tech/PeachCloud/peach-workspace/pulls/50/files, to fix the image building process and get rid of the black screen.
cc @glyph
Alternatively, maybe there is also a way to use qemu-debootstrap to specify which version of buster to get, so that the kernel version is hardcoded there.
We could also do both of these things, for extra solidity, and avoid the ground changing beneath us unintentionally.