2015-05-11 23:44:09 +00:00
<!DOCTYPE html>
<!-- [if IE 8]><html class="no - js lt - ie9" lang="en" > <![endif] -->
<!-- [if gt IE 8]><! --> < html class = "no-js" lang = "en" > <!-- <![endif] -->
< head >
< meta charset = "utf-8" >
2015-07-10 18:39:39 +00:00
2015-05-11 23:44:09 +00:00
< meta name = "viewport" content = "width=device-width, initial-scale=1.0" >
2018-06-07 16:03:55 +00:00
< title > Product and Updates Images — Lorax 29.7 documentation< / title >
2015-05-11 23:44:09 +00:00
2017-11-28 17:18:51 +00:00
2015-05-11 23:44:09 +00:00
< link rel = "stylesheet" href = "_static/css/theme.css" type = "text/css" / >
2018-05-12 00:18:21 +00:00
< link rel = "stylesheet" href = "_static/pygments.css" type = "text/css" / >
< link rel = "index" title = "Index" href = "genindex.html" / >
< link rel = "search" title = "Search" href = "search.html" / >
< link rel = "next" title = "src" href = "modules.html" / >
< link rel = "prev" title = "composer-cli" href = "composer-cli.html" / >
2015-05-11 23:44:09 +00:00
2015-07-10 18:39:39 +00:00
< script src = "_static/js/modernizr.min.js" > < / script >
2015-05-11 23:44:09 +00:00
< / head >
2018-05-12 00:18:21 +00:00
< body class = "wy-body-for-nav" >
2015-05-11 23:44:09 +00:00
2017-11-28 17:18:51 +00:00
2015-05-11 23:44:09 +00:00
< div class = "wy-grid-for-nav" >
< nav data-toggle = "wy-nav-shift" class = "wy-nav-side" >
2016-02-13 00:06:33 +00:00
< div class = "wy-side-scroll" >
< div class = "wy-side-nav-search" >
2015-07-10 18:39:39 +00:00
2016-02-13 00:06:33 +00:00
< a href = "index.html" class = "icon icon-home" > Lorax
2015-07-10 18:39:39 +00:00
2016-02-13 00:06:33 +00:00
< / a >
2015-07-10 18:39:39 +00:00
2016-02-13 00:06:33 +00:00
< div class = "version" >
2018-06-07 16:03:55 +00:00
29.7
2016-02-13 00:06:33 +00:00
< / div >
2015-05-11 23:44:09 +00:00
< div role = "search" >
< form id = "rtd-search-form" class = "wy-form" action = "search.html" method = "get" >
< input type = "text" name = "q" placeholder = "Search docs" / >
< input type = "hidden" name = "check_keywords" value = "yes" / >
< input type = "hidden" name = "area" value = "default" / >
< / form >
< / div >
2015-07-10 18:39:39 +00:00
2015-05-11 23:44:09 +00:00
2016-02-13 00:06:33 +00:00
< / div >
< div class = "wy-menu wy-menu-vertical" data-spy = "affix" role = "navigation" aria-label = "main navigation" >
2015-05-11 23:44:09 +00:00
2016-02-13 00:06:33 +00:00
2017-11-28 17:18:51 +00:00
< ul class = "current" >
2015-05-11 23:44:09 +00:00
< li class = "toctree-l1" > < a class = "reference internal" href = "intro.html" > Introduction to Lorax< / a > < / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "intro.html#before-lorax" > Before Lorax< / a > < / li >
2016-02-13 00:06:33 +00:00
< li class = "toctree-l1" > < a class = "reference internal" href = "lorax.html" > Lorax< / a > < / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "livemedia-creator.html" > livemedia-creator< / a > < / li >
2018-05-12 00:18:21 +00:00
< li class = "toctree-l1" > < a class = "reference internal" href = "lorax-composer.html" > lorax-composer< / a > < / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "composer-cli.html" > composer-cli< / a > < / li >
2016-11-29 17:27:44 +00:00
< li class = "toctree-l1 current" > < a class = "current reference internal" href = "#" > Product and Updates Images< / a > < / li >
2018-05-12 00:18:21 +00:00
< li class = "toctree-l1" > < a class = "reference internal" href = "modules.html" > src< / a > < / li >
2015-05-11 23:44:09 +00:00
< / ul >
2016-02-13 00:06:33 +00:00
2015-05-11 23:44:09 +00:00
2016-02-13 00:06:33 +00:00
< / div >
2015-05-11 23:44:09 +00:00
< / div >
< / nav >
< section data-toggle = "wy-nav-shift" class = "wy-nav-content-wrap" >
2018-05-12 00:18:21 +00:00
< nav class = "wy-nav-top" aria-label = "top navigation" >
2017-11-28 17:18:51 +00:00
< i data-toggle = "wy-nav-top" class = "fa fa-bars" > < / i >
< a href = "index.html" > Lorax< / a >
2015-05-11 23:44:09 +00:00
< / nav >
< div class = "wy-nav-content" >
2018-05-12 00:18:21 +00:00
2015-05-11 23:44:09 +00:00
< div class = "rst-content" >
2018-05-12 00:18:21 +00:00
2016-02-13 00:06:33 +00:00
2017-11-28 17:18:51 +00:00
2016-02-13 00:06:33 +00:00
< div role = "navigation" aria-label = "breadcrumbs navigation" >
2017-11-28 17:18:51 +00:00
2015-05-11 23:44:09 +00:00
< ul class = "wy-breadcrumbs" >
2017-11-28 17:18:51 +00:00
< li > < a href = "index.html" > Docs< / a > » < / li >
< li > Product and Updates Images< / li >
2015-05-11 23:44:09 +00:00
< li class = "wy-breadcrumbs-aside" >
2017-11-28 17:18:51 +00:00
< a href = "_sources/product-images.rst.txt" rel = "nofollow" > View page source< / a >
2015-07-10 18:39:39 +00:00
2015-05-11 23:44:09 +00:00
< / li >
2017-11-28 17:18:51 +00:00
2015-05-11 23:44:09 +00:00
< / ul >
2017-11-28 17:18:51 +00:00
2015-05-11 23:44:09 +00:00
< hr / >
< / div >
2016-02-13 00:06:33 +00:00
< div role = "main" class = "document" itemscope = "itemscope" itemtype = "http://schema.org/Article" >
< div itemprop = "articleBody" >
2015-05-11 23:44:09 +00:00
< div class = "section" id = "product-and-updates-images" >
< h1 > Product and Updates Images< a class = "headerlink" href = "#product-and-updates-images" title = "Permalink to this headline" > ¶< / a > < / h1 >
< p > Lorax now supports creation of product.img and updates.img as part of the build
2015-12-04 18:12:19 +00:00
process. This is implemented using the installimg template command which will
take the contents of a directory and create a compressed archive from it. The
directory must be created by one of the packages installed by
2018-05-12 00:18:21 +00:00
runtime-install.tmpl or by passing < code class = "docutils literal notranslate" > < span class = "pre" > --installpkgs< / span > < span class = "pre" > < pkgname> < / span > < / code > to lorax at
2015-12-04 18:12:19 +00:00
runtime. The x86, ppc, ppc64le and aarch64 templates all look for
/usr/share/lorax/product/ and /usr/share/lorax/updates/ directories in the
install chroot while creating the final install tree. If there are files in
those directories lorax will create images/product.img and/or
images/updates.img< / p >
2018-03-15 21:07:05 +00:00
< p > These archives are just like an anaconda updates image – their contents are
2015-05-11 23:44:09 +00:00
copied over the top of the filesystem at boot time so that you can drop in
files to add to or replace anything on the filesystem.< / p >
< p > Anaconda has several places that it looks for updates, the one for product.img
is in /run/install/product. So for example, to add an installclass to Anaconda
you would put your custom class here:< / p >
2018-05-12 00:18:21 +00:00
< p > < code class = "docutils literal notranslate" > < span class = "pre" > /usr/share/lorax/product/run/install/product/pyanaconda/installclasses/custom.py< / span > < / code > < / p >
2015-05-11 23:44:09 +00:00
< p > If the packages containing the product/updates files are not included as part
2018-05-12 00:18:21 +00:00
of normal dependencies you can add specific packages with the < code class = "docutils literal notranslate" > < span class = "pre" > --installpkgs< / span > < / code >
command or the installpkgs paramater of < a class = "reference internal" href = "pylorax.html#pylorax.treebuilder.RuntimeBuilder" title = "pylorax.treebuilder.RuntimeBuilder" > < code class = "xref py py-class docutils literal notranslate" > < span class = "pre" > pylorax.treebuilder.RuntimeBuilder< / span > < / code > < / a > < / p >
2015-05-11 23:44:09 +00:00
< / div >
2017-11-28 17:18:51 +00:00
< / div >
2018-05-12 00:18:21 +00:00
2015-05-11 23:44:09 +00:00
< / div >
< footer >
< div class = "rst-footer-buttons" role = "navigation" aria-label = "footer navigation" >
2018-05-12 00:18:21 +00:00
< a href = "modules.html" class = "btn btn-neutral float-right" title = "src" accesskey = "n" rel = "next" > Next < span class = "fa fa-arrow-circle-right" > < / span > < / a >
2015-05-11 23:44:09 +00:00
2018-05-12 00:18:21 +00:00
< a href = "composer-cli.html" class = "btn btn-neutral" title = "composer-cli" accesskey = "p" rel = "prev" > < span class = "fa fa-arrow-circle-left" > < / span > Previous< / a >
2015-05-11 23:44:09 +00:00
< / div >
< hr / >
< div role = "contentinfo" >
< p >
2018-03-15 21:07:05 +00:00
© Copyright 2018, Red Hat, Inc..
2016-02-13 00:06:33 +00:00
2015-05-11 23:44:09 +00:00
< / p >
< / div >
2018-05-12 00:18:21 +00:00
Built with < a href = "http://sphinx-doc.org/" > Sphinx< / a > using a < a href = "https://github.com/rtfd/sphinx_rtd_theme" > theme< / a > provided by < a href = "https://readthedocs.org" > Read the Docs< / a > .
2015-07-10 18:39:39 +00:00
2015-05-11 23:44:09 +00:00
< / footer >
2015-07-10 18:39:39 +00:00
2015-05-11 23:44:09 +00:00
< / div >
< / div >
< / section >
< / div >
< script type = "text/javascript" >
var DOCUMENTATION_OPTIONS = {
URL_ROOT:'./',
2018-06-07 16:03:55 +00:00
VERSION:'29.7',
2018-05-12 00:18:21 +00:00
LANGUAGE:'None',
2015-05-11 23:44:09 +00:00
COLLAPSE_INDEX:false,
FILE_SUFFIX:'.html',
2017-11-28 17:18:51 +00:00
HAS_SOURCE: true,
SOURCELINK_SUFFIX: '.txt'
2015-05-11 23:44:09 +00:00
};
< / script >
< script type = "text/javascript" src = "_static/jquery.js" > < / script >
< script type = "text/javascript" src = "_static/underscore.js" > < / script >
< script type = "text/javascript" src = "_static/doctools.js" > < / script >
< script type = "text/javascript" src = "_static/js/theme.js" > < / script >
< script type = "text/javascript" >
jQuery(function () {
2018-06-04 23:27:56 +00:00
SphinxRtdTheme.Navigation.enable(true);
2015-05-11 23:44:09 +00:00
});
2018-05-12 00:18:21 +00:00
< / script >
2015-05-11 23:44:09 +00:00
< / body >
< / html >