Skip to content

install: Skip discoverable-partitions config for FCOS builds#2164

Closed
cgwalters wants to merge 1 commit intobootc-dev:mainfrom
cgwalters:fix-test-coreos
Closed

install: Skip discoverable-partitions config for FCOS builds#2164
cgwalters wants to merge 1 commit intobootc-dev:mainfrom
cgwalters:fix-test-coreos

Conversation

@cgwalters
Copy link
Copy Markdown
Collaborator

Currently Fedora CoreOS derivatives don't yet work with systemd-gpt-auto-generator, see coreos/fedora-coreos-tracker#2137

It was briefly in an image which let our CI change to depend on it pass.

Fix this by passing the existing SKIP_CONFIGS variable into the coreos image build.

Closes: #2160
Assisted-by: OpenCode (Claude Opus 4)

Currently Fedora CoreOS derivatives don't yet work
with systemd-gpt-auto-generator, see coreos/fedora-coreos-tracker#2137

It was briefly in an image which let our CI change
to depend on it pass.

Fix this by passing the existing `SKIP_CONFIGS` variable
into the coreos image build.

Closes: bootc-dev#2160
Assisted-by: OpenCode (Claude Opus 4)
Signed-off-by: Colin Walters <walters@verbum.org>
@cgwalters cgwalters enabled auto-merge (rebase) April 24, 2026 16:57
@bootc-bot bootc-bot Bot requested a review from ckyrouac April 24, 2026 16:57
Copy link
Copy Markdown
Contributor

@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 introduces a SKIP_CONFIGS build argument to the Dockerfile and the install-rpm-and-setup script, allowing the omission of the 20-discoverable-partitions.toml configuration. This is intended for environments like CoreOS that manage their own partitioning. Feedback indicates that this change will cause failures in the 052-test-bli-detection.nu integration test on Fedora 43+ systems, and it is recommended to update the test to account for this new behavior.

cat > /usr/lib/bootc/install/20-discoverable-partitions.toml <<'EOF'
# Skip this when SKIP_CONFIGS is set (e.g. for CoreOS testing, where the
# target system uses its own partitioning scheme without DPS type GUIDs).
if [ -z "${SKIP_CONFIGS:-}" ]; then
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

Skipping the creation of 20-discoverable-partitions.toml when SKIP_CONFIGS is set will cause the integration test tmt/tests/booted/readonly/052-test-bli-detection.nu to fail on Fedora 43+ images (including CoreOS derivatives). That test explicitly asserts the absence of root= in the kernel command line, which depends on this configuration being present. You should consider updating the test (e.g., by checking VARIANT_ID) to skip that specific assertion when SKIP_CONFIGS is used or when running on CoreOS.

@cgwalters cgwalters marked this pull request as draft April 24, 2026 17:11
auto-merge was automatically disabled April 24, 2026 17:11

Pull request was converted to draft

@cgwalters
Copy link
Copy Markdown
Collaborator Author

OK this is related, but not the real bug.

@cgwalters cgwalters closed this Apr 24, 2026
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.

test-coreos job is failing

1 participant