#879 Specify the squashfs-only in the lorax_options
Merged 3 years ago by mohanboddu. Opened 3 years ago by bkhomuts.

file modified
+6 -2
@@ -105,11 +105,15 @@

  lorax_options = [

    ('^.*$', {

       'x86_64': {

-          'nomacboot': False

+          'nomacboot': False,

+          'squashfs_only': True,

+          'configuration_file': 'lorax.conf'

       },

       '*': {

           'noupgrade': True,

-          'rootfs_size': 3

+          'rootfs_size': 3,

+          'squashfs_only': True,

+          'configuration_file': 'lorax.conf'

       }

    })

  ]

file added
+3
@@ -0,0 +1,3 @@

+ [compression]

+ bcj = no

+ args = -b 1M -Xdict-size 1M -no-recovery

Usage of this option should reduce both the BOOT.iso and the DVD medium size.
This is because there will be no more additional EXT4 filesystem in the SquashFS.
This modification relates to the following change proposal:
https://fedoraproject.org/wiki/Category:Changes/OptimizeSquashFS

The result of it should be similar as in the following example DVD:
https://khomutsky.com/fedora-dvd/Fedora-Workstation-dvd-x86_64-32_Beta-1.2-bkhomuts_squashfs_XZ_plain.iso

I have tested the above mentioned DVD myself to confirm that the installation
succeeds.
You can see some of my test results in the change proposal.

Note, that this is only a one part of the change proposal. There will be
another pull request to improve the compression ratio of the SquashFS.
The new option will work in the upcoming release of Pungi 4.2.4.

If possible, I'd like this change to be also included in Fedora 33.

Note, I previously submitted this request https://pagure.io/pungi-fedora/pull-request/871. The previous one has been reverted. I'm submitting this request to obtain the ISO images for testing, apply the fix: https://github.com/rhinstaller/anaconda/pull/2820, and release the images for testing.

Jira: RHELCMP-693

1 new commit added

  • Specify the configuration_file in lorax_options
3 years ago

Pull-Request has been merged by mohanboddu

3 years ago