From eef364fa517b23af89fcb60c850bdab9f6cd5686 Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Jan 27 2024 01:16:47 +0000 Subject: Convert json to yaml Signed-off-by: Paul Whalen --- diff --git a/fedora-iot-base.json b/fedora-iot-base.json deleted file mode 100644 index 481bb90..0000000 --- a/fedora-iot-base.json +++ /dev/null @@ -1,205 +0,0 @@ -{ - "ref": "fedora/rawhide/${basearch}/iot", - "ex-jigdo-spec": "fedora-iot.spec", - - "min-free-space-percent": "1", - - "repos": [], - - "selinux": true, - - "ima": true, - - "tmp-is-dir": true, - - "recommends": false, - - "documentation": false, - - "automatic_version_prefix": "40", - "mutate-os-release": "40", - - "initramfs-args": ["--no-hostonly", - "--add", "ignition watchdog"], - "boot_location": "modules", - - "install-langs-comment": "Keep this in sync with treecompose-post.sh", - "install-langs": [ - "pt_BR", - "fr", - "fr_FR", - "de", - "de_DE", - "it", - "it_IT", - "ru", - "ru_RU", - "es", - "es_ES", - "en_US", - "zh_CN", - "ja", - "ja_JP", - "ko", - "ko_KR", - "zh_TW", - "as", - "as_IN", - "bn", - "bn_IN", - "gu", - "gu_IN", - "hi", - "hi_IN", - "kn", - "kn_IN", - "ml", - "ml_IN", - "mr", - "mr_IN", - "or", - "or_IN", - "pa", - "pa_IN", - "ta", - "ta_IN", - "te", - "te_IN" - ], - - "postprocess-script": "treecompose-post.sh", - - "etc-group-members": ["wheel", "docker"], - - "ignore-removed-users": ["root"], - "ignore-removed-groups": ["root"], - "check-passwd": { "type": "file", "filename": "passwd" }, - "check-groups": { "type": "file", "filename": "group" }, - - "packages": ["fedora-release-iot", - "aardvark-dns", - "atheros-firmware", - "attr", - "authselect", - "basesystem", - "bash", - "bash-completion", - "brcmfmac-firmware", - "chrony", - "clevis", - "clevis-dracut", - "clevis-luks", - "clevis-pin-tpm2", - "container-selinux", - "containernetworking-plugins", - "coreutils", - "cracklib-dicts", - "criu", "criu-libs", - "cryptsetup", - "curl", - "dbus-parsec", - "dnsmasq", - "dosfstools", - "dracut-config-generic", - "dracut-network", - "e2fsprogs", - "efibootmgr", - "fdo-client", - "firewalld", - "fwupd", - "fwupd-efi", - "fwupd-plugin-modem-manager", - "fwupd-plugin-uefi-capsule-data", - "glibc", - "glibc-minimal-langpack", - "gnupg2", - "greenboot", - "greenboot-default-health-checks", - "gzip", - "hostname", - "ignition", - "ima-evm-utils", - "iproute", - "iputils", - "iwd", - "iwlwifi-mvm-firmware", - "kernel", - "kernel-tools", - "keyutils", - "less", - "libsss_sudo", - "linux-firmware", - "lvm2", - "netavark", - "NetworkManager", - "NetworkManager-wifi", - "NetworkManager-wwan", - "nss-altfiles", - "openssl", - "openssh-clients", - "openssh-server", - "parsec", - "passwd", - "pinentry", - "podman", - "podman-plugins", - "policycoreutils", - "policycoreutils-python-utils", - "polkit", - "procps-ng", - "realtek-firmware", - "rootfiles", - "rpm", - "screen", - "selinux-policy-targeted", - "setools-console", - "setup", - "shadow-utils", - "skopeo", - "slirp4netns", - "sssd-client", - "sudo", - "systemd", - "systemd-resolved", - "tar", - "tmux", - "tpm2-pkcs11", - "traceroute", - "usbguard", - "util-linux", - "vim-minimal", - "wpa_supplicant", - "wireless-regdb", - "xfsprogs", - "xz", - "zezere-ignition", - "zram-generator", - "zram-generator-defaults"], - - "packages-aarch64": ["arm-image-installer", - "bcm283x-firmware", - "grub2-efi-aa64", - "optee_client", - "shim-aa64", - "uboot-images-armv8"], - - "packages-x86_64": ["grub2-efi-x64", - "microcode_ctl", - "shim-x64"], - - "default_target": "multi-user.target", - - "units": ["NetworkManager.service", - "firewalld.service", - "sshd.service", - "greenboot-grub2-set-counter.service", - "greenboot-grub2-set-success.service", - "greenboot-healthcheck.service", - "greenboot-rpm-ostree-grub2-check-fallback.service", - "greenboot-status.service", - "greenboot-task-runner.service", - "parsec.service", - "dbus-parsec.service", - "zezere_ignition.timer", - "zezere_ignition_banner.service"] -} diff --git a/fedora-iot-base.yaml b/fedora-iot-base.yaml new file mode 100644 index 0000000..8e9ab6d --- /dev/null +++ b/fedora-iot-base.yaml @@ -0,0 +1,202 @@ +--- +ref: fedora/rawhide/${basearch}/iot +rojig: + name: fedora-iot + summary: "Fedora IoT image" + license: MIT +repos: [] +selinux: true +ima: true +tmp-is-dir: true +recommends: false +documentation: false +automatic_version_prefix: '40' +mutate-os-release: '40' +initramfs-args: +- "--no-hostonly" +- "--add" +- ignition watchdog +boot_location: modules + # Keep this in sync with treecompose-post.sh +install-langs: +- pt_BR +- fr +- fr_FR +- de +- de_DE +- it +- it_IT +- ru +- ru_RU +- es +- es_ES +- en_US +- zh_CN +- ja +- ja_JP +- ko +- ko_KR +- zh_TW +- as +- as_IN +- bn +- bn_IN +- gu +- gu_IN +- hi +- hi_IN +- kn +- kn_IN +- ml +- ml_IN +- mr +- mr_IN +- or +- or_IN +- pa +- pa_IN +- ta +- ta_IN +- te +- te_IN +postprocess-script: treecompose-post.sh +etc-group-members: +- wheel +- docker +ignore-removed-users: +- root +ignore-removed-groups: +- root +check-passwd: + type: file + filename: passwd +check-groups: + type: file + filename: group +packages: +- fedora-release-iot +- aardvark-dns +- atheros-firmware +- attr +- authselect +- basesystem +- bash +- bash-completion +- brcmfmac-firmware +- chrony +- clevis +- clevis-dracut +- clevis-luks +- clevis-pin-tpm2 +- container-selinux +- containernetworking-plugins +- coreutils +- cracklib-dicts +- criu +- criu-libs +- cryptsetup +- curl +- dbus-parsec +- dnsmasq +- dosfstools +- dracut-config-generic +- dracut-network +- e2fsprogs +- efibootmgr +- fdo-client +- firewalld +- fwupd +- fwupd-efi +- fwupd-plugin-modem-manager +- fwupd-plugin-uefi-capsule-data +- glibc +- glibc-minimal-langpack +- gnupg2 +- greenboot +- greenboot-default-health-checks +- gzip +- hostname +- ignition +- ima-evm-utils +- iproute +- iputils +- iwd +- iwlwifi-mvm-firmware +- kernel +- kernel-tools +- keyutils +- less +- libsss_sudo +- linux-firmware +- lvm2 +- netavark +- NetworkManager +- NetworkManager-wifi +- NetworkManager-wwan +- nss-altfiles +- openssl +- openssh-clients +- openssh-server +- parsec +- passwd +- pinentry +- podman +- podman-plugins +- policycoreutils +- policycoreutils-python-utils +- polkit +- procps-ng +- realtek-firmware +- rootfiles +- rpm +- screen +- selinux-policy-targeted +- setools-console +- setup +- shadow-utils +- skopeo +- slirp4netns +- sssd-client +- sudo +- systemd +- systemd-resolved +- tar +- tmux +- tpm2-pkcs11 +- traceroute +- usbguard +- util-linux +- vim-minimal +- wpa_supplicant +- wireless-regdb +- xfsprogs +- xz +- zezere-ignition +- zram-generator +- zram-generator-defaults +packages-aarch64: +- arm-image-installer +- bcm283x-firmware +- grub2-efi-aa64 +- optee_client +- shim-aa64 +- uboot-images-armv8 +packages-x86_64: +- grub2-efi-x64 +- microcode_ctl +- shim-x64 +default_target: multi-user.target +units: +- NetworkManager.service +- firewalld.service +- sshd.service +- greenboot-grub2-set-counter.service +- greenboot-grub2-set-success.service +- greenboot-healthcheck.service +- greenboot-rpm-ostree-grub2-check-fallback.service +- greenboot-status.service +- greenboot-task-runner.service +- parsec.service +- dbus-parsec.service +- zezere_ignition.timer +- zezere_ignition_banner.service diff --git a/fedora-iot-updates-stable.json b/fedora-iot-updates-stable.json deleted file mode 100644 index a3fb5ed..0000000 --- a/fedora-iot-updates-stable.json +++ /dev/null @@ -1,5 +0,0 @@ - - "ref": "fedora/rawhide/${basearch}/updates/iot", - "ex-jigdo-spec": "fedora-iot.spec", - "include": "fedora-iot-base.json" -} diff --git a/fedora-iot-updates-stable.yaml b/fedora-iot-updates-stable.yaml new file mode 100644 index 0000000..263bd4b --- /dev/null +++ b/fedora-iot-updates-stable.yaml @@ -0,0 +1,2 @@ +include: fedora-iot-base.yaml +ref: fedora/rawhide/${basearch}/updates/iot diff --git a/fedora-iot-updates-testing.json b/fedora-iot-updates-testing.json deleted file mode 100644 index 96b50ac..0000000 --- a/fedora-iot-updates-testing.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "ref": "fedora/rawhide/${basearch}/testing/iot", - "ex-jigdo-spec": "fedora-iot.spec", - "include": "fedora-iot-base.json" -} diff --git a/fedora-iot-updates-testing.yaml b/fedora-iot-updates-testing.yaml new file mode 100644 index 0000000..c6eb5a5 --- /dev/null +++ b/fedora-iot-updates-testing.yaml @@ -0,0 +1,2 @@ +include: fedora-iot-base.yaml +ref: fedora/rawhide/${basearch}/testing/iot diff --git a/fedora-iot.json b/fedora-iot.json deleted file mode 100644 index 19a0373..0000000 --- a/fedora-iot.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "ref": "fedora/rawhide/${basearch}/iot", - "ex-jigdo-spec": "fedora-iot.spec", - "repos": ["fedora-40"], - "include": "fedora-iot-base.json" -} diff --git a/fedora-iot.yaml b/fedora-iot.yaml new file mode 100644 index 0000000..f174396 --- /dev/null +++ b/fedora-iot.yaml @@ -0,0 +1,8 @@ +include: fedora-iot-base.yaml +ref: fedora/rawhide/${basearch}/iot +rojig: + name: fedora-iot-base + summary: "Fedora base image for IoT" + license: MIT +repos: +- fedora-40