refactor: Move recipe generator to cook/ directory and fix flattening bugs
- Move recipe-generator/ to cook/ for cleaner structure - Fix ksflatten-relative path conversion to handle all %include paths - Fix validation exit code to only fail on actual errors - All recipes now generate and flatten successfully via make all
This commit is contained in:
@@ -0,0 +1,86 @@
|
||||
# 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: The 'name' field is for organization only and doesn't affect generated filenames.
|
||||
# The recipe type is always 'install' or 'live' from recipe_templates.yaml
|
||||
|
||||
recipes:
|
||||
# Install desktop variants
|
||||
- name: desktop
|
||||
recipe_type: install
|
||||
variants:
|
||||
- version: ["43", "rawhide"]
|
||||
desktop: gnome
|
||||
storage: ["standard", "encrypted"]
|
||||
bootloader: grub
|
||||
hardware-support: [true, false]
|
||||
guest-agents: [true, false]
|
||||
initial-setup: server
|
||||
security: secure
|
||||
|
||||
# Install server variants
|
||||
- name: server
|
||||
recipe_type: install
|
||||
variants:
|
||||
- version: ["43", "rawhide"]
|
||||
storage: standard
|
||||
bootloader: grub
|
||||
hardware-support: false
|
||||
guest-agents: true
|
||||
initial-setup: server
|
||||
security: secure
|
||||
|
||||
# Install hypervisor variants
|
||||
- name: hypervisor
|
||||
recipe_type: install
|
||||
variants:
|
||||
- version: 43
|
||||
storage: standard
|
||||
bootloader: grub
|
||||
hardware-support: true
|
||||
guest-agents: false
|
||||
hypervisor: base
|
||||
hypervisor_type: ["amdcpu", "intelcpu"]
|
||||
initial-setup: server
|
||||
security: secure
|
||||
|
||||
# Install desktop-hypervisor variants
|
||||
- name: desktop-hypervisor
|
||||
recipe_type: install
|
||||
variants:
|
||||
- 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 desktop variants
|
||||
- name: desktop
|
||||
recipe_type: live
|
||||
variants:
|
||||
- version: 43
|
||||
hardware-support: true
|
||||
guest-agents: false
|
||||
|
||||
# Live server variants
|
||||
- name: server
|
||||
recipe_type: live
|
||||
variants:
|
||||
- version: 43
|
||||
hardware-support: true
|
||||
guest-agents: false
|
||||
Reference in New Issue
Block a user