qubes-installer-qubes-os/anaconda/docs/html/pyanaconda.packaging.html
M. Vefa Bicakci 38f3e28d77
anaconda: Update to 23.19.10
Use the output of

  git diff --full-index --binary anaconda-22.20.13-1..anaconda-23.19.10-1

from anaconda's git repository and fix-up merge conflicts.
2016-04-10 00:00:00 -04:00

1360 lines
84 KiB
HTML
Executable File

<!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">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>pyanaconda.packaging package &mdash; Anaconda 23.15 documentation</title>
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
<link rel="top" title="Anaconda 23.15 documentation" href="index.html"/>
<link rel="up" title="pyanaconda package" href="pyanaconda.html"/>
<link rel="next" title="pyanaconda.ui package" href="pyanaconda.ui.html"/>
<link rel="prev" title="pyanaconda.isys package" href="pyanaconda.isys.html"/>
<script src="_static/js/modernizr.min.js"></script>
</head>
<body class="wy-body-for-nav" role="document">
<div class="wy-grid-for-nav">
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
<div class="wy-side-nav-search">
<a href="index.html" class="icon icon-home"> Anaconda
</a>
<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>
</div>
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="intro.html">Introduction to Anaconda</a></li>
<li class="toctree-l1"><a class="reference internal" href="boot-options.html">Anaconda Boot Options</a><ul>
<li class="toctree-l2"><a class="reference internal" href="boot-options.html#installation-source">Installation Source</a><ul>
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#inst-repo">inst.repo</a></li>
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#inst-stage2">inst.stage2</a></li>
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#inst-dd">inst.dd</a></li>
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#inst-multilib">inst.multilib</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="boot-options.html#kickstart">Kickstart</a><ul>
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#inst-ks">inst.ks</a></li>
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#inst-ks-sendmac">inst.ks.sendmac</a></li>
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#inst-ks-sendsn">inst.ks.sendsn</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="boot-options.html#network-options">Network Options</a><ul>
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#ip">ip</a></li>
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#nameserver">nameserver</a></li>
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#bootdev">bootdev</a></li>
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#ifname">ifname</a></li>
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#inst-dhcpclass">inst.dhcpclass</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="boot-options.html#console-display-options">Console / Display Options</a><ul>
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#console">console</a></li>
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#inst-lang">inst.lang</a></li>
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#inst-geoloc">inst.geoloc</a></li>
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#inst-keymap">inst.keymap</a></li>
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#inst-cmdline">inst.cmdline</a></li>
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#inst-graphical">inst.graphical</a></li>
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#inst-text">inst.text</a></li>
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#inst-resolution">inst.resolution</a></li>
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#inst-vnc">inst.vnc</a></li>
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#inst-vncpassword">inst.vncpassword</a></li>
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#inst-vncconnect">inst.vncconnect</a></li>
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#inst-headless">inst.headless</a></li>
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#inst-xdriver">inst.xdriver</a></li>
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#inst-usefbx">inst.usefbx</a></li>
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#inst-sshd">inst.sshd</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="boot-options.html#debugging-and-troubleshooting">Debugging and Troubleshooting</a><ul>
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#inst-rescue">inst.rescue</a></li>
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#inst-updates">inst.updates</a></li>
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#inst-loglevel">inst.loglevel</a></li>
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#inst-syslog">inst.syslog</a></li>
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#inst-virtiolog">inst.virtiolog</a></li>
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#inst-zram">inst.zram</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="boot-options.html#deprecated-options">Deprecated Options</a><ul>
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#method">method</a></li>
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#repo-nfsiso">repo=nfsiso:...</a></li>
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#dns">dns</a></li>
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#netmask-gateway-hostname">netmask, gateway, hostname</a></li>
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#ip-bootif">ip=bootif</a></li>
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#ksdevice">ksdevice</a></li>
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#blacklist-nofirewire">blacklist, nofirewire</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="boot-options.html#removed-options">Removed Options</a><ul>
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#askmethod-asknetwork">askmethod, asknetwork</a></li>
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#id5">serial</a></li>
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#updates">updates</a></li>
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#essid-wepkey-wpakey">essid, wepkey, wpakey</a></li>
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#ethtool">ethtool</a></li>
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#gdb">gdb</a></li>
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#inst-mediacheck">inst.mediacheck</a></li>
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#ks-floppy">ks=floppy</a></li>
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#display">display</a></li>
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#utf8">utf8</a></li>
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#noipv6">noipv6</a></li>
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#upgradeany">upgradeany</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="kickstart.html">Anaconda Kickstart Documentation</a><ul>
<li class="toctree-l2"><a class="reference internal" href="kickstart.html#pwpolicy">pwpolicy</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="commit-log.html">Rules for commit messages</a></li>
<li class="toctree-l1"><a class="reference internal" href="driverdisc.html">Brief description of DriverDisc version 3</a><ul>
<li class="toctree-l2"><a class="reference internal" href="driverdisc.html#devices-which-can-contain-dds">Devices which can contain DDs</a></li>
<li class="toctree-l2"><a class="reference internal" href="driverdisc.html#what-can-be-updated-using-dds">What can be updated using DDs?</a></li>
<li class="toctree-l2"><a class="reference internal" href="driverdisc.html#selecting-dd-manually">Selecting DD manually</a></li>
<li class="toctree-l2"><a class="reference internal" href="driverdisc.html#automatic-driverdisc-detection">Automatic DriverDisc detection</a></li>
<li class="toctree-l2"><a class="reference internal" href="driverdisc.html#ddv3-structure">DDv3 structure</a></li>
<li class="toctree-l2"><a class="reference internal" href="driverdisc.html#initrd-overlay-driverdisc-image">Initrd overlay driverdisc image</a></li>
<li class="toctree-l2"><a class="reference internal" href="driverdisc.html#firmware-and-module-update">Firmware and module update</a></li>
<li class="toctree-l2"><a class="reference internal" href="driverdisc.html#package-installation">Package installation</a></li>
<li class="toctree-l2"><a class="reference internal" href="driverdisc.html#summary">Summary</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="iscsi.html">iSCSI and Anaconda</a><ul>
<li class="toctree-l2"><a class="reference internal" href="iscsi.html#introduction">Introduction</a></li>
<li class="toctree-l2"><a class="reference internal" href="iscsi.html#what-is-expected-from-anaconda">What is expected from Anaconda</a></li>
<li class="toctree-l2"><a class="reference internal" href="iscsi.html#how-anaconda-handles-iscsi">How Anaconda handles iscsi</a></li>
<li class="toctree-l2"><a class="reference internal" href="iscsi.html#libiscsi">Libiscsi</a></li>
<li class="toctree-l2"><a class="reference internal" href="iscsi.html#debugging-iscsi-bugs">Debugging iSCSI bugs</a></li>
<li class="toctree-l2"><a class="reference internal" href="iscsi.html#future-of-iscsi-in-anaconda">Future of iSCSI in Anaconda</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="multipath.html">Multipath and Anaconda</a><ul>
<li class="toctree-l2"><a class="reference internal" href="multipath.html#introduction">Introduction</a></li>
<li class="toctree-l2"><a class="reference internal" href="multipath.html#what-is-expected-from-anaconda">What is expected from Anaconda</a></li>
<li class="toctree-l2"><a class="reference internal" href="multipath.html#how-anaconda-handles-multipath">How Anaconda handles multipath</a></li>
<li class="toctree-l2"><a class="reference internal" href="multipath.html#debugging-multipath-bugs">Debugging multipath bugs</a></li>
<li class="toctree-l2"><a class="reference internal" href="multipath.html#future-of-multipath-in-anaconda">Future of multipath in Anaconda</a></li>
</ul>
</li>
<li class="toctree-l1 current"><a class="reference internal" href="modules.html">pyanaconda</a><ul class="current">
<li class="toctree-l2 current"><a class="reference internal" href="pyanaconda.html">pyanaconda package</a><ul class="current">
<li class="toctree-l3 current"><a class="reference internal" href="pyanaconda.html#subpackages">Subpackages</a><ul class="current">
<li class="toctree-l4"><a class="reference internal" href="pyanaconda.installclasses.html">pyanaconda.installclasses package</a></li>
<li class="toctree-l4"><a class="reference internal" href="pyanaconda.isys.html">pyanaconda.isys package</a></li>
<li class="toctree-l4 current"><a class="current reference internal" href="">pyanaconda.packaging package</a></li>
<li class="toctree-l4"><a class="reference internal" href="pyanaconda.ui.html">pyanaconda.ui package</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#submodules">Submodules</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.addons">pyanaconda.addons module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.anaconda">pyanaconda.anaconda module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.anaconda_argparse">pyanaconda.anaconda_argparse module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.anaconda_log">pyanaconda.anaconda_log module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.bootloader">pyanaconda.bootloader module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.constants">pyanaconda.constants module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.constants_text">pyanaconda.constants_text module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.desktop">pyanaconda.desktop module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.errors">pyanaconda.errors module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.exception">pyanaconda.exception module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.flags">pyanaconda.flags module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.geoloc">pyanaconda.geoloc module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.i18n">pyanaconda.i18n module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.ihelp">pyanaconda.ihelp module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.image">pyanaconda.image module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.install">pyanaconda.install module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.installclass">pyanaconda.installclass module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.installinterfacebase">pyanaconda.installinterfacebase module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.iutil">pyanaconda.iutil module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.kexec">pyanaconda.kexec module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.keyboard">pyanaconda.keyboard module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.kickstart">pyanaconda.kickstart module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.localization">pyanaconda.localization module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.network">pyanaconda.network module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.nm">pyanaconda.nm module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.ntp">pyanaconda.ntp module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.orderedset">pyanaconda.orderedset module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.product">pyanaconda.product module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.progress">pyanaconda.progress module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.pwpolicy">pyanaconda.pwpolicy module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.queuefactory">pyanaconda.queuefactory module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.regexes">pyanaconda.regexes module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.rescue">pyanaconda.rescue module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.safe_dbus">pyanaconda.safe_dbus module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.screensaver">pyanaconda.screensaver module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.simpleconfig">pyanaconda.simpleconfig module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.startup_utils">pyanaconda.startup_utils module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.storage_utils">pyanaconda.storage_utils module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.text">pyanaconda.text module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.threads">pyanaconda.threads module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.timezone">pyanaconda.timezone module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.users">pyanaconda.users module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.version">pyanaconda.version module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.vnc">pyanaconda.vnc module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda">Module contents</a></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
&nbsp;
</nav>
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
<nav class="wy-nav-top" role="navigation" aria-label="top navigation">
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="index.html">Anaconda</a>
</nav>
<div class="wy-nav-content">
<div class="rst-content">
<div role="navigation" aria-label="breadcrumbs navigation">
<ul class="wy-breadcrumbs">
<li><a href="index.html">Docs</a> &raquo;</li>
<li><a href="modules.html">pyanaconda</a> &raquo;</li>
<li><a href="pyanaconda.html">pyanaconda package</a> &raquo;</li>
<li>pyanaconda.packaging package</li>
<li class="wy-breadcrumbs-aside">
<a href="_sources/pyanaconda.packaging.txt" rel="nofollow"> View page source</a>
</li>
</ul>
<hr/>
</div>
<div role="main" class="document">
<div class="section" id="pyanaconda-packaging-package">
<h1>pyanaconda.packaging package<a class="headerlink" href="#pyanaconda-packaging-package" title="Permalink to this headline"></a></h1>
<div class="section" id="submodules">
<h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this headline"></a></h2>
</div>
<div class="section" id="module-pyanaconda.packaging.dnfpayload">
<span id="pyanaconda-packaging-dnfpayload-module"></span><h2>pyanaconda.packaging.dnfpayload module<a class="headerlink" href="#module-pyanaconda.packaging.dnfpayload" title="Permalink to this headline"></a></h2>
<dl class="class">
<dt id="pyanaconda.packaging.dnfpayload.DNFPayload">
<em class="property">class </em><tt class="descclassname">pyanaconda.packaging.dnfpayload.</tt><tt class="descname">DNFPayload</tt><big>(</big><em>data</em><big>)</big><a class="headerlink" href="#pyanaconda.packaging.dnfpayload.DNFPayload" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="#pyanaconda.packaging.PackagePayload" title="pyanaconda.packaging.PackagePayload"><tt class="xref py py-class docutils literal"><span class="pre">pyanaconda.packaging.PackagePayload</span></tt></a></p>
<dl class="method">
<dt id="pyanaconda.packaging.dnfpayload.DNFPayload.addRepo">
<tt class="descname">addRepo</tt><big>(</big><em>ksrepo</em><big>)</big><a class="headerlink" href="#pyanaconda.packaging.dnfpayload.DNFPayload.addRepo" title="Permalink to this definition"></a></dt>
<dd><p>Add a repo to dnf and kickstart repo lists</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>ksrepo</strong> (<em>Kickstart RepoData object.</em>) &#8211; Kickstart Repository to add</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">None</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="attribute">
<dt id="pyanaconda.packaging.dnfpayload.DNFPayload.baseRepo">
<tt class="descname">baseRepo</tt><a class="headerlink" href="#pyanaconda.packaging.dnfpayload.DNFPayload.baseRepo" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.dnfpayload.DNFPayload.checkSoftwareSelection">
<tt class="descname">checkSoftwareSelection</tt><big>(</big><big>)</big><a class="headerlink" href="#pyanaconda.packaging.dnfpayload.DNFPayload.checkSoftwareSelection" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.dnfpayload.DNFPayload.disableRepo">
<tt class="descname">disableRepo</tt><big>(</big><em>repo_id</em><big>)</big><a class="headerlink" href="#pyanaconda.packaging.dnfpayload.DNFPayload.disableRepo" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.dnfpayload.DNFPayload.enableRepo">
<tt class="descname">enableRepo</tt><big>(</big><em>repo_id</em><big>)</big><a class="headerlink" href="#pyanaconda.packaging.dnfpayload.DNFPayload.enableRepo" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.dnfpayload.DNFPayload.environmentDescription">
<tt class="descname">environmentDescription</tt><big>(</big><em>environmentid</em><big>)</big><a class="headerlink" href="#pyanaconda.packaging.dnfpayload.DNFPayload.environmentDescription" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.dnfpayload.DNFPayload.environmentGroups">
<tt class="descname">environmentGroups</tt><big>(</big><em>environmentid</em>, <em>optional=True</em><big>)</big><a class="headerlink" href="#pyanaconda.packaging.dnfpayload.DNFPayload.environmentGroups" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.dnfpayload.DNFPayload.environmentHasOption">
<tt class="descname">environmentHasOption</tt><big>(</big><em>environmentid</em>, <em>grpid</em><big>)</big><a class="headerlink" href="#pyanaconda.packaging.dnfpayload.DNFPayload.environmentHasOption" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.dnfpayload.DNFPayload.environmentOptionIsDefault">
<tt class="descname">environmentOptionIsDefault</tt><big>(</big><em>environmentid</em>, <em>grpid</em><big>)</big><a class="headerlink" href="#pyanaconda.packaging.dnfpayload.DNFPayload.environmentOptionIsDefault" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="pyanaconda.packaging.dnfpayload.DNFPayload.environments">
<tt class="descname">environments</tt><a class="headerlink" href="#pyanaconda.packaging.dnfpayload.DNFPayload.environments" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.dnfpayload.DNFPayload.gatherRepoMetadata">
<tt class="descname">gatherRepoMetadata</tt><big>(</big><big>)</big><a class="headerlink" href="#pyanaconda.packaging.dnfpayload.DNFPayload.gatherRepoMetadata" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.dnfpayload.DNFPayload.getRepo">
<tt class="descname">getRepo</tt><big>(</big><em>repo_id</em><big>)</big><a class="headerlink" href="#pyanaconda.packaging.dnfpayload.DNFPayload.getRepo" title="Permalink to this definition"></a></dt>
<dd><p>Return the yum repo object.</p>
</dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.dnfpayload.DNFPayload.groupDescription">
<tt class="descname">groupDescription</tt><big>(</big><em>grpid</em><big>)</big><a class="headerlink" href="#pyanaconda.packaging.dnfpayload.DNFPayload.groupDescription" title="Permalink to this definition"></a></dt>
<dd><p>Return name/description tuple for the group specified by id.</p>
</dd></dl>
<dl class="attribute">
<dt id="pyanaconda.packaging.dnfpayload.DNFPayload.groups">
<tt class="descname">groups</tt><a class="headerlink" href="#pyanaconda.packaging.dnfpayload.DNFPayload.groups" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.dnfpayload.DNFPayload.install">
<tt class="descname">install</tt><big>(</big><big>)</big><a class="headerlink" href="#pyanaconda.packaging.dnfpayload.DNFPayload.install" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.dnfpayload.DNFPayload.isRepoEnabled">
<tt class="descname">isRepoEnabled</tt><big>(</big><em>repo_id</em><big>)</big><a class="headerlink" href="#pyanaconda.packaging.dnfpayload.DNFPayload.isRepoEnabled" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.dnfpayload.DNFPayload.languageGroups">
<tt class="descname">languageGroups</tt><big>(</big><big>)</big><a class="headerlink" href="#pyanaconda.packaging.dnfpayload.DNFPayload.languageGroups" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="pyanaconda.packaging.dnfpayload.DNFPayload.mirrorEnabled">
<tt class="descname">mirrorEnabled</tt><a class="headerlink" href="#pyanaconda.packaging.dnfpayload.DNFPayload.mirrorEnabled" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.dnfpayload.DNFPayload.postInstall">
<tt class="descname">postInstall</tt><big>(</big><big>)</big><a class="headerlink" href="#pyanaconda.packaging.dnfpayload.DNFPayload.postInstall" title="Permalink to this definition"></a></dt>
<dd><p>Perform post-installation tasks.</p>
</dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.dnfpayload.DNFPayload.preInstall">
<tt class="descname">preInstall</tt><big>(</big><em>packages=None</em>, <em>groups=None</em><big>)</big><a class="headerlink" href="#pyanaconda.packaging.dnfpayload.DNFPayload.preInstall" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="pyanaconda.packaging.dnfpayload.DNFPayload.repos">
<tt class="descname">repos</tt><a class="headerlink" href="#pyanaconda.packaging.dnfpayload.DNFPayload.repos" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.dnfpayload.DNFPayload.reset">
<tt class="descname">reset</tt><big>(</big><big>)</big><a class="headerlink" href="#pyanaconda.packaging.dnfpayload.DNFPayload.reset" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="pyanaconda.packaging.dnfpayload.DNFPayload.spaceRequired">
<tt class="descname">spaceRequired</tt><a class="headerlink" href="#pyanaconda.packaging.dnfpayload.DNFPayload.spaceRequired" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.dnfpayload.DNFPayload.unsetup">
<tt class="descname">unsetup</tt><big>(</big><big>)</big><a class="headerlink" href="#pyanaconda.packaging.dnfpayload.DNFPayload.unsetup" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.dnfpayload.DNFPayload.updateBaseRepo">
<tt class="descname">updateBaseRepo</tt><big>(</big><em>fallback=True</em>, <em>checkmount=True</em><big>)</big><a class="headerlink" href="#pyanaconda.packaging.dnfpayload.DNFPayload.updateBaseRepo" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="class">
<dt id="pyanaconda.packaging.dnfpayload.DownloadProgress">
<em class="property">class </em><tt class="descclassname">pyanaconda.packaging.dnfpayload.</tt><tt class="descname">DownloadProgress</tt><a class="headerlink" href="#pyanaconda.packaging.dnfpayload.DownloadProgress" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">dnf.callback.DownloadProgress</span></tt></p>
<dl class="method">
<dt id="pyanaconda.packaging.dnfpayload.DownloadProgress.end">
<tt class="descname">end</tt><big>(</big><em>payload</em>, <em>status</em>, <em>err_msg</em><big>)</big><a class="headerlink" href="#pyanaconda.packaging.dnfpayload.DownloadProgress.end" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.dnfpayload.DownloadProgress.progress">
<tt class="descname">progress</tt><big>(</big><em>payload</em>, <em>done</em><big>)</big><a class="headerlink" href="#pyanaconda.packaging.dnfpayload.DownloadProgress.progress" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.dnfpayload.DownloadProgress.start">
<tt class="descname">start</tt><big>(</big><em>total_files</em>, <em>total_size</em><big>)</big><a class="headerlink" href="#pyanaconda.packaging.dnfpayload.DownloadProgress.start" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="class">
<dt id="pyanaconda.packaging.dnfpayload.PayloadRPMDisplay">
<em class="property">class </em><tt class="descclassname">pyanaconda.packaging.dnfpayload.</tt><tt class="descname">PayloadRPMDisplay</tt><big>(</big><em>queue_instance</em><big>)</big><a class="headerlink" href="#pyanaconda.packaging.dnfpayload.PayloadRPMDisplay" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">dnf.yum.rpmtrans.LoggingTransactionDisplay</span></tt></p>
<dl class="method">
<dt id="pyanaconda.packaging.dnfpayload.PayloadRPMDisplay.event">
<tt class="descname">event</tt><big>(</big><em>package</em>, <em>action</em>, <em>te_current</em>, <em>te_total</em>, <em>ts_current</em>, <em>ts_total</em><big>)</big><a class="headerlink" href="#pyanaconda.packaging.dnfpayload.PayloadRPMDisplay.event" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="function">
<dt id="pyanaconda.packaging.dnfpayload.do_transaction">
<tt class="descclassname">pyanaconda.packaging.dnfpayload.</tt><tt class="descname">do_transaction</tt><big>(</big><em>base</em>, <em>queue_instance</em><big>)</big><a class="headerlink" href="#pyanaconda.packaging.dnfpayload.do_transaction" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
</div>
<div class="section" id="module-pyanaconda.packaging.livepayload">
<span id="pyanaconda-packaging-livepayload-module"></span><h2>pyanaconda.packaging.livepayload module<a class="headerlink" href="#module-pyanaconda.packaging.livepayload" title="Permalink to this headline"></a></h2>
<dl class="docutils">
<dt>TODO</dt>
<dd><ul class="first last">
<li><p class="first">error handling!!!</p>
</li>
<li><p class="first">document all methods</p>
</li>
<li><dl class="first docutils">
<dt>LiveImagePayload</dt>
<dd><ul class="first last simple">
<li>register the live image, either via self.data.method or in setup
using storage</li>
</ul>
</dd>
</dl>
</li>
</ul>
</dd>
</dl>
<dl class="class">
<dt id="pyanaconda.packaging.livepayload.DownloadProgress">
<em class="property">class </em><tt class="descclassname">pyanaconda.packaging.livepayload.</tt><tt class="descname">DownloadProgress</tt><a class="headerlink" href="#pyanaconda.packaging.livepayload.DownloadProgress" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">builtins.object</span></tt></p>
<p>Provide methods for download progress reporting.</p>
<dl class="method">
<dt id="pyanaconda.packaging.livepayload.DownloadProgress.end">
<tt class="descname">end</tt><big>(</big><em>bytes_read</em><big>)</big><a class="headerlink" href="#pyanaconda.packaging.livepayload.DownloadProgress.end" title="Permalink to this definition"></a></dt>
<dd><p>Download complete</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>bytes_read</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.4)"><em>int</em></a>) &#8211; Bytes read so far</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.livepayload.DownloadProgress.start">
<tt class="descname">start</tt><big>(</big><em>url</em>, <em>size</em><big>)</big><a class="headerlink" href="#pyanaconda.packaging.livepayload.DownloadProgress.start" title="Permalink to this definition"></a></dt>
<dd><p>Start of download</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>url</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.4)"><em>str</em></a>) &#8211; url of the download</li>
<li><strong>size</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.4)"><em>int</em></a>) &#8211; length of the file</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.livepayload.DownloadProgress.update">
<tt class="descname">update</tt><big>(</big><em>bytes_read</em><big>)</big><a class="headerlink" href="#pyanaconda.packaging.livepayload.DownloadProgress.update" title="Permalink to this definition"></a></dt>
<dd><p>Download update</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>bytes_read</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.4)"><em>int</em></a>) &#8211; Bytes read so far</td>
</tr>
</tbody>
</table>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="pyanaconda.packaging.livepayload.LiveImageKSPayload">
<em class="property">class </em><tt class="descclassname">pyanaconda.packaging.livepayload.</tt><tt class="descname">LiveImageKSPayload</tt><big>(</big><em>*args</em>, <em>**kwargs</em><big>)</big><a class="headerlink" href="#pyanaconda.packaging.livepayload.LiveImageKSPayload" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="#pyanaconda.packaging.livepayload.LiveImagePayload" title="pyanaconda.packaging.livepayload.LiveImagePayload"><tt class="xref py py-class docutils literal"><span class="pre">pyanaconda.packaging.livepayload.LiveImagePayload</span></tt></a></p>
<p>Install using a live filesystem image from the network</p>
<dl class="method">
<dt id="pyanaconda.packaging.livepayload.LiveImageKSPayload.install">
<tt class="descname">install</tt><big>(</big><big>)</big><a class="headerlink" href="#pyanaconda.packaging.livepayload.LiveImageKSPayload.install" title="Permalink to this definition"></a></dt>
<dd><p>Install the payload if it is a tar.
Otherwise fall back to rsync of INSTALL_TREE</p>
</dd></dl>
<dl class="attribute">
<dt id="pyanaconda.packaging.livepayload.LiveImageKSPayload.is_tarfile">
<tt class="descname">is_tarfile</tt><a class="headerlink" href="#pyanaconda.packaging.livepayload.LiveImageKSPayload.is_tarfile" title="Permalink to this definition"></a></dt>
<dd><p>Return True if the url ends with a tar suffix</p>
</dd></dl>
<dl class="attribute">
<dt id="pyanaconda.packaging.livepayload.LiveImageKSPayload.kernelVersionList">
<tt class="descname">kernelVersionList</tt><a class="headerlink" href="#pyanaconda.packaging.livepayload.LiveImageKSPayload.kernelVersionList" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.livepayload.LiveImageKSPayload.postInstall">
<tt class="descname">postInstall</tt><big>(</big><big>)</big><a class="headerlink" href="#pyanaconda.packaging.livepayload.LiveImageKSPayload.postInstall" title="Permalink to this definition"></a></dt>
<dd><p>Unmount and remove image</p>
<p>If <a class="reference external" href="file://">file://</a> was used, just unmount it.</p>
</dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.livepayload.LiveImageKSPayload.preInstall">
<tt class="descname">preInstall</tt><big>(</big><em>*args</em>, <em>**kwargs</em><big>)</big><a class="headerlink" href="#pyanaconda.packaging.livepayload.LiveImageKSPayload.preInstall" title="Permalink to this definition"></a></dt>
<dd><p>Get image and loopback mount it.</p>
<p>This is called after partitioning is setup, we now have space to
grab the image. If it is a network source Download it to sysroot
and provide feedback during the download (using urlgrabber
callback).</p>
<p>If it is a <a class="reference external" href="file://">file://</a> source then use the file directly.</p>
</dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.livepayload.LiveImageKSPayload.setup">
<tt class="descname">setup</tt><big>(</big><em>storage</em>, <em>instClass</em><big>)</big><a class="headerlink" href="#pyanaconda.packaging.livepayload.LiveImageKSPayload.setup" title="Permalink to this definition"></a></dt>
<dd><p>Check the availability and size of the image.</p>
</dd></dl>
<dl class="attribute">
<dt id="pyanaconda.packaging.livepayload.LiveImageKSPayload.spaceRequired">
<tt class="descname">spaceRequired</tt><a class="headerlink" href="#pyanaconda.packaging.livepayload.LiveImageKSPayload.spaceRequired" title="Permalink to this definition"></a></dt>
<dd><p>We don&#8217;t know the filesystem size until it is downloaded.</p>
<p>Default to 1G which should be enough for a minimal image download
and install.</p>
</dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.livepayload.LiveImageKSPayload.unsetup">
<tt class="descname">unsetup</tt><big>(</big><big>)</big><a class="headerlink" href="#pyanaconda.packaging.livepayload.LiveImageKSPayload.unsetup" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.livepayload.LiveImageKSPayload.writeStorageEarly">
<tt class="descname">writeStorageEarly</tt><big>(</big><big>)</big><a class="headerlink" href="#pyanaconda.packaging.livepayload.LiveImageKSPayload.writeStorageEarly" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="class">
<dt id="pyanaconda.packaging.livepayload.LiveImagePayload">
<em class="property">class </em><tt class="descclassname">pyanaconda.packaging.livepayload.</tt><tt class="descname">LiveImagePayload</tt><big>(</big><em>*args</em>, <em>**kwargs</em><big>)</big><a class="headerlink" href="#pyanaconda.packaging.livepayload.LiveImagePayload" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="#pyanaconda.packaging.ImagePayload" title="pyanaconda.packaging.ImagePayload"><tt class="xref py py-class docutils literal"><span class="pre">pyanaconda.packaging.ImagePayload</span></tt></a></p>
<p>A LivePayload copies the source image onto the target system.</p>
<dl class="method">
<dt id="pyanaconda.packaging.livepayload.LiveImagePayload.install">
<tt class="descname">install</tt><big>(</big><big>)</big><a class="headerlink" href="#pyanaconda.packaging.livepayload.LiveImagePayload.install" title="Permalink to this definition"></a></dt>
<dd><p>Install the payload.</p>
</dd></dl>
<dl class="attribute">
<dt id="pyanaconda.packaging.livepayload.LiveImagePayload.kernelVersionList">
<tt class="descname">kernelVersionList</tt><a class="headerlink" href="#pyanaconda.packaging.livepayload.LiveImagePayload.kernelVersionList" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.livepayload.LiveImagePayload.postInstall">
<tt class="descname">postInstall</tt><big>(</big><big>)</big><a class="headerlink" href="#pyanaconda.packaging.livepayload.LiveImagePayload.postInstall" title="Permalink to this definition"></a></dt>
<dd><p>Perform post-installation tasks.</p>
</dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.livepayload.LiveImagePayload.preInstall">
<tt class="descname">preInstall</tt><big>(</big><em>packages=None</em>, <em>groups=None</em><big>)</big><a class="headerlink" href="#pyanaconda.packaging.livepayload.LiveImagePayload.preInstall" title="Permalink to this definition"></a></dt>
<dd><p>Perform pre-installation tasks.</p>
</dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.livepayload.LiveImagePayload.progress">
<tt class="descname">progress</tt><big>(</big><big>)</big><a class="headerlink" href="#pyanaconda.packaging.livepayload.LiveImagePayload.progress" title="Permalink to this definition"></a></dt>
<dd><p>Monitor the amount of disk space used on the target and source and
update the hub&#8217;s progress bar.</p>
</dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.livepayload.LiveImagePayload.setup">
<tt class="descname">setup</tt><big>(</big><em>storage</em>, <em>instClass</em><big>)</big><a class="headerlink" href="#pyanaconda.packaging.livepayload.LiveImagePayload.setup" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="pyanaconda.packaging.livepayload.LiveImagePayload.spaceRequired">
<tt class="descname">spaceRequired</tt><a class="headerlink" href="#pyanaconda.packaging.livepayload.LiveImagePayload.spaceRequired" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.livepayload.LiveImagePayload.unsetup">
<tt class="descname">unsetup</tt><big>(</big><big>)</big><a class="headerlink" href="#pyanaconda.packaging.livepayload.LiveImagePayload.unsetup" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
</dd></dl>
</div>
<div class="section" id="module-pyanaconda.packaging.rpmostreepayload">
<span id="pyanaconda-packaging-rpmostreepayload-module"></span><h2>pyanaconda.packaging.rpmostreepayload module<a class="headerlink" href="#module-pyanaconda.packaging.rpmostreepayload" title="Permalink to this headline"></a></h2>
<dl class="class">
<dt id="pyanaconda.packaging.rpmostreepayload.RPMOSTreePayload">
<em class="property">class </em><tt class="descclassname">pyanaconda.packaging.rpmostreepayload.</tt><tt class="descname">RPMOSTreePayload</tt><big>(</big><em>data</em><big>)</big><a class="headerlink" href="#pyanaconda.packaging.rpmostreepayload.RPMOSTreePayload" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="#pyanaconda.packaging.ArchivePayload" title="pyanaconda.packaging.ArchivePayload"><tt class="xref py py-class docutils literal"><span class="pre">pyanaconda.packaging.ArchivePayload</span></tt></a></p>
<p>A RPMOSTreePayload deploys a tree (possibly with layered packages) onto the target system.</p>
<dl class="attribute">
<dt id="pyanaconda.packaging.rpmostreepayload.RPMOSTreePayload.handlesBootloaderConfiguration">
<tt class="descname">handlesBootloaderConfiguration</tt><a class="headerlink" href="#pyanaconda.packaging.rpmostreepayload.RPMOSTreePayload.handlesBootloaderConfiguration" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.rpmostreepayload.RPMOSTreePayload.install">
<tt class="descname">install</tt><big>(</big><big>)</big><a class="headerlink" href="#pyanaconda.packaging.rpmostreepayload.RPMOSTreePayload.install" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="pyanaconda.packaging.rpmostreepayload.RPMOSTreePayload.kernelVersionList">
<tt class="descname">kernelVersionList</tt><a class="headerlink" href="#pyanaconda.packaging.rpmostreepayload.RPMOSTreePayload.kernelVersionList" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.rpmostreepayload.RPMOSTreePayload.postInstall">
<tt class="descname">postInstall</tt><big>(</big><big>)</big><a class="headerlink" href="#pyanaconda.packaging.rpmostreepayload.RPMOSTreePayload.postInstall" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.rpmostreepayload.RPMOSTreePayload.prepareMountTargets">
<tt class="descname">prepareMountTargets</tt><big>(</big><em>storage</em><big>)</big><a class="headerlink" href="#pyanaconda.packaging.rpmostreepayload.RPMOSTreePayload.prepareMountTargets" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.rpmostreepayload.RPMOSTreePayload.recreateInitrds">
<tt class="descname">recreateInitrds</tt><big>(</big><big>)</big><a class="headerlink" href="#pyanaconda.packaging.rpmostreepayload.RPMOSTreePayload.recreateInitrds" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="pyanaconda.packaging.rpmostreepayload.RPMOSTreePayload.spaceRequired">
<tt class="descname">spaceRequired</tt><a class="headerlink" href="#pyanaconda.packaging.rpmostreepayload.RPMOSTreePayload.spaceRequired" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.rpmostreepayload.RPMOSTreePayload.writeStorageEarly">
<tt class="descname">writeStorageEarly</tt><big>(</big><big>)</big><a class="headerlink" href="#pyanaconda.packaging.rpmostreepayload.RPMOSTreePayload.writeStorageEarly" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
</dd></dl>
</div>
<div class="section" id="module-pyanaconda.packaging.tarpayload">
<span id="pyanaconda-packaging-tarpayload-module"></span><h2>pyanaconda.packaging.tarpayload module<a class="headerlink" href="#module-pyanaconda.packaging.tarpayload" title="Permalink to this headline"></a></h2>
<dl class="docutils">
<dt>TODO</dt>
<dd><ul class="first last simple">
<li>error handling!!!</li>
<li>document all methods</li>
</ul>
</dd>
</dl>
<dl class="class">
<dt id="pyanaconda.packaging.tarpayload.TarPayload">
<em class="property">class </em><tt class="descclassname">pyanaconda.packaging.tarpayload.</tt><tt class="descname">TarPayload</tt><big>(</big><em>data</em><big>)</big><a class="headerlink" href="#pyanaconda.packaging.tarpayload.TarPayload" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="#pyanaconda.packaging.ArchivePayload" title="pyanaconda.packaging.ArchivePayload"><tt class="xref py py-class docutils literal"><span class="pre">pyanaconda.packaging.ArchivePayload</span></tt></a></p>
<p>A TarPayload unpacks a single tar archive onto the target system.</p>
<dl class="method">
<dt id="pyanaconda.packaging.tarpayload.TarPayload.install">
<tt class="descname">install</tt><big>(</big><big>)</big><a class="headerlink" href="#pyanaconda.packaging.tarpayload.TarPayload.install" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="pyanaconda.packaging.tarpayload.TarPayload.kernelVersionList">
<tt class="descname">kernelVersionList</tt><a class="headerlink" href="#pyanaconda.packaging.tarpayload.TarPayload.kernelVersionList" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="pyanaconda.packaging.tarpayload.TarPayload.requiredSpace">
<tt class="descname">requiredSpace</tt><a class="headerlink" href="#pyanaconda.packaging.tarpayload.TarPayload.requiredSpace" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.tarpayload.TarPayload.setup">
<tt class="descname">setup</tt><big>(</big><em>storage</em>, <em>instClass</em><big>)</big><a class="headerlink" href="#pyanaconda.packaging.tarpayload.TarPayload.setup" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.tarpayload.TarPayload.unsetup">
<tt class="descname">unsetup</tt><big>(</big><big>)</big><a class="headerlink" href="#pyanaconda.packaging.tarpayload.TarPayload.unsetup" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
</dd></dl>
</div>
<div class="section" id="module-pyanaconda.packaging">
<span id="module-contents"></span><h2>Module contents<a class="headerlink" href="#module-pyanaconda.packaging" title="Permalink to this headline"></a></h2>
<dl class="docutils">
<dt>TODO</dt>
<dd><ul class="first last simple">
<li>error handling!!!</li>
<li>document all methods</li>
</ul>
</dd>
</dl>
<dl class="class">
<dt id="pyanaconda.packaging.ArchivePayload">
<em class="property">class </em><tt class="descclassname">pyanaconda.packaging.</tt><tt class="descname">ArchivePayload</tt><big>(</big><em>data</em><big>)</big><a class="headerlink" href="#pyanaconda.packaging.ArchivePayload" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="#pyanaconda.packaging.ImagePayload" title="pyanaconda.packaging.ImagePayload"><tt class="xref py py-class docutils literal"><span class="pre">pyanaconda.packaging.ImagePayload</span></tt></a></p>
<p>An ArchivePayload unpacks source archives onto the target system.</p>
</dd></dl>
<dl class="exception">
<dt id="pyanaconda.packaging.DependencyError">
<em class="property">exception </em><tt class="descclassname">pyanaconda.packaging.</tt><tt class="descname">DependencyError</tt><a class="headerlink" href="#pyanaconda.packaging.DependencyError" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="#pyanaconda.packaging.PayloadError" title="pyanaconda.packaging.PayloadError"><tt class="xref py py-class docutils literal"><span class="pre">pyanaconda.packaging.PayloadError</span></tt></a></p>
</dd></dl>
<dl class="exception">
<dt id="pyanaconda.packaging.ImageDirectoryMountError">
<em class="property">exception </em><tt class="descclassname">pyanaconda.packaging.</tt><tt class="descname">ImageDirectoryMountError</tt><a class="headerlink" href="#pyanaconda.packaging.ImageDirectoryMountError" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="#pyanaconda.packaging.PayloadSetupError" title="pyanaconda.packaging.PayloadSetupError"><tt class="xref py py-class docutils literal"><span class="pre">pyanaconda.packaging.PayloadSetupError</span></tt></a></p>
</dd></dl>
<dl class="exception">
<dt id="pyanaconda.packaging.ImageMissingError">
<em class="property">exception </em><tt class="descclassname">pyanaconda.packaging.</tt><tt class="descname">ImageMissingError</tt><a class="headerlink" href="#pyanaconda.packaging.ImageMissingError" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="#pyanaconda.packaging.PayloadSetupError" title="pyanaconda.packaging.PayloadSetupError"><tt class="xref py py-class docutils literal"><span class="pre">pyanaconda.packaging.PayloadSetupError</span></tt></a></p>
</dd></dl>
<dl class="class">
<dt id="pyanaconda.packaging.ImagePayload">
<em class="property">class </em><tt class="descclassname">pyanaconda.packaging.</tt><tt class="descname">ImagePayload</tt><big>(</big><em>data</em><big>)</big><a class="headerlink" href="#pyanaconda.packaging.ImagePayload" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="#pyanaconda.packaging.Payload" title="pyanaconda.packaging.Payload"><tt class="xref py py-class docutils literal"><span class="pre">pyanaconda.packaging.Payload</span></tt></a></p>
<p>An ImagePayload installs an OS image to the target system.</p>
</dd></dl>
<dl class="exception">
<dt id="pyanaconda.packaging.MetadataError">
<em class="property">exception </em><tt class="descclassname">pyanaconda.packaging.</tt><tt class="descname">MetadataError</tt><a class="headerlink" href="#pyanaconda.packaging.MetadataError" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="#pyanaconda.packaging.PayloadError" title="pyanaconda.packaging.PayloadError"><tt class="xref py py-class docutils literal"><span class="pre">pyanaconda.packaging.PayloadError</span></tt></a></p>
</dd></dl>
<dl class="exception">
<dt id="pyanaconda.packaging.NoNetworkError">
<em class="property">exception </em><tt class="descclassname">pyanaconda.packaging.</tt><tt class="descname">NoNetworkError</tt><a class="headerlink" href="#pyanaconda.packaging.NoNetworkError" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="#pyanaconda.packaging.PayloadError" title="pyanaconda.packaging.PayloadError"><tt class="xref py py-class docutils literal"><span class="pre">pyanaconda.packaging.PayloadError</span></tt></a></p>
</dd></dl>
<dl class="exception">
<dt id="pyanaconda.packaging.NoSuchGroup">
<em class="property">exception </em><tt class="descclassname">pyanaconda.packaging.</tt><tt class="descname">NoSuchGroup</tt><big>(</big><em>group</em>, <em>adding=True</em>, <em>required=False</em><big>)</big><a class="headerlink" href="#pyanaconda.packaging.NoSuchGroup" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="#pyanaconda.packaging.PayloadError" title="pyanaconda.packaging.PayloadError"><tt class="xref py py-class docutils literal"><span class="pre">pyanaconda.packaging.PayloadError</span></tt></a></p>
</dd></dl>
<dl class="exception">
<dt id="pyanaconda.packaging.NoSuchPackage">
<em class="property">exception </em><tt class="descclassname">pyanaconda.packaging.</tt><tt class="descname">NoSuchPackage</tt><big>(</big><em>package</em>, <em>required=False</em><big>)</big><a class="headerlink" href="#pyanaconda.packaging.NoSuchPackage" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="#pyanaconda.packaging.PayloadError" title="pyanaconda.packaging.PayloadError"><tt class="xref py py-class docutils literal"><span class="pre">pyanaconda.packaging.PayloadError</span></tt></a></p>
</dd></dl>
<dl class="class">
<dt id="pyanaconda.packaging.PackagePayload">
<em class="property">class </em><tt class="descclassname">pyanaconda.packaging.</tt><tt class="descname">PackagePayload</tt><big>(</big><em>data</em><big>)</big><a class="headerlink" href="#pyanaconda.packaging.PackagePayload" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="#pyanaconda.packaging.Payload" title="pyanaconda.packaging.Payload"><tt class="xref py py-class docutils literal"><span class="pre">pyanaconda.packaging.Payload</span></tt></a></p>
<p>A PackagePayload installs a set of packages onto the target system.</p>
<dl class="attribute">
<dt id="pyanaconda.packaging.PackagePayload.DEFAULT_REPOS">
<tt class="descname">DEFAULT_REPOS</tt><em class="property"> = ['anaconda', 'rawhide']</em><a class="headerlink" href="#pyanaconda.packaging.PackagePayload.DEFAULT_REPOS" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="pyanaconda.packaging.PackagePayload.ISOImage">
<tt class="descname">ISOImage</tt><a class="headerlink" href="#pyanaconda.packaging.PackagePayload.ISOImage" title="Permalink to this definition"></a></dt>
<dd><p>The location of a mounted ISO repo, or None.</p>
</dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.PackagePayload.addDriverRepos">
<tt class="descname">addDriverRepos</tt><big>(</big><big>)</big><a class="headerlink" href="#pyanaconda.packaging.PackagePayload.addDriverRepos" title="Permalink to this definition"></a></dt>
<dd><p>Add driver repositories and packages</p>
</dd></dl>
<dl class="attribute">
<dt id="pyanaconda.packaging.PackagePayload.environmentAddons">
<tt class="descname">environmentAddons</tt><a class="headerlink" href="#pyanaconda.packaging.PackagePayload.environmentAddons" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.PackagePayload.environmentDescription">
<tt class="descname">environmentDescription</tt><big>(</big><em>environmentid</em><big>)</big><a class="headerlink" href="#pyanaconda.packaging.PackagePayload.environmentDescription" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.PackagePayload.environmentGroups">
<tt class="descname">environmentGroups</tt><big>(</big><em>environmentid</em>, <em>optional=True</em><big>)</big><a class="headerlink" href="#pyanaconda.packaging.PackagePayload.environmentGroups" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.PackagePayload.environmentHasOption">
<tt class="descname">environmentHasOption</tt><big>(</big><em>environmentid</em>, <em>grpid</em><big>)</big><a class="headerlink" href="#pyanaconda.packaging.PackagePayload.environmentHasOption" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.PackagePayload.environmentOptionIsDefault">
<tt class="descname">environmentOptionIsDefault</tt><big>(</big><em>environmentid</em>, <em>grpid</em><big>)</big><a class="headerlink" href="#pyanaconda.packaging.PackagePayload.environmentOptionIsDefault" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="pyanaconda.packaging.PackagePayload.environments">
<tt class="descname">environments</tt><a class="headerlink" href="#pyanaconda.packaging.PackagePayload.environments" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.PackagePayload.groupDescription">
<tt class="descname">groupDescription</tt><big>(</big><em>groupid</em><big>)</big><a class="headerlink" href="#pyanaconda.packaging.PackagePayload.groupDescription" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="pyanaconda.packaging.PackagePayload.groups">
<tt class="descname">groups</tt><a class="headerlink" href="#pyanaconda.packaging.PackagePayload.groups" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="pyanaconda.packaging.PackagePayload.kernelPackages">
<tt class="descname">kernelPackages</tt><a class="headerlink" href="#pyanaconda.packaging.PackagePayload.kernelPackages" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="pyanaconda.packaging.PackagePayload.kernelVersionList">
<tt class="descname">kernelVersionList</tt><a class="headerlink" href="#pyanaconda.packaging.PackagePayload.kernelVersionList" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.PackagePayload.preInstall">
<tt class="descname">preInstall</tt><big>(</big><em>packages=None</em>, <em>groups=None</em><big>)</big><a class="headerlink" href="#pyanaconda.packaging.PackagePayload.preInstall" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="pyanaconda.packaging.PackagePayload.repos">
<tt class="descname">repos</tt><a class="headerlink" href="#pyanaconda.packaging.PackagePayload.repos" title="Permalink to this definition"></a></dt>
<dd><p>A list of repo identifiers, not objects themselves.</p>
</dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.PackagePayload.reset">
<tt class="descname">reset</tt><big>(</big><big>)</big><a class="headerlink" href="#pyanaconda.packaging.PackagePayload.reset" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.PackagePayload.reset_install_device">
<tt class="descname">reset_install_device</tt><big>(</big><big>)</big><a class="headerlink" href="#pyanaconda.packaging.PackagePayload.reset_install_device" title="Permalink to this definition"></a></dt>
<dd><p>Unmount the previous base repo and reset the install_device</p>
</dd></dl>
<dl class="attribute">
<dt id="pyanaconda.packaging.PackagePayload.rpmMacros">
<tt class="descname">rpmMacros</tt><a class="headerlink" href="#pyanaconda.packaging.PackagePayload.rpmMacros" title="Permalink to this definition"></a></dt>
<dd><p>A list of (name, value) pairs to define as macros in the rpm transaction.</p>
</dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.PackagePayload.selectEnvironment">
<tt class="descname">selectEnvironment</tt><big>(</big><em>environmentid</em>, <em>excluded=None</em><big>)</big><a class="headerlink" href="#pyanaconda.packaging.PackagePayload.selectEnvironment" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="class">
<dt id="pyanaconda.packaging.Payload">
<em class="property">class </em><tt class="descclassname">pyanaconda.packaging.</tt><tt class="descname">Payload</tt><big>(</big><em>data</em><big>)</big><a class="headerlink" href="#pyanaconda.packaging.Payload" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">builtins.object</span></tt></p>
<p>Payload is an abstract class for OS install delivery methods.</p>
<p>data is a kickstart.AnacondaKSHandler class</p>
<dl class="attribute">
<dt id="pyanaconda.packaging.Payload.addOns">
<tt class="descname">addOns</tt><a class="headerlink" href="#pyanaconda.packaging.Payload.addOns" title="Permalink to this definition"></a></dt>
<dd><p>A list of addon repo identifiers.</p>
</dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.Payload.addRepo">
<tt class="descname">addRepo</tt><big>(</big><em>newrepo</em><big>)</big><a class="headerlink" href="#pyanaconda.packaging.Payload.addRepo" title="Permalink to this definition"></a></dt>
<dd><p>Add the repo given by the pykickstart Repo object newrepo to the
system. The repo will be automatically enabled and its metadata
fetched.</p>
<p>Duplicate repos will not raise an error. They should just silently
take the place of the previous value.</p>
</dd></dl>
<dl class="attribute">
<dt id="pyanaconda.packaging.Payload.baseRepo">
<tt class="descname">baseRepo</tt><a class="headerlink" href="#pyanaconda.packaging.Payload.baseRepo" title="Permalink to this definition"></a></dt>
<dd><p>Get the identifier of the current base repo. or None</p>
</dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.Payload.deselectGroup">
<tt class="descname">deselectGroup</tt><big>(</big><em>groupid</em><big>)</big><a class="headerlink" href="#pyanaconda.packaging.Payload.deselectGroup" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.Payload.disableRepo">
<tt class="descname">disableRepo</tt><big>(</big><em>repo_id</em><big>)</big><a class="headerlink" href="#pyanaconda.packaging.Payload.disableRepo" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.Payload.dracutSetupArgs">
<tt class="descname">dracutSetupArgs</tt><big>(</big><big>)</big><a class="headerlink" href="#pyanaconda.packaging.Payload.dracutSetupArgs" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.Payload.enableRepo">
<tt class="descname">enableRepo</tt><big>(</big><em>repo_id</em><big>)</big><a class="headerlink" href="#pyanaconda.packaging.Payload.enableRepo" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.Payload.gatherRepoMetadata">
<tt class="descname">gatherRepoMetadata</tt><big>(</big><big>)</big><a class="headerlink" href="#pyanaconda.packaging.Payload.gatherRepoMetadata" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.Payload.getAddOnRepo">
<tt class="descname">getAddOnRepo</tt><big>(</big><em>repo_id</em><big>)</big><a class="headerlink" href="#pyanaconda.packaging.Payload.getAddOnRepo" title="Permalink to this definition"></a></dt>
<dd><p>Return a ksdata Repo instance matching the specified repo id.</p>
</dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.Payload.groupSelected">
<tt class="descname">groupSelected</tt><big>(</big><em>groupid</em><big>)</big><a class="headerlink" href="#pyanaconda.packaging.Payload.groupSelected" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.Payload.install">
<tt class="descname">install</tt><big>(</big><big>)</big><a class="headerlink" href="#pyanaconda.packaging.Payload.install" title="Permalink to this definition"></a></dt>
<dd><p>Install the payload.</p>
</dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.Payload.isRepoEnabled">
<tt class="descname">isRepoEnabled</tt><big>(</big><em>repo_id</em><big>)</big><a class="headerlink" href="#pyanaconda.packaging.Payload.isRepoEnabled" title="Permalink to this definition"></a></dt>
<dd><p>Return True if repo is enabled.</p>
</dd></dl>
<dl class="attribute">
<dt id="pyanaconda.packaging.Payload.kernelVersionList">
<tt class="descname">kernelVersionList</tt><a class="headerlink" href="#pyanaconda.packaging.Payload.kernelVersionList" title="Permalink to this definition"></a></dt>
<dd><p>An iterable of the kernel versions installed by the payload.</p>
</dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.Payload.languageGroups">
<tt class="descname">languageGroups</tt><big>(</big><big>)</big><a class="headerlink" href="#pyanaconda.packaging.Payload.languageGroups" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="pyanaconda.packaging.Payload.mirrorEnabled">
<tt class="descname">mirrorEnabled</tt><a class="headerlink" href="#pyanaconda.packaging.Payload.mirrorEnabled" title="Permalink to this definition"></a></dt>
<dd><p>Is the closest/fastest mirror option enabled? This does not make
sense for those payloads that do not support this concept.</p>
</dd></dl>
<dl class="attribute">
<dt id="pyanaconda.packaging.Payload.needsNetwork">
<tt class="descname">needsNetwork</tt><a class="headerlink" href="#pyanaconda.packaging.Payload.needsNetwork" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.Payload.postInstall">
<tt class="descname">postInstall</tt><big>(</big><big>)</big><a class="headerlink" href="#pyanaconda.packaging.Payload.postInstall" title="Permalink to this definition"></a></dt>
<dd><p>Perform post-installation tasks.</p>
</dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.Payload.preInstall">
<tt class="descname">preInstall</tt><big>(</big><em>packages=None</em>, <em>groups=None</em><big>)</big><a class="headerlink" href="#pyanaconda.packaging.Payload.preInstall" title="Permalink to this definition"></a></dt>
<dd><p>Perform pre-installation tasks.</p>
</dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.Payload.preStorage">
<tt class="descname">preStorage</tt><big>(</big><big>)</big><a class="headerlink" href="#pyanaconda.packaging.Payload.preStorage" title="Permalink to this definition"></a></dt>
<dd><p>Do any payload-specific work necessary before writing the storage
configuration. This method need not be provided by all payloads.</p>
</dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.Payload.prepareMountTargets">
<tt class="descname">prepareMountTargets</tt><big>(</big><em>storage</em><big>)</big><a class="headerlink" href="#pyanaconda.packaging.Payload.prepareMountTargets" title="Permalink to this definition"></a></dt>
<dd><p>Run when physical storage is mounted, but other mount points may
not exist. Used by the RPMOSTreePayload subclass.</p>
</dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.Payload.recreateInitrds">
<tt class="descname">recreateInitrds</tt><big>(</big><big>)</big><a class="headerlink" href="#pyanaconda.packaging.Payload.recreateInitrds" title="Permalink to this definition"></a></dt>
<dd><p>Recreate the initrds by calling new-kernel-pkg</p>
<p>This needs to be done after all configuration files have been
written, since dracut depends on some of them.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">None</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.Payload.release">
<tt class="descname">release</tt><big>(</big><big>)</big><a class="headerlink" href="#pyanaconda.packaging.Payload.release" title="Permalink to this definition"></a></dt>
<dd><p>Release any resources in use by this object, but do not do final
cleanup. This is useful for dealing with payload backends that do
not get along well with multithreaded programs.</p>
</dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.Payload.removeRepo">
<tt class="descname">removeRepo</tt><big>(</big><em>repo_id</em><big>)</big><a class="headerlink" href="#pyanaconda.packaging.Payload.removeRepo" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.Payload.reset">
<tt class="descname">reset</tt><big>(</big><big>)</big><a class="headerlink" href="#pyanaconda.packaging.Payload.reset" title="Permalink to this definition"></a></dt>
<dd><p>Reset the instance, not including ksdata.</p>
</dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.Payload.selectGroup">
<tt class="descname">selectGroup</tt><big>(</big><em>groupid</em>, <em>default=True</em>, <em>optional=False</em><big>)</big><a class="headerlink" href="#pyanaconda.packaging.Payload.selectGroup" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.Payload.setup">
<tt class="descname">setup</tt><big>(</big><em>storage</em>, <em>instClass</em><big>)</big><a class="headerlink" href="#pyanaconda.packaging.Payload.setup" title="Permalink to this definition"></a></dt>
<dd><p>Do any payload-specific setup.</p>
</dd></dl>
<dl class="attribute">
<dt id="pyanaconda.packaging.Payload.spaceRequired">
<tt class="descname">spaceRequired</tt><a class="headerlink" href="#pyanaconda.packaging.Payload.spaceRequired" title="Permalink to this definition"></a></dt>
<dd><p>The total disk space (Size) required for the current selection.</p>
</dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.Payload.unsetup">
<tt class="descname">unsetup</tt><big>(</big><big>)</big><a class="headerlink" href="#pyanaconda.packaging.Payload.unsetup" title="Permalink to this definition"></a></dt>
<dd><p>Invalidate a previously setup paylaod.</p>
</dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.Payload.updateBaseRepo">
<tt class="descname">updateBaseRepo</tt><big>(</big><em>fallback=True</em>, <em>checkmount=True</em><big>)</big><a class="headerlink" href="#pyanaconda.packaging.Payload.updateBaseRepo" title="Permalink to this definition"></a></dt>
<dd><p>Update the base repository from ksdata.method.</p>
</dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.Payload.writeStorageEarly">
<tt class="descname">writeStorageEarly</tt><big>(</big><big>)</big><a class="headerlink" href="#pyanaconda.packaging.Payload.writeStorageEarly" title="Permalink to this definition"></a></dt>
<dd><p>Some packaging payloads require that the storage configuration be
written out before doing installation. Right now, this is basically
just the dnfpayload. Payloads should only implement one of these
methods by overriding the unneeded one with a pass.</p>
</dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.Payload.writeStorageLate">
<tt class="descname">writeStorageLate</tt><big>(</big><big>)</big><a class="headerlink" href="#pyanaconda.packaging.Payload.writeStorageLate" title="Permalink to this definition"></a></dt>
<dd><p>Some packaging payloads require that the storage configuration be
written out after doing installation. Right now, this is basically
every payload except for dnf. Payloads should only implement one of
these methods by overriding the unneeded one with a pass.</p>
</dd></dl>
</dd></dl>
<dl class="exception">
<dt id="pyanaconda.packaging.PayloadError">
<em class="property">exception </em><tt class="descclassname">pyanaconda.packaging.</tt><tt class="descname">PayloadError</tt><a class="headerlink" href="#pyanaconda.packaging.PayloadError" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">builtins.Exception</span></tt></p>
</dd></dl>
<dl class="exception">
<dt id="pyanaconda.packaging.PayloadInstallError">
<em class="property">exception </em><tt class="descclassname">pyanaconda.packaging.</tt><tt class="descname">PayloadInstallError</tt><a class="headerlink" href="#pyanaconda.packaging.PayloadInstallError" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="#pyanaconda.packaging.PayloadError" title="pyanaconda.packaging.PayloadError"><tt class="xref py py-class docutils literal"><span class="pre">pyanaconda.packaging.PayloadError</span></tt></a></p>
</dd></dl>
<dl class="class">
<dt id="pyanaconda.packaging.PayloadManager">
<em class="property">class </em><tt class="descclassname">pyanaconda.packaging.</tt><tt class="descname">PayloadManager</tt><a class="headerlink" href="#pyanaconda.packaging.PayloadManager" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">builtins.object</span></tt></p>
<p>Framework for starting and watching the payload thread.</p>
<p>This class defines several states, and events can be triggered upon
reaching a state. Depending on whether a state has already been reached
when a listener is added, the event code may be run in either the
calling thread or the payload thread. The event code will block the
payload thread regardless, so try not to run anything that takes a long
time.</p>
<p>All states except STATE_ERROR are expected to happen linearly, and adding
a listener for a state that has already been reached or passed will
immediately trigger that listener. For example, if the payload thread is
currently in STATE_GROUP_MD, adding a listener for STATE_NETWORK will
immediately run the code being added for STATE_NETWORK.</p>
<p>The payload thread data should be accessed using the payloadMgr object,
and the running thread can be accessed using threadMgr with the
THREAD_PAYLOAD constant, if you need to wait for it or something. The
thread should be started using payloadMgr.restartThread.</p>
<dl class="attribute">
<dt id="pyanaconda.packaging.PayloadManager.ERROR_MD">
<tt class="descname">ERROR_MD</tt><em class="property"> = 'Error downloading package metadata'</em><a class="headerlink" href="#pyanaconda.packaging.PayloadManager.ERROR_MD" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="pyanaconda.packaging.PayloadManager.ERROR_SETUP">
<tt class="descname">ERROR_SETUP</tt><em class="property"> = 'Failed to set up installation source'</em><a class="headerlink" href="#pyanaconda.packaging.PayloadManager.ERROR_SETUP" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="pyanaconda.packaging.PayloadManager.ERROR_SOURCE">
<tt class="descname">ERROR_SOURCE</tt><em class="property"> = 'No installation source available'</em><a class="headerlink" href="#pyanaconda.packaging.PayloadManager.ERROR_SOURCE" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="pyanaconda.packaging.PayloadManager.STATE_ERROR">
<tt class="descname">STATE_ERROR</tt><em class="property"> = -1</em><a class="headerlink" href="#pyanaconda.packaging.PayloadManager.STATE_ERROR" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="pyanaconda.packaging.PayloadManager.STATE_FINISHED">
<tt class="descname">STATE_FINISHED</tt><em class="property"> = 5</em><a class="headerlink" href="#pyanaconda.packaging.PayloadManager.STATE_FINISHED" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="pyanaconda.packaging.PayloadManager.STATE_GROUP_MD">
<tt class="descname">STATE_GROUP_MD</tt><em class="property"> = 4</em><a class="headerlink" href="#pyanaconda.packaging.PayloadManager.STATE_GROUP_MD" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="pyanaconda.packaging.PayloadManager.STATE_NETWORK">
<tt class="descname">STATE_NETWORK</tt><em class="property"> = 2</em><a class="headerlink" href="#pyanaconda.packaging.PayloadManager.STATE_NETWORK" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="pyanaconda.packaging.PayloadManager.STATE_PACKAGE_MD">
<tt class="descname">STATE_PACKAGE_MD</tt><em class="property"> = 3</em><a class="headerlink" href="#pyanaconda.packaging.PayloadManager.STATE_PACKAGE_MD" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="pyanaconda.packaging.PayloadManager.STATE_START">
<tt class="descname">STATE_START</tt><em class="property"> = 0</em><a class="headerlink" href="#pyanaconda.packaging.PayloadManager.STATE_START" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="pyanaconda.packaging.PayloadManager.STATE_STORAGE">
<tt class="descname">STATE_STORAGE</tt><em class="property"> = 1</em><a class="headerlink" href="#pyanaconda.packaging.PayloadManager.STATE_STORAGE" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.PayloadManager.addListener">
<tt class="descname">addListener</tt><big>(</big><em>event_id</em>, <em>func</em><big>)</big><a class="headerlink" href="#pyanaconda.packaging.PayloadManager.addListener" title="Permalink to this definition"></a></dt>
<dd><p>Add a listener for an event.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>event_id</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.4)"><em>int</em></a>) &#8211; The event to listen for, one of the EVENT_* constants</li>
<li><strong>func</strong> (<em>function</em>) &#8211; An object to call when the event is reached</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="attribute">
<dt id="pyanaconda.packaging.PayloadManager.error">
<tt class="descname">error</tt><a class="headerlink" href="#pyanaconda.packaging.PayloadManager.error" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="pyanaconda.packaging.PayloadManager.restartThread">
<tt class="descname">restartThread</tt><big>(</big><em>storage</em>, <em>ksdata</em>, <em>payload</em>, <em>instClass</em>, <em>fallback=False</em>, <em>checkmount=True</em><big>)</big><a class="headerlink" href="#pyanaconda.packaging.PayloadManager.restartThread" title="Permalink to this definition"></a></dt>
<dd><p>Start or restart the payload thread.</p>
<p>This method starts a new thread to restart the payload thread, so
this method&#8217;s return is not blocked by waiting on the previous payload
thread. If there is already a payload thread restart pending, this method
has no effect.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>storage</strong> (<em>blivet.Blivet</em>) &#8211; The blivet storage instance</li>
<li><strong>ksdata</strong> (<em>kickstart.AnacondaKSHandler</em>) &#8211; The kickstart data instance</li>
<li><strong>payload</strong> (<em>packaging.Payload</em>) &#8211; The payload instance</li>
<li><strong>instClass</strong> (<em>installclass.BaseInstallClass</em>) &#8211; The install class instance</li>
<li><strong>fallback</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.4)"><em>bool</em></a>) &#8211; Whether to fall back to the default repo in case of error</li>
<li><strong>checkmount</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.4)"><em>bool</em></a>) &#8211; Whether to check for valid mounted media</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
</dd></dl>
<dl class="exception">
<dt id="pyanaconda.packaging.PayloadSetupError">
<em class="property">exception </em><tt class="descclassname">pyanaconda.packaging.</tt><tt class="descname">PayloadSetupError</tt><a class="headerlink" href="#pyanaconda.packaging.PayloadSetupError" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="#pyanaconda.packaging.PayloadError" title="pyanaconda.packaging.PayloadError"><tt class="xref py py-class docutils literal"><span class="pre">pyanaconda.packaging.PayloadError</span></tt></a></p>
</dd></dl>
<dl class="function">
<dt id="pyanaconda.packaging.versionCmp">
<tt class="descclassname">pyanaconda.packaging.</tt><tt class="descname">versionCmp</tt><big>(</big><em>v1</em>, <em>v2</em><big>)</big><a class="headerlink" href="#pyanaconda.packaging.versionCmp" title="Permalink to this definition"></a></dt>
<dd><p>Compare two version number strings.</p>
</dd></dl>
</div>
</div>
</div>
<footer>
<div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
<a href="pyanaconda.ui.html" class="btn btn-neutral float-right" title="pyanaconda.ui package" accesskey="n">Next <span class="fa fa-arrow-circle-right"></span></a>
<a href="pyanaconda.isys.html" class="btn btn-neutral" title="pyanaconda.isys package" accesskey="p"><span class="fa fa-arrow-circle-left"></span> Previous</a>
</div>
<hr/>
<div role="contentinfo">
<p>
&copy; Copyright 2015, Red Hat, Inc..
</p>
</div>
Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/snide/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.
</footer>
</div>
</div>
</section>
</div>
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT:'./',
VERSION:'23.15',
COLLAPSE_INDEX:false,
FILE_SUFFIX:'.html',
HAS_SOURCE: true
};
</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 () {
SphinxRtdTheme.StickyNav.enable();
});
</script>
</body>
</html>