Bug 1318952 - livemedia-creator --compress and --compression in manpage
Summary: livemedia-creator --compress and --compression in manpage
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: lorax
Version: 7.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Brian Lane
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-18 09:03 UTC by Jozef Mlich
Modified: 2016-11-03 23:45 UTC (History)
2 users (show)

Fixed In Version: lorax-19.6.68-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-03 23:45:17 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:2165 0 normal SHIPPED_LIVE lorax bug fix and enhancement update 2016-11-03 13:15:01 UTC

Description Jozef Mlich 2016-03-18 09:03:53 UTC
The man page contains incorrect information about compress switch:
man /usr/share/man/man1/livemedia-creator.1.gz
namely:

--compress
              Compression binary for make-tar. xz, lzma, gzip, and bzip2 are supported. xz is the default.


But livemedia-creator doesn't know option compress:

[root@ti3 ~]# livemedia-creator --compress gzip
usage: livemedia-creator [-h]
                         (--make-iso | --make-disk | --make-fsimage | --make-appliance | --make-ami | --make-tar | --make-pxe-live | --make-ostree-live)
                         [--iso ISO] [--fs-label FS_LABEL]
                         [--compression COMPRESSION]
                         [--compress-arg COMPRESS_ARGS] [--ks KS]
                         [--image-only] [--no-virt] [--proxy PROXY]
                         [--anaconda-arg ANACONDA_ARGS]
                         [--armplatform ARMPLATFORM] [--location LOCATION]
                         [--logfile LOGFILE]
                         [--lorax-templates LORAX_TEMPLATES] [--tmp TMP]
                         [--resultdir RESULT_DIR] [--macboot] [--nomacboot]
                         [--disk-image DISK_IMAGE] [--keep-image]
                         [--fs-image FS_IMAGE] [--image-name IMAGE_NAME]
                         [--qcow2] [--qcow2-arg QCOW2_ARGS]
                         [--app-name APP_NAME] [--app-template APP_TEMPLATE]
                         [--app-file APP_FILE] [--ram MEMORY] [--vcpus VCPUS]
                         [--vnc VNC] [--arch ARCH] [--kernel-args KERNEL_ARGS]
                         [--dracut-arg DRACUT_ARGS]
                         [--live-rootfs-size LIVE_ROOTFS_SIZE]
                         [--live-rootfs-keep-size] [--title TITLE]
                         [--project PROJECT] [--releasever RELEASEVER]
                         [--volid VOLID] [--squashfs_args SQUASHFS_ARGS]
livemedia-creator: error: ambiguous option: --compress could match --compression, --compress-arg

Comment 3 Michal Kovarik 2016-07-28 07:54:26 UTC
Verified on lorax-19.6.74-1.el7.
# man livemedia-creator | grep compress
           [--compression] [--compress-arg]
       --compression
       --compress-arg
              Arguments to pass to compression. Pass once for each argument

Comment 5 errata-xmlrpc 2016-11-03 23:45:17 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-2165.html


Note You need to log in before you can comment on or make changes to this bug.