Files
phyllomeos/recipe-generator/recipes_manifest.yaml
T
Lukas Greve 05d611276d fix: Add _bare-metal suffix for False boolean modifiers to prevent filename collisions
The manifest uses hyphenated keys (guest-agents, hardware-support) but the filename
generation was looking for underscored keys, causing 16 variants to overwrite 4 files.

Added _get_modifier() helper to normalize both key formats and added _bare-metal suffix
for False values of guest_agents, ensuring unique filenames for all variant combinations.

This restores the intended 24 distinct variants from the manifest and adds support for
all modifiers (bootloader, initial-setup, desktop, security, storage, guest_agents, hardware_support).
2026-03-26 16:09:28 +01:00

87 lines
2.4 KiB
YAML

# Recipe Manifest for Phyllome OS
# Define all recipe variants using generators from recipe_templates.yaml
# Edit this file to add new variants, then run: make generate-recipes
#
# Supported syntax:
# - Single values: version: "43"
# - List values: version: ["43", "rawhide"] (expands to multiple variants)
# - List modifiers: hypervisor_type: ["amdcpu", "intelcpu"] (expands to separate variants)
#
# NOTE: List values create a cartesian product.
# Example: version: ["43", "rawhide"] + storage: ["standard", "encrypted"]
# creates 4 variants: (43,standard), (43,encrypted), (rawhide,standard), (rawhide,encrypted)
#
# NOTE: Boolean modifiers now generate unique filenames regardless of value (True/False).
# Each variant combination produces a distinct filename with appropriate suffixes.
recipes:
# Install variants - desktop
- name: install
variants:
- name: desktop
version: ["43", "rawhide"]
desktop: gnome
storage: ["standard", "encrypted"]
bootloader: grub
hardware-support: [true, false]
guest-agents: [true, false]
initial-setup: server
security: secure
# Install variants - server
- name: install
variants:
- name: server
version: ["43", "rawhide"]
storage: standard
bootloader: grub
hardware-support: false
guest-agents: true
initial-setup: server
security: secure
# Install variants - server hypervisor
- name: install
variants:
- name: hypervisor
version: 43
storage: standard
bootloader: grub
hardware-support: true
guest-agents: false
hypervisor: base
hypervisor_type: ["amdcpu", "intelcpu"]
initial-setup: server
security: secure
# Install variants - desktop-hypervisor
- name: install
variants:
- name: hypervisor-desktop
version: 43
desktop: gnome
storage: standard
bootloader: grub
hardware-support: false
guest-agents: true
hypervisor: desktop
hypervisor_type: ["amdcpu", "intelcpu"]
initial-setup: server
security: secure
# Live variants - desktop
- name: live
variants:
- name: desktop
version: 43
hardware-support: true
guest-agents: false
# Live variants - server
- name: live
variants:
- name: server
version: 43
hardware-support: true
guest-agents: false