Skip to content

Conversation

cgwalters
Copy link
Member

I'm thinking about creating ostree-prepare-soft-reboot.c. Prepare for this by factoring out shared helper functions.

@github-actions github-actions bot added the area/prepare-root Issue relates to ostree-prepare-root label Jun 19, 2025
Copy link

@gemini-code-assist gemini-code-assist bot left a 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 refactors composefs handling from ostree-prepare-root.c into libotcore by introducing otcore_mount_composefs. Key feedback:

  • Critical: Arguments deploy_path and mount_target are swapped in the call to otcore_mount_composefs in src/switchroot/ostree-prepare-root.c.
  • Medium: Unused variable cfs_digest in src/libotcore/otcore-prepare-root.c.
  • Medium: Add Gtk-doc documentation for otcore_mount_composefs in src/libotcore/otcore.h.

@cgwalters cgwalters force-pushed the prepare-root-prep branch 2 times, most recently from fbd2158 to e4bc4e8 Compare June 19, 2025 14:29
I'm thinking about creating ostree-prepare-soft-reboot.c.
Prepare for this by factoring out shared helper functions.
@cgwalters cgwalters force-pushed the prepare-root-prep branch from e4bc4e8 to 2027653 Compare June 19, 2025 14:47
Copy link

openshift-ci bot commented Jun 19, 2025

@cgwalters: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/fcos-e2e 2027653 link true /test fcos-e2e

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@cgwalters cgwalters requested a review from jmarrero June 24, 2025 13:07
Copy link
Member

@jmarrero jmarrero left a comment

Choose a reason for hiding this comment

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

lgtm

@cgwalters cgwalters merged commit 1281c6e into ostreedev:main Jun 24, 2025
24 of 25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/prepare-root Issue relates to ostree-prepare-root
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants