#2476 Add support for passing --squashfs-only and --compress-arg to the livemedia-creator during in livemedia method
Closed: Fixed 2 years ago by tkopecek. Opened 3 years ago by tkopecek.

/cloned/
I found that there is no way to specify --squashfs-only and the --compress-arg ARG parameters during execution of the liveimage method in Koji build system.

Please add support for specifying the --squashfs-only and --compress-arg options to livemedia-creator. Please design the change with support for multiple instances of --compress-arg ARG within one call to livemedia-creator.

If there is other method in Koji which uses livemedia-creator, I'd recommend adding support there as well. But the requirement is only for livemedia-creator.

In RHEL, there are no live images at the moment. This request is related to the following change in Fedora:
https://fedoraproject.org/wiki/Changes/OptimizeSquashFS

This is an example of a liveimage task for reference:
https://koji.fedoraproject.org/koji/taskinfo?taskID=50309537

In it's root.log, I can see that /sbin/livemedia-creator right now is called with the following arguments:

DEBUG util.py:719:  Executing command: ['/sbin/livemedia-creator', '--ks', '/chroot_tmpdir/koji-image-f34-build-50309537.ks', '--logfile', '/chroot_tmpdir/lmc-logs/livemedia-out.log', '--no-virt', '--resultdir', '/chroot_tmpdir/lmc', '--project', 'Fedora-Workstation-Live', '--make-iso', '--volid', 'Fedora-WS-Live-rawh-20200828.n.0', '--iso-only', '--iso-name', 'Fedora-Workstation-Live-x86_64-Rawhide-20200828.n.0.iso', '--releasever', 'Rawhide', '--macboot'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False

Metadata Update from @tkopecek:
- Custom field Size adjusted to None
- Issue set to the milestone: 1.25 (was: 1.24)

3 years ago

PR 2833

Metadata Update from @jcupova:
- Issue tagged with: testing-ready

3 years ago

Metadata Update from @mfilip:
- Issue tagged with: testing-done

3 years ago

Login to comment on this ticket.

Metadata
Related Pull Requests
  • #2833 Merged 2 years ago