-
Notifications
You must be signed in to change notification settings - Fork 169
install: support configuring sysroot.bls-append-except-default #1909
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This pull request adds support for configuring sysroot.bls-append-except-default for ostree during installation. The changes are well-structured, introducing the necessary configuration options and the logic to apply them. The new functionality is also covered by a test case. I've provided a couple of suggestions to improve code readability and remove duplication.
c13cf9e to
b806975
Compare
b806975 to
acec07a
Compare
|
It looks like the packit failures are not related to this patch |
cgwalters
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please update the install config docs for this.
We could probably also add this option to one of our existing install tests too (we have a bunch).
Otherwise I just have nits.
acec07a to
41ba1ac
Compare
|
I rebased 🏄 this btw alongside other outstanding PRs |
41ba1ac to
44f974a
Compare
9de6c8f to
ed03854
Compare
Add a new [install.ostree] configuration section to allow setting the ostree sysroot.bls-append-except-default option during installation. Closes: bootc-dev#1710 Signed-off-by: Joel Capitao <jcapitao@redhat.com> Co-authored-by: Jean-Baptiste Trystram <jbtrystram@redhat.com> Assisted-by: Claude (Sonnet 4)
ed03854 to
f71a343
Compare
cgwalters
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Add support for the new [install.ostree] configuration section with the bls-append-except-default option, which was introduced in bootc PR osbuild#1909 [1] This option allows setting the ostree sysroot.bls-append-except-default config key during installation, which appends kernel arguments to Boot Loader Spec entries except for the default entry. A common use case is setting grub_users="" to bypass GRUB password prompts for non-default deployments. Example usage in manifest: { "type": "org.osbuild.bootc.install.config", "options": { "filename": "10-custom.toml", "config": { "install": { "ostree": { "bls-append-except-default": "grub_users=\"\"" } } } } } [1] bootc-dev/bootc#1909 Signed-off-by: Joel Capitao <jcapitao@redhat.com>
Add a new [install.ostree] configuration section to allow setting the ostree sysroot.bls-append-except-default option during installation.
Closes: #1710
Signed-off-by: Joel Capitao jcapitao@redhat.com
Co-authored-by: Jean-Baptiste Trystram jbtrystram@redhat.com
Assisted-by: Claude (Sonnet 4)