mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 10:57:55 +01:00
fixes
This commit is contained in:
parent
2aeb0bde72
commit
a6aeab7ac9
9 changed files with 66 additions and 63 deletions
|
|
@ -2,7 +2,8 @@
|
|||
# $1 = script to convert
|
||||
# $2 = file on ISO to write
|
||||
# $3 = whether to copy the '<%' lines to the template
|
||||
convert_post_to_tmpl = header=0; \
|
||||
define convert_post_to_tmpl
|
||||
header=0; \
|
||||
skip=0; \
|
||||
while read -r line; \
|
||||
do \
|
||||
|
|
@ -33,7 +34,7 @@ convert_post_to_tmpl = header=0; \
|
|||
fi; \
|
||||
done < scripts/post/$(1); \
|
||||
echo "append $(2) \"%end\"" >> post_$(1).tmpl
|
||||
|
||||
endef
|
||||
|
||||
post_%.tmpl: scripts/post/%
|
||||
$(call convert_post_to_tmpl,$*,usr/share/anaconda/post-scripts/$*.ks,true)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue