Keep purpose templates free of unexpanded Container Runner placeholders

This commit is contained in:
Pavel Isaev 2026-11-10 01:03:01 +03:00
parent 5a287d9fdf
commit ccae2e0262

View file

@ -32,6 +32,7 @@ fn render_iso(kde: bool) -> String {
let layer = profile(include_str!("../adapters/gnome-layer.sh"))
.replace(if kde { "@@KDE_ASSETS@@" } else { "@@GNOME_ASSETS@@" }, &gnome);
profile(include_str!("../adapters/build-iso.sh")).replace("@@PACKAGE_SCRIPT@@", &package)
.replace("@@CONTAINER_RUNNER_LAYER_BUILD@@", ": # Container Runner layer is not used here")
.replace(if kde { "@@KDE_LAYER_BUILD@@" } else { "@@GNOME_LAYER_BUILD@@" }, &layer)
.replace("@@LAYER_DELTA@@", include_str!("../../composer/layer_delta.py"))
.replace("@@UPDATE_PROFILE@@", include_str!("../defaults/update.json"))