Red Hat Bugzilla – Bug 1272361
Unclear location of directories for product.img and updates.img creation
Last modified: 2017-02-09 03:56:07 EST
Description of problem:
Lorax now supports creation of product.img and updates.img as part of the build
process. This is implemented using the installimg command which will take the
contents of a directory and create a compressed archive from it. The x86, ppc,
ppc64le and aarch64 templates all look for /usr/share/lorax/product/ and
/usr/share/lorax/updates/ directories while creating the final install tree. If
there are files in those directories lorax will create images/product.img
From this description it's not clear whether /usr/share/lorax/product/ and /usr/share/lorax/updates/ are directories on the file system where lorax is running from, or directories in lorax installroot (the second is correct, see bug 1244330 comment 11)
Please, make it more clear.
Version-Release number of selected component (if applicable):
Patch will be https://github.com/rhinstaller/lorax/pull/73 applied to the correct file on rhel7-branch
Verified on lorax-19.6.76-1.el7. Documentation is updated by patch from comment 2.
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.