#2095 livemedia-build does not work on EL7
Closed: Fixed by tkopecek. Opened by ignatenkobrain.

DEBUG util.py:686:  Executing command: ['/sbin/livemedia-creator', '--ks', '/chroot_tmpdir/koji-image-tools-el7-build-2562.ks', '--logfile', '/chroot_tmpdir/lmc-logs/livemedia-out.log', '--no-virt', '--resultdir', '/chroot_tmpdir/lmc', '--project', 'pc-service', '--make-iso', '--volid', 'pc-service-7-1', '--iso-only', '--iso-name', 'pc-service-x86_64-7-1.iso', '--releasever', '7', '--title', 'pc-service', '--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': 'en_US.UTF-8'} and shell False
DEBUG util.py:424:  Unsharing. Flags: 134217728
DEBUG util.py:593:  usage: livemedia-creator [-h]
DEBUG util.py:593:                           (--make-iso | --make-disk | --make-fsimage | --make-appliance | --make-ami | --make-tar | --make-pxe-live | --make-ostree-live)
DEBUG util.py:593:                           [--iso ISO] [--fs-label FS_LABEL]
DEBUG util.py:593:                           [--compression COMPRESSION]
DEBUG util.py:593:                           [--compress-arg COMPRESS_ARGS] [--ks KS]
DEBUG util.py:593:                           [--image-only] [--no-virt] [--proxy PROXY]
DEBUG util.py:593:                           [--anaconda-arg ANACONDA_ARGS]
DEBUG util.py:593:                           [--armplatform ARMPLATFORM] [--location LOCATION]
DEBUG util.py:593:                           [--logfile LOGFILE]
DEBUG util.py:593:                           [--lorax-templates LORAX_TEMPLATES] [--tmp TMP]
DEBUG util.py:593:                           [--resultdir RESULT_DIR] [--macboot] [--nomacboot]
DEBUG util.py:593:                           [--extra-boot-args EXTRA_BOOT_ARGS]
DEBUG util.py:593:                           [--disk-image DISK_IMAGE] [--keep-image]
DEBUG util.py:593:                           [--fs-image FS_IMAGE] [--image-name IMAGE_NAME]
DEBUG util.py:593:                           [--qcow2] [--qcow2-arg QCOW2_ARGS]
DEBUG util.py:593:                           [--app-name APP_NAME] [--app-template APP_TEMPLATE]
DEBUG util.py:593:                           [--app-file APP_FILE] [--ram MEMORY] [--vcpus VCPUS]
DEBUG util.py:593:                           [--vnc VNC] [--arch ARCH] [--kernel-args KERNEL_ARGS]
DEBUG util.py:593:                           [--ovmf-path OVMF_PATH] [--virt-uefi]
DEBUG util.py:593:                           [--dracut-arg DRACUT_ARGS]
DEBUG util.py:593:                           [--live-rootfs-size LIVE_ROOTFS_SIZE]
DEBUG util.py:593:                           [--live-rootfs-keep-size] [--title TITLE]
DEBUG util.py:593:                           [--project PROJECT] [--releasever RELEASEVER]
DEBUG util.py:593:                           [--volid VOLID] [--squashfs_args SQUASHFS_ARGS] [-V]
DEBUG util.py:593:  livemedia-creator: error: unrecognized arguments: --iso-only --iso-name pc-service-x86_64-7-1.iso

Do I miss anything?


Seems that it was added in lorax 24+ (https://github.com/weldr/lorax/commit/059e40a64b80d70617df6c50d7cbf6b4ace44d7c)... How do you guys build el7 images on el7 hosts?

We don't do that. @mikem Do you remember, what was the reason to abandon that compatibility?

Metadata Update from @tkopecek:
- Custom field Size adjusted to None

@ignatenkobrain You will need to use livecd-tools for EL7 systems with the spin-livecd task.

Metadata Update from @tkopecek:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/koji/koji/issues/2095

Please continue any further discussion there.

Metadata