version: '2'
pipelines:
  - mpp-import-pipelines:
      path: ../manifests/fedora-vars.ipp.yaml
  - mpp-import-pipeline:
      path: ../manifests/fedora-build-v2.ipp.yaml
      id: build
    runner:
      mpp-format-string: org.osbuild.fedora{release}
  - name: tree
    build: name:build
    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:
                - systemd
        options:
          gpgkeys:
            mpp-eval: gpgkeys
          exclude:
            docs: true
      - type: org.osbuild.tmpfilesd
        options:
          filename: sap.conf
          config:
            - type: x
              path: /tmp/.sap*
            - type: x
              path: /tmp/.hdb*lock
            - type: x
              path: /tmp/.trex*lock
      - type: org.osbuild.tmpfilesd
        options:
          filename: example.conf
          config:
            - type: w-
              path: /proc/sys/vm/swappiness
              argument: '10'
            - type: d
              path: /tmp/.X11-unix
              mode: '1777'
              user: root
              group: root
              age: 10d
            - type: d
              path: /run/uscreens
              mode: '0755'
              group: screen
            - type: t
              path: /run/cups
              argument: security.SMACK64=printing user.attr-with-spaces="foo bar"
