toolkit: add squashfs_only option to configs

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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