-
Notifications
You must be signed in to change notification settings - Fork 696
kernel: add helpers for recording and checking modules/firmware tree version #17680
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from 3 commits
6a52b68
ffeae86
3776763
f11bdaa
0bea319
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -152,6 +152,10 @@ execute: | | |
| stat /run/systemd/system/sysroot-usr-lib-modules.mount | ||
| stat /run/systemd/system/"sysroot-writable-system\x2ddata-snap-$device\x2dkernel-"* | ||
|
|
||
| # Check the generator version | ||
| gojq '.["generator-version"]' /var/lib/snapd/kernel/"$device"-kernel/x1/kernel.json | \ | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this is the core suite, so running on UC and we repack the kernel in prepare, so it's always unasserted AFAIU
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| MATCH '^1$' | ||
|
|
||
| not mountpoint /run/mnt/base | ||
| loop="$(findmnt -o source / -n)" | ||
| # Might be in /run/mnt/ubuntu-seed/ on first 26+ boot or in /run/mnt/data/ | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.