toolkit: add squashfs_only option to configs
Some checks failed
Build empanada images for imagefactory / buildx (push) Failing after 5s
Build empanada container images for lorax / buildx (push) Successful in 1s

This commit is contained in:
Louis Abel 2024-04-17 08:37:14 -07:00
parent b0c0b55232
commit 6d931afac5
Signed by: label
GPG Key ID: 2A6975660E424560
6 changed files with 11 additions and 0 deletions

View File

@ -65,6 +65,7 @@
- 'AppStream'
lorax:
noupgrade: False
squashfs_only: True
repos:
- 'BaseOS'
- 'AppStream'

View File

@ -64,6 +64,8 @@
- 'BaseOS'
- 'AppStream'
lorax:
noupgrade: False
squashfs_only: True
repos:
- 'BaseOS'
- 'AppStream'

View File

@ -64,6 +64,8 @@
- 'BaseOS'
- 'AppStream'
lorax:
noupgrade: False
squashfs_only: True
repos:
- 'BaseOS'
- 'AppStream'

View File

@ -64,6 +64,8 @@
- 'BaseOS'
- 'AppStream'
lorax:
noupgrade: False
squashfs_only: True
repos:
- 'BaseOS'
- 'AppStream'

View File

@ -24,6 +24,9 @@ lorax --product="${PRODUCT}" \
{%- for repo in repos %}
--source={{ repo.url }} \
{%- endfor %}
{%- if squashfs_only %}
--squashfs-only
{%- endif %}
--bugurl="${BUGURL}" \
--variant="${VARIANT}" \
--nomacboot \

View File

@ -308,6 +308,7 @@ class IsoBuild:
builddir=self.mock_work_root,
lorax_work_root=self.lorax_result_root,
bugurl=self.bugurl,
squashfs_only=self.iso_map['lorax']['squashfs_only'],
)
with open(mock_iso_path, "w+") as mock_iso_entry: