workstation-ostree-config/fedora-common-ostree.yaml
Timothée Ravier 7c611d9d0d Convert all remaining json manifests to yaml
This conversion can be validated using this script:

 #!/bin/bash

mkdir -p repo && cd repo && ostree init --repo . --mode=archive && cd ..
variants=('silverblue' 'kinoite' 'xfce' 'lxqt')

for v in ${variants[@]}; do
    sudo rpm-ostree compose tree --repo=repo --print-only fedora-$v.yaml > $v.yaml.out
done

git checkout --quiet HEAD~
for v in ${variants[@]}; do
    sudo rpm-ostree compose tree --repo=repo --print-only fedora-$v.yaml > $v.json.out
done

for v in ${variants[@]}; do
    if [[ ! -z $(diff $v.json.out $v.yaml.out) ]]; then
        echo ""
        echo "$v: JSON != YAML"
        diff $v.json.out $v.yaml.out
        echo ""
        has_diff="true"
    fi
done

git checkout --quiet master
rm -rf ./repo
for v in ${variants[@]}; do
    rm ./$v.json.out ./$v.yaml.out
done

if [[ $has_diff == "true" ]]; then
    echo "Found some diff!"
else
    echo "OK!"
fi
2019-04-07 13:41:06 +02:00

58 lines
985 B
YAML

ref: fedora/rawhide/${basearch}/ostree-base
automatic_version_prefix: "31"
mutate-os-release: "31"
include: fedora-common-ostree-pkgs.yaml
packages:
- buildah
- flatpak
- flatpak-builder
- git-core
- lvm2
- podman
- rpm-ostree
- skopeo
- toolbox
- xdg-desktop-portal
selinux: true
documentation: true
boot_location: new
etc-group-members:
- wheel
tmp-is-dir: true
postprocess-script: post.sh
ignore-removed-users:
- root
ignore-removed-groups:
- root
check-passwd: { type: file, filename: passwd }
check-groups: { type: file, filename: group }
default_target: graphical.target
# Keep this in sync with fedora-atomic-host.json from fedora-atomic
packages-aarch64:
- grub2-efi
- ostree-grub2
- efibootmgr
- shim
packages-armhfp:
- extlinux-bootloader
packages-ppc64:
- grub2
- ostree-grub2
packages-ppc64le:
- grub2
- ostree-grub2
packages-x86_64:
- grub2
- grub2-efi-x64
- ostree-grub2
- efibootmgr
- shim
- microcode_ctl