The org.osbuild.container-deploy stage uses podman. Including it in the build here will allow that stage to be used with this pipeline as the buildroot. Include a workaround here for what I consider to be a bug [1] in that `podman` will create `/etc/containers/networks` on first run if it doesn't exist. That dir should just be created by an RPM. If we don't include this workaround then the stage will fail when `podman` attempts the `mkdir` because `/etc/containers` is mounted in from the buildroot readonly. [1] https://github.com/containers/common/pull/2265
80 lines
2.4 KiB
YAML
80 lines
2.4 KiB
YAML
version: '2'
|
|
pipelines:
|
|
- name: build
|
|
source-epoch: 1659397331
|
|
stages:
|
|
- type: org.osbuild.rpm
|
|
inputs:
|
|
packages:
|
|
type: org.osbuild.files
|
|
origin: org.osbuild.source
|
|
mpp-depsolve:
|
|
architecture: $arch
|
|
module-platform-id: $module_platform_id
|
|
repos:
|
|
mpp-eval: repos
|
|
packages:
|
|
- binutils
|
|
- btrfs-progs
|
|
- cryptsetup
|
|
- dnf
|
|
- dosfstools
|
|
- e2fsprogs
|
|
- erofs-utils
|
|
- gdisk
|
|
- grub2-pc
|
|
- policycoreutils
|
|
- python3-dnf
|
|
- python3-iniparse
|
|
- python3-libdnf5
|
|
- python3-toml
|
|
- python3-yaml
|
|
- qemu-img
|
|
- rpm-ostree
|
|
- systemd
|
|
- tar
|
|
- xfsprogs
|
|
- xz
|
|
- lvm2
|
|
- selinux-policy-targeted
|
|
- genisoimage
|
|
- isomd5sum
|
|
- xorriso
|
|
- syslinux
|
|
- skopeo
|
|
- lorax-templates-generic
|
|
- syslinux-nonlinux
|
|
- squashfs-tools
|
|
- grub2-pc-modules
|
|
- grub2-tools
|
|
- grub2-efi-x64
|
|
- shim-x64
|
|
- efibootmgr
|
|
- grub2-tools-minimal
|
|
- grub2-tools-extra
|
|
- grub2-tools-efi
|
|
- grub2-efi-x64
|
|
- grub2-efi-x64-cdboot
|
|
- shim-ia32
|
|
- grub2-efi-ia32-cdboot
|
|
- zstd
|
|
- openscap-utils
|
|
- podman
|
|
options:
|
|
gpgkeys:
|
|
mpp-eval: gpgkeys
|
|
exclude:
|
|
docs: true
|
|
# Remove when https://github.com/containers/common/pull/2265
|
|
# has merged and is in a Fedora RPM
|
|
- type: org.osbuild.mkdir
|
|
options:
|
|
paths:
|
|
- path: /etc/containers/networks
|
|
mode: 493
|
|
- type: org.osbuild.selinux
|
|
options:
|
|
file_contexts: etc/selinux/targeted/contexts/files/file_contexts
|
|
labels:
|
|
/usr/bin/cp: system_u:object_r:install_exec_t:s0
|
|
/usr/bin/tar: system_u:object_r:install_exec_t:s0
|