mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 10:57:55 +01:00
support silverblue
This commit is contained in:
parent
21eed6d1ba
commit
b136cb4b34
1 changed files with 7 additions and 1 deletions
8
Makefile
8
Makefile
|
|
@ -8,6 +8,12 @@ variant = Silverblue
|
||||||
image_repo_escaped = $(subst /,\/,$(image_repo))
|
image_repo_escaped = $(subst /,\/,$(image_repo))
|
||||||
image_repo_double_escaped = $(subst \,\\\,$(image_repo_escaped))
|
image_repo_double_escaped = $(subst \,\\\,$(image_repo_escaped))
|
||||||
|
|
||||||
|
ifeq ($(variant),'Server')
|
||||||
|
lorax_args = --macboot --noupgrade
|
||||||
|
else
|
||||||
|
lorax_args = --nomacboot
|
||||||
|
endif
|
||||||
|
|
||||||
$(image_name)-$(version).iso: boot.iso $(image_name)-$(version) xorriso/input.txt
|
$(image_name)-$(version).iso: boot.iso $(image_name)-$(version) xorriso/input.txt
|
||||||
xorriso -dialog on < $(base_dir)/xorriso/input.txt
|
xorriso -dialog on < $(base_dir)/xorriso/input.txt
|
||||||
|
|
||||||
|
|
@ -15,7 +21,7 @@ boot.iso: lorax_templates/set_installer.tmpl lorax_templates/configure_upgrades.
|
||||||
rm -Rf $(base_dir)/results
|
rm -Rf $(base_dir)/results
|
||||||
lorax -p $(image_name) -v $(version) -r $(version) -t $(variant) \
|
lorax -p $(image_name) -v $(version) -r $(version) -t $(variant) \
|
||||||
--isfinal --buildarch=$(arch) --volid=$(image_name)-$(arch)-$(version) \
|
--isfinal --buildarch=$(arch) --volid=$(image_name)-$(arch)-$(version) \
|
||||||
--macboot --noupgrade \
|
$(lorax_args) \
|
||||||
--repo /etc/yum.repos.d/fedora.repo \
|
--repo /etc/yum.repos.d/fedora.repo \
|
||||||
--repo /etc/yum.repos.d/fedora-updates.repo \
|
--repo /etc/yum.repos.d/fedora-updates.repo \
|
||||||
--add-template $(base_dir)/lorax_templates/set_installer.tmpl \
|
--add-template $(base_dir)/lorax_templates/set_installer.tmpl \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue