Skip to content
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

many: move machine id first boot to image config #1258

Merged
merged 3 commits into from
Mar 6, 2025

Conversation

supakeen
Copy link
Member

This moves the machine id handling from specific to Fedora to the image config.


Had a chat with @achilleas-k and @thozza today who pointed out that they'd prefer this to live in the image config. Is this the right approach?

@supakeen supakeen requested a review from a team as a code owner February 25, 2025 15:23
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.

Thank you!

Yes, this is the correct approach from my point of view, but I've added a few comments.

achilleas-k
achilleas-k previously approved these changes Feb 27, 2025
Copy link
Member

@achilleas-k achilleas-k left a comment

Choose a reason for hiding this comment

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

LGTM!

Small docstring comment but wont block.

@supakeen supakeen force-pushed the machine-id-image-config branch 2 times, most recently from 9bb5af2 to e379461 Compare February 27, 2025 20:47
achilleas-k
achilleas-k previously approved these changes Feb 27, 2025
@supakeen
Copy link
Member Author

Several of the IoT images are failing due to:

error: Finalizing rootfs: During kernel processing: invalid machine ID 'uninitialized
'

I've addressed this in a new commit (I hope). And also addressed @achilleas-k's comment on the comment(s) since I was force pushing anyhow.

achilleas-k
achilleas-k previously approved these changes Feb 27, 2025
@supakeen supakeen force-pushed the machine-id-image-config branch 2 times, most recently from 35bf37e to 5d6086c Compare February 28, 2025 07:34
@supakeen
Copy link
Member Author

This seems to finally be OK but I think it rebuilt images that I didn't expect to be rebuilt?

@supakeen supakeen force-pushed the machine-id-image-config branch 2 times, most recently from 840bf01 to 38610da Compare February 28, 2025 16:44
@supakeen
Copy link
Member Author

Cool, all good now :)

thozza
thozza previously approved these changes Mar 4, 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.

LGTM.

supakeen added 3 commits March 4, 2025 17:28
This moves the machine id handling from specific to Fedora to the image
config.

Signed-off-by: Simon de Vlieger <[email protected]>
Don't turn off the regeneration of the machine id for the iot image
types, it breaks in rpm-ostree.

Signed-off-by: Simon de Vlieger <[email protected]>
@supakeen supakeen force-pushed the machine-id-image-config branch from 38610da to dac855f Compare March 4, 2025 16:32
@supakeen
Copy link
Member Author

supakeen commented Mar 4, 2025

Force pushed to resolve conflicts.

@supakeen supakeen requested review from achilleas-k, thozza and mvo5 March 4, 2025 16:34
@thozza thozza added this pull request to the merge queue Mar 5, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 5, 2025
@thozza thozza added this pull request to the merge queue Mar 5, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 5, 2025
@thozza thozza added this pull request to the merge queue Mar 6, 2025
Merged via the queue into osbuild:main with commit 282091c Mar 6, 2025
18 checks passed
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.

4 participants