j7s-os/include/image.ipp.yml

49 lines
965 B
YAML

version: '2'
mpp-vars:
dracut_install:
mpp-join:
- mpp-eval: dracut_install
kernel_opts:
mpp-join:
- - ro
- loglevel=$kernel_loglevel
- mpp-if: use_efi_runtime
then: efi=runtime
- mpp-eval: kernel_opts
pipelines:
# ostree pipeline is in other file.
- mpp-import-pipelines:
path: image-ostree.ipp.yml
- name: container
build: name:build
stages:
- type: org.osbuild.oci-archive
inputs:
base:
type: org.osbuild.tree
origin: org.osbuild.pipeline
references:
- name:rootfs
options:
filename: container.tar
architecture: $arch
config:
Cmd:
- "/usr/bin/bash"
- name: tar
build: name:build
stages:
- type: org.osbuild.tar
inputs:
tree:
type: org.osbuild.tree
origin: org.osbuild.pipeline
references:
- name:rootfs
options:
filename: rootfs.tar
root-node: omit