install: support configuring sysroot.bls-append-except-default#1909
Merged
cgwalters merged 1 commit intobootc-dev:mainfrom Jan 22, 2026
Merged
install: support configuring sysroot.bls-append-except-default#1909cgwalters merged 1 commit intobootc-dev:mainfrom
cgwalters merged 1 commit intobootc-dev:mainfrom
Conversation
Contributor
There was a problem hiding this comment.
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.
jbtrystram
suggested changes
Jan 20, 2026
c13cf9e to
b806975
Compare
jbtrystram
reviewed
Jan 21, 2026
b806975 to
acec07a
Compare
Contributor
Author
|
It looks like the packit failures are not related to this patch |
cgwalters
requested changes
Jan 21, 2026
Collaborator
cgwalters
left a comment
There was a problem hiding this comment.
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
Collaborator
|
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
joelcapitao
added a commit
to joelcapitao/osbuild
that referenced
this pull request
Jan 22, 2026
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>
supakeen
pushed a commit
to joelcapitao/osbuild
that referenced
this pull request
Jan 27, 2026
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>
supakeen
pushed a commit
to osbuild/osbuild
that referenced
this pull request
Jan 27, 2026
Add support for the new [install.ostree] configuration section with the bls-append-except-default option, which was introduced in bootc PR #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>
jbtrystram
added a commit
to jbtrystram/coreos-assembler
that referenced
this pull request
Feb 16, 2026
jbtrystram
added a commit
to jbtrystram/coreos-assembler
that referenced
this pull request
Mar 2, 2026
jbtrystram
added a commit
to jbtrystram/coreos-assembler
that referenced
this pull request
Mar 2, 2026
Instead of deploying the container to the tree then copy all the contents to the disk image, use bootc to directly manage the installation to the target filesystems. We can keep the manifest duplicated until we are confident to roll this to all streams. [1] bootc-dev/bootc#1410 Requires: bootc-dev/bootc#1460 bootc-dev/bootc#1451 osbuild/osbuild#2149 osbuild/osbuild#2152 bootc-dev/bootc#1978 bootc-dev/bootc#1909 All of which have landed in osbuild-159 and bootc 1.6
jbtrystram
added a commit
to jbtrystram/coreos-assembler
that referenced
this pull request
Mar 2, 2026
jbtrystram
added a commit
to jbtrystram/coreos-assembler
that referenced
this pull request
Mar 2, 2026
Instead of deploying the container to the tree then copy all the contents to the disk image, use bootc to directly manage the installation to the target filesystems. We can keep the manifest duplicated until we are confident to roll this to all streams or move to image-builder. Requires: bootc-dev/bootc#1460 bootc-dev/bootc#1451 osbuild/osbuild#2149 osbuild/osbuild#2152 bootc-dev/bootc#1978 bootc-dev/bootc#1909
jbtrystram
added a commit
to jbtrystram/coreos-assembler
that referenced
this pull request
Mar 2, 2026
Add a bootc install config file[1] to set ostree repo options so we inject the `grub_users` config on non-default entries. [1] https://bootc-dev.github.io/bootc/man/bootc-install-config.5.html#ostree See bootc-dev/bootc#1909
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
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)