Skip to content

stages/bootc.install-to-filesystem: add more knobs#2152

Merged
supakeen merged 2 commits intoosbuild:mainfrom
jbtrystram:bootc-stateroot
Aug 15, 2025
Merged

stages/bootc.install-to-filesystem: add more knobs#2152
supakeen merged 2 commits intoosbuild:mainfrom
jbtrystram:bootc-stateroot

Conversation

@jbtrystram
Copy link
Contributor

This adds an extra option to make the stateroot name customizable.

Fixes #2151

@jbtrystram jbtrystram requested a review from a team as a code owner July 21, 2025 18:36
@jbtrystram jbtrystram requested review from croissanne, mvo5 and thozza and removed request for a team July 21, 2025 18:36
@jbtrystram jbtrystram changed the title stages/bootc.install-to-filesystem: parametrize stateroot value stages/bootc.install-to-filesystem: add more knobs Jul 21, 2025
@jbtrystram
Copy link
Contributor Author

Pushed an extra commit with more knobs

@jbtrystram jbtrystram force-pushed the bootc-stateroot branch 2 times, most recently from 5fac552 to 14d2134 Compare July 21, 2025 19:19
Copy link
Contributor

@mvo5 mvo5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this change, the change itself looks (mostly) fine but see my comment inline. It would also be super nice to have a test added to stages/test/test_bootc_install_to_fs.py at least to the # all test there) but we can also do that for yo if you are busy.

jbtrystram added a commit to jbtrystram/coreos-assembler that referenced this pull request Jul 30, 2025
jbtrystram added a commit to jbtrystram/coreos-assembler that referenced this pull request Jul 30, 2025
jbtrystram added a commit to jbtrystram/coreos-assembler that referenced this pull request Jul 30, 2025
jbtrystram added a commit to jbtrystram/coreos-assembler that referenced this pull request Jul 30, 2025
Copy link
Member

@thozza thozza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've added a few nitpicks, but I would not block on them.

This adds an extra option to make the stateroot name customizable.

Fixes osbuild#2151
Allow passing custom mount specs for boot and root. Optional fields.
@bcl bcl force-pushed the bootc-stateroot branch from c50549b to 57c0819 Compare August 8, 2025 23:39
@supakeen supakeen enabled auto-merge (rebase) August 9, 2025 08:14
@supakeen supakeen merged commit e930eeb into osbuild:main Aug 15, 2025
49 checks passed
@jbtrystram
Copy link
Contributor Author

Thanks for merging that ! Sorry for not adressing some of the comments, I was on PTO.

jbtrystram added a commit to jbtrystram/coreos-assembler that referenced this pull request Aug 28, 2025
jbtrystram added a commit to jbtrystram/coreos-assembler that referenced this pull request Aug 28, 2025
jbtrystram added a commit to jbtrystram/coreos-assembler that referenced this pull request Aug 28, 2025
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.

Right now this requires to use the image as the buildroot so this
requires python (for osbuild). This is tracked in [1].
As we have python in rawhide now I duplicated the manifest and added a
switch in the osbuild wrapper script.

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

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 Sep 8, 2025
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.

Right now this requires to use the image as the buildroot so this
requires python (for osbuild). This is tracked in [1].
As we have python in rawhide now I duplicated the manifest and added a
switch in the osbuild wrapper script.

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

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 Sep 8, 2025
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.

Right now this requires to use the image as the buildroot so this
requires python (for osbuild). This is tracked in [1].
As we have python in rawhide now I duplicated the manifest and added a
switch in the osbuild wrapper script.

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

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 Oct 27, 2025
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.

Right now this requires to use the image as the buildroot so this
requires python (for osbuild). This is tracked in [1].
As we have python in rawhide now I duplicated the manifest and added a
switch in the osbuild wrapper script.

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

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 Oct 28, 2025
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.

Right now this requires to use the image as the buildroot so this
requires python (for osbuild). This is tracked in [1].
As we have python in rawhide now I duplicated the manifest and added a
switch in the osbuild wrapper script.

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

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 Oct 28, 2025
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.

Right now this requires to use the image as the buildroot so this
requires python (for osbuild). This is tracked in [1].
As we have python in rawhide now I duplicated the manifest and added a
switch in the osbuild wrapper script.

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

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 Oct 29, 2025
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.

Right now this requires to use the image as the buildroot so this
requires python (for osbuild). This is tracked in [1].
As we have python in rawhide now I duplicated the manifest and added a
switch in the osbuild wrapper script.

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

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 Dec 2, 2025
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.

Right now this requires to use the image as the buildroot so this
requires python (for osbuild). This is tracked in [1].
As we have python in rawhide now I duplicated the manifest and added a
switch in the osbuild wrapper script.

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

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 Dec 3, 2025
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.

Right now this requires to use the image as the buildroot so this
requires python (for osbuild). This is tracked in [1].
As we have python in rawhide now I duplicated the manifest and added a
switch in the osbuild wrapper script.

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

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 Jan 14, 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.

Right now this requires to use the image as the buildroot so this
requires python (for osbuild). This is tracked in [1].
As we have python in rawhide now I duplicated the manifest and added a
switch in the osbuild wrapper script.

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

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 Feb 16, 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.

Right now this requires to use the image as the buildroot so this
requires python (for osbuild). This is tracked in [1].
As we have python in rawhide now I duplicated the manifest and added a
switch in the osbuild wrapper script.

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

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
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

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
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
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

stage/bootc-install-to-filesystem: add stateroot parameter

5 participants