From a9d01519fd45a5fd308dbccf43e70e6160aefa54 Mon Sep 17 00:00:00 2001 From: "Jason N." <33561705+JasonN3@users.noreply.github.com> Date: Mon, 11 Mar 2024 13:41:33 -0400 Subject: [PATCH] use filter --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3a6eff5..0c46523 100644 --- a/Makefile +++ b/Makefile @@ -160,7 +160,7 @@ repos/%.repo: /etc/yum.repos.d/%.repo %.repo: # Step 3: Build boot.iso using Lorax -boot.iso: $(findstring lorax_templates/,$(_LORAX_TEMPLATES)) $(_REPO_FILES) +boot.iso: $(filter lorax_templates/%,$(_LORAX_TEMPLATES)) $(_REPO_FILES) rm -Rf $(_BASE_DIR)/results || true mv /etc/rpm/macros.image-language-conf /etc/rpm/macros.image-language-conf.orig || true cp /etc/os-release /etc/os-release.orig || true