Created
May 11, 2026 10:34
-
-
Save achilleas-k/d30e53fc8d95de4154dbcd1ca00f0076 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "version": "2", | |
| "pipelines": [ | |
| { | |
| "name": "build", | |
| "runner": "org.osbuild.linux", | |
| "stages": [ | |
| { | |
| "type": "org.osbuild.container-deploy", | |
| "inputs": { | |
| "images": { | |
| "type": "org.osbuild.containers", | |
| "origin": "org.osbuild.source", | |
| "references": { | |
| "sha256:18f28efcf3f7cec85fb42a646c93c21ae0213ad4886a42f723bbd6e8556aab1a": { | |
| "name": "quay.io/achilleas/updated" | |
| } | |
| } | |
| } | |
| }, | |
| "options": { | |
| "remove-signatures": true | |
| } | |
| }, | |
| { | |
| "type": "org.osbuild.selinux", | |
| "options": { | |
| "file_contexts": "etc/selinux/targeted/contexts/files/file_contexts", | |
| "exclude_paths": [ | |
| "/sysroot" | |
| ], | |
| "labels": { | |
| "/usr/bin/mount": "system_u:object_r:install_exec_t:s0", | |
| "/usr/bin/ostree": "system_u:object_r:install_exec_t:s0", | |
| "/usr/bin/umount": "system_u:object_r:install_exec_t:s0" | |
| } | |
| } | |
| } | |
| ] | |
| }, | |
| { | |
| "name": "image", | |
| "build": "name:build", | |
| "stages": [ | |
| { | |
| "type": "org.osbuild.truncate", | |
| "options": { | |
| "filename": "disk.raw", | |
| "size": "216017141760" | |
| } | |
| }, | |
| { | |
| "type": "org.osbuild.sfdisk", | |
| "options": { | |
| "label": "gpt", | |
| "uuid": "31b9a4d1-eee6-427e-9d20-460a1efd2281", | |
| "partitions": [ | |
| { | |
| "size": 1026048, | |
| "start": 2048, | |
| "type": "c12a7328-f81f-11d2-ba4b-00a0c93ec93b", | |
| "uuid": "c26dc9d4-e2eb-42c1-8b6a-0bb66730cb2c" | |
| }, | |
| { | |
| "size": 2097152, | |
| "start": 1028096, | |
| "type": "bc13c2ff-59e6-4262-a352-b275fd6f7172", | |
| "uuid": "249a7f8e-c872-4818-a530-bb0310bc3b14" | |
| }, | |
| { | |
| "size": 350655600, | |
| "start": 3125248, | |
| "type": "0FC63DAF-8483-4772-8E79-3D69D8477DE4", | |
| "uuid": "277958ea-579d-482a-b839-b943e9e4fe8b" | |
| } | |
| ] | |
| }, | |
| "devices": { | |
| "device": { | |
| "type": "org.osbuild.loopback", | |
| "options": { | |
| "filename": "disk.raw", | |
| "lock": true | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "type": "org.osbuild.mkfs.fat", | |
| "options": { | |
| "volid": "BA4BB7C4", | |
| "label": "EFI-SYSTEM" | |
| }, | |
| "devices": { | |
| "device": { | |
| "type": "org.osbuild.loopback", | |
| "options": { | |
| "filename": "disk.raw", | |
| "start": 2048, | |
| "size": 1026048, | |
| "lock": true | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "type": "org.osbuild.mkfs.ext4", | |
| "options": { | |
| "uuid": "a653fbe8-6a75-4c86-a324-691ad8ba9672", | |
| "label": "boot" | |
| }, | |
| "devices": { | |
| "device": { | |
| "type": "org.osbuild.loopback", | |
| "options": { | |
| "filename": "disk.raw", | |
| "start": 1028096, | |
| "size": 2097152, | |
| "lock": true | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "type": "org.osbuild.mkfs.btrfs", | |
| "options": { | |
| "uuid": "883bec92-a1a7-4656-bdd9-6fcd96b2f65d", | |
| "label": "root" | |
| }, | |
| "devices": { | |
| "device": { | |
| "type": "org.osbuild.loopback", | |
| "options": { | |
| "filename": "disk.raw", | |
| "start": 3125248, | |
| "size": 350655600, | |
| "lock": true | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "type": "org.osbuild.btrfs.subvol", | |
| "options": { | |
| "subvolumes": [ | |
| { | |
| "name": "/root" | |
| } | |
| ] | |
| }, | |
| "devices": { | |
| "device": { | |
| "type": "org.osbuild.loopback", | |
| "options": { | |
| "filename": "disk.raw", | |
| "start": 3125248, | |
| "size": 350655600, | |
| "lock": true | |
| } | |
| } | |
| }, | |
| "mounts": [ | |
| { | |
| "name": "volume", | |
| "type": "org.osbuild.btrfs", | |
| "source": "device", | |
| "target": "/", | |
| "options": {} | |
| } | |
| ] | |
| }, | |
| { | |
| "type": "org.osbuild.bootc.install-to-filesystem", | |
| "inputs": { | |
| "images": { | |
| "type": "org.osbuild.containers", | |
| "origin": "org.osbuild.source", | |
| "references": { | |
| "sha256:18f28efcf3f7cec85fb42a646c93c21ae0213ad4886a42f723bbd6e8556aab1a": { | |
| "name": "quay.io/achilleas/updated" | |
| } | |
| } | |
| } | |
| }, | |
| "options": { | |
| "composefs": true, | |
| "target-imgref": "quay.io/achilleas/updated:44" | |
| }, | |
| "devices": { | |
| "disk": { | |
| "type": "org.osbuild.loopback", | |
| "options": { | |
| "filename": "disk.raw", | |
| "partscan": true | |
| } | |
| } | |
| }, | |
| "mounts": [ | |
| { | |
| "name": "-", | |
| "type": "org.osbuild.btrfs", | |
| "source": "disk", | |
| "target": "/", | |
| "options": { | |
| "subvol": "/root", | |
| "compress": "zstd:1" | |
| }, | |
| "partition": 3 | |
| }, | |
| { | |
| "name": "boot", | |
| "type": "org.osbuild.ext4", | |
| "source": "disk", | |
| "target": "/boot", | |
| "partition": 2 | |
| }, | |
| { | |
| "name": "boot-efi", | |
| "type": "org.osbuild.fat", | |
| "source": "disk", | |
| "target": "/boot/efi", | |
| "partition": 1 | |
| } | |
| ] | |
| } | |
| ] | |
| } | |
| ], | |
| "sources": { | |
| "org.osbuild.skopeo": { | |
| "items": { | |
| "sha256:18f28efcf3f7cec85fb42a646c93c21ae0213ad4886a42f723bbd6e8556aab1a": { | |
| "image": { | |
| "name": "quay.io/achilleas/kinoite", | |
| "digest": "sha256:4239058054090fa67df78da2e1ab901ea38160101759d987c5816e73fef2dad8" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment