1
0
Fork 0
mirror of https://github.com/JasonN3/build-container-installer.git synced 2025-12-25 10:57:55 +01:00

Fix post scripts not being included in F42 (#164)

This commit is contained in:
Jason Nagin 2025-05-05 14:27:52 -04:00 committed by GitHub
parent c8401b4d03
commit 04895fa3d0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 22 additions and 18 deletions

View file

@ -39,10 +39,14 @@ endef
post_%.tmpl: scripts/post/%
$(call convert_post_to_tmpl,$*,usr/share/anaconda/post-scripts/$*.ks,true)
install_include_post.tmpl:
echo '<%page />' > install_include_post.tmpl
for file in $(patsubst post_%.tmpl, %, $(filter post_%, $(notdir $(_LORAX_TEMPLATES)))); do echo "append usr/share/anaconda/interactive-defaults.ks \"%include /usr/share/anaconda/post-scripts/$${file}.ks\"" >> install_include_post.tmpl; done
install-deps:
FILES=$(wildcard post_*)
FILES=$(wildcard post_*) install_include_post.tmpl
clean:
ifneq ($(FILES),)
rm -Rf $(FILES)
endif
endif