Skip to content

Commit

Permalink
Enforce non-btrfs autopart scheme on Fedora for ostreecontainer-bootc…
Browse files Browse the repository at this point in the history
… test

Patch created based on hints by jikortus.
  • Loading branch information
rvykydal committed Apr 4, 2024
1 parent 4a9ba35 commit c927cb7
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Default storage configuration with lvm type enforced for Fedora
zerombr
clearpart --all
autopart --type=lvm
4 changes: 4 additions & 0 deletions fragments/shared/storage/ostreecontainer_autopart.ks
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Default storage configuration
zerombr
clearpart --all
autopart
4 changes: 3 additions & 1 deletion rpm-ostree-container-bootc.ks.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
# depends on the referenced ostree container being bootable

# Use the default settings.
%ksappend common/common_no_payload.ks
%ksappend common/common_no_storage_and_payload.ks
# On Fedora enforce lvm scheme (overriding btrfs default)
%ksappend storage/ostreecontainer_autopart.ks

ostreecontainer --no-signature-verification --remote=test-remote --stateroot=test-stateroot --url=@KSTEST_OSTREECONTAINER_URL@

Expand Down

0 comments on commit c927cb7

Please sign in to comment.