Skip to content

Guide for building custom node images - #97

Open
HarshwardhanPatil07 wants to merge 2 commits into
bootc-dev:mainfrom
HarshwardhanPatil07:docs-custom-node-images
Open

Guide for building custom node images#97
HarshwardhanPatil07 wants to merge 2 commits into
bootc-dev:mainfrom
HarshwardhanPatil07:docs-custom-node-images

Conversation

@HarshwardhanPatil07

Copy link
Copy Markdown
Collaborator

how to build a disk image with a custom or patched package and test it with bink. Covers two approaches:

  • Runtime update through bootc switch (no disk rebuild)
  • Full disk image rebuild for boot-critical changes

Closes: #91

Document how to build a disk image with a custom or patched package
and test it with bink. Covers two approaches:
- Runtime update via bootc switch (no disk rebuild)
- Full disk image rebuild for boot-critical changes

Includes concrete examples for COPR repos, local RPMs, binary
replacement, and building bootc from source using the bootc repo's
Dockerfile with the bink node image as base.

Closes: bootc-dev#91
Signed-off-by: HarshwardhanPatil07 <harshpat@redhat.com>
Comment thread docs/custom-node-images.md
Comment thread docs/custom-node-images.md
Comment thread docs/custom-node-images.md Outdated
Comment thread docs/custom-node-images.md Outdated
Comment thread docs/custom-node-images.md Outdated
Comment thread docs/custom-node-images.md Outdated
Comment thread docs/custom-node-images.md Outdated
@alicefr

alicefr commented Jul 16, 2026

Copy link
Copy Markdown
Collaborator

Very nice guide, thanks for writing this!

- Add composefs origin path variant alongside ostree path
- Add composefs verification commands after reboot
- Add bootc status store field check to identify deployment backend
- Expand composefs variant section with build, verify, and integration test
  commands using bootc status JSON fields (.store, .composefs)
- Add composefs row to decision table and NODE_IMAGE_COMPOSEFS to Makefile reference
- Rework privilege warning to N.B. with full podman build example
- Remove COPR opt-in warning note (contradicts current direction)
- Drop "Testing with Multiple Nodes" section (superfluous)
- Drop entire Troubleshooting section (lint is self-explanatory, rest unnecessary)
- Simplify Scenario C to use bootc node image as base instead of duplicating build-rootfs

Signed-off-by: HarshwardhanPatil07 <harshpat@redhat.com>

@HarshwardhanPatil07 HarshwardhanPatil07 left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Thank you @alicefr @jlebon for your review. I have added the changes, Please let me know if it needs further adjustments

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.

Document how to build a disk image and testing with a custom package

2 participants