Skip to content

Commit

Permalink
example: add fedora-40-x86-minimal_raw example otk file
Browse files Browse the repository at this point in the history
This commit adds anoter example to the mix of distro examples. Here
it is the minimal fedora raw image that is important for the
community. It is a also a useful way to explore how much of the
osbuild fragments/pipelines can be shared access (rpm-type) distros.
  • Loading branch information
mvo5 committed Sep 16, 2024
1 parent ee3dc2b commit c30df8c
Show file tree
Hide file tree
Showing 7 changed files with 89 additions and 1,063 deletions.
2 changes: 2 additions & 0 deletions example/centos/common/gen-partition-table-x86_64.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# XXX: we should explore if we can express this entirely as a customization to
# a common partition table so that centos/fedora PT can be shared more
otk.define:
filesystem:
otk.external.otk-gen-partition-table:
Expand Down
40 changes: 40 additions & 0 deletions example/fedora/common/gen-partition-table-x86_64.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# XXX: merge with the centos partition table
otk.define:
filesystem:
otk.external.otk-gen-partition-table:
modifications:
${filesystem.modifications}
properties:
create:
esp_partition: true
esp_partition_size: "200 MiB"
type: gpt
bios: true
start_offset: "8 MiB"
# we use hardcoded uuids for compatibility with "images"
uuid: D209C89E-EA5E-4FBD-B161-B461CCE297E0
partitions:
- name: boot
mountpoint: /boot
label: boot
size: "1 GiB"
type: ext4
fs_mntops: defaults
# XXX: should we derive this automatically from the mountpoint?
part_type: BC13C2FF-59E6-4262-A352-B275FD6F7172
# we use hardcoded uuids for compatibility with "images"
part_uuid: CB07C243-BC44-4717-853E-28852021225B
- name: root
mountpoint: /
label: root
type: ext4
size: "2 GiB"
fs_mntops: defaults
# XXX: should we derive this automatically from the mountpoint?
part_type: 0FC63DAF-8483-4772-8E79-3D69D8477DE4
# we use hardcoded uuids for compatibility with "images"
part_uuid: 6264D520-3FB9-423F-8AB8-7A0A8E3D3562
# XXX: find a better way
fs_options:
otk.external.otk-make-partition-mounts-devices:
${filesystem}
Loading

0 comments on commit c30df8c

Please sign in to comment.