<spanid="pyanaconda-packaging-dnfpayload-module"></span><h2>pyanaconda.packaging.dnfpayload module<aclass="headerlink"href="#module-pyanaconda.packaging.dnfpayload"title="Permalink to this headline">¶</a></h2>
<emclass="property">class </em><codeclass="descclassname">pyanaconda.packaging.dnfpayload.</code><codeclass="descname">DNFPayload</code><spanclass="sig-paren">(</span><em>data</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.dnfpayload.DNFPayload"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">addRepo</code><spanclass="sig-paren">(</span><em>ksrepo</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.dnfpayload.DNFPayload.addRepo"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">baseRepo</code><aclass="headerlink"href="#pyanaconda.packaging.dnfpayload.DNFPayload.baseRepo"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">checkSoftwareSelection</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.dnfpayload.DNFPayload.checkSoftwareSelection"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">disableRepo</code><spanclass="sig-paren">(</span><em>repo_id</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.dnfpayload.DNFPayload.disableRepo"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">enableRepo</code><spanclass="sig-paren">(</span><em>repo_id</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.dnfpayload.DNFPayload.enableRepo"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">environmentDescription</code><spanclass="sig-paren">(</span><em>environmentid</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.dnfpayload.DNFPayload.environmentDescription"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">environmentGroups</code><spanclass="sig-paren">(</span><em>environmentid</em>, <em>optional=True</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.dnfpayload.DNFPayload.environmentGroups"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">environmentHasOption</code><spanclass="sig-paren">(</span><em>environmentid</em>, <em>grpid</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.dnfpayload.DNFPayload.environmentHasOption"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">environmentId</code><spanclass="sig-paren">(</span><em>environment</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.dnfpayload.DNFPayload.environmentId"title="Permalink to this definition">¶</a></dt>
<dd><p>Return environment id for the environment specified by id or name.</p>
<codeclass="descname">environmentOptionIsDefault</code><spanclass="sig-paren">(</span><em>environmentid</em>, <em>grpid</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.dnfpayload.DNFPayload.environmentOptionIsDefault"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">environments</code><aclass="headerlink"href="#pyanaconda.packaging.dnfpayload.DNFPayload.environments"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">gatherRepoMetadata</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.dnfpayload.DNFPayload.gatherRepoMetadata"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">getRepo</code><spanclass="sig-paren">(</span><em>repo_id</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.dnfpayload.DNFPayload.getRepo"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">groupDescription</code><spanclass="sig-paren">(</span><em>grpid</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.dnfpayload.DNFPayload.groupDescription"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">groups</code><aclass="headerlink"href="#pyanaconda.packaging.dnfpayload.DNFPayload.groups"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">install</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.dnfpayload.DNFPayload.install"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">isRepoEnabled</code><spanclass="sig-paren">(</span><em>repo_id</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.dnfpayload.DNFPayload.isRepoEnabled"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">languageGroups</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.dnfpayload.DNFPayload.languageGroups"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">mirrorEnabled</code><aclass="headerlink"href="#pyanaconda.packaging.dnfpayload.DNFPayload.mirrorEnabled"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">postInstall</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.dnfpayload.DNFPayload.postInstall"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">preInstall</code><spanclass="sig-paren">(</span><em>packages=None</em>, <em>groups=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.dnfpayload.DNFPayload.preInstall"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">repos</code><aclass="headerlink"href="#pyanaconda.packaging.dnfpayload.DNFPayload.repos"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">reset</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.dnfpayload.DNFPayload.reset"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">setUpdatesEnabled</code><spanclass="sig-paren">(</span><em>state</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.dnfpayload.DNFPayload.setUpdatesEnabled"title="Permalink to this definition">¶</a></dt>
<dd><p>Enable or Disable the repos used to update closest mirror.</p>
<codeclass="descname">spaceRequired</code><aclass="headerlink"href="#pyanaconda.packaging.dnfpayload.DNFPayload.spaceRequired"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">unsetup</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.dnfpayload.DNFPayload.unsetup"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">updateBaseRepo</code><spanclass="sig-paren">(</span><em>fallback=True</em>, <em>checkmount=True</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.dnfpayload.DNFPayload.updateBaseRepo"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">writeStorageLate</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.dnfpayload.DNFPayload.writeStorageLate"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="descclassname">pyanaconda.packaging.dnfpayload.</code><codeclass="descname">DownloadProgress</code><aclass="headerlink"href="#pyanaconda.packaging.dnfpayload.DownloadProgress"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">end</code><spanclass="sig-paren">(</span><em>payload</em>, <em>status</em>, <em>err_msg</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.dnfpayload.DownloadProgress.end"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">progress</code><spanclass="sig-paren">(</span><em>payload</em>, <em>done</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.dnfpayload.DownloadProgress.progress"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">start</code><spanclass="sig-paren">(</span><em>total_files</em>, <em>total_size</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.dnfpayload.DownloadProgress.start"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="descclassname">pyanaconda.packaging.dnfpayload.</code><codeclass="descname">PayloadRPMDisplay</code><spanclass="sig-paren">(</span><em>queue_instance</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.dnfpayload.PayloadRPMDisplay"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">event</code><spanclass="sig-paren">(</span><em>package</em>, <em>action</em>, <em>te_current</em>, <em>te_total</em>, <em>ts_current</em>, <em>ts_total</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.dnfpayload.PayloadRPMDisplay.event"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyanaconda.packaging.dnfpayload.</code><codeclass="descname">do_transaction</code><spanclass="sig-paren">(</span><em>base</em>, <em>queue_instance</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.dnfpayload.do_transaction"title="Permalink to this definition">¶</a></dt>
<spanid="pyanaconda-packaging-livepayload-module"></span><h2>pyanaconda.packaging.livepayload module<aclass="headerlink"href="#module-pyanaconda.packaging.livepayload"title="Permalink to this headline">¶</a></h2>
<dlclass="docutils">
<dt>TODO</dt>
<dd><ulclass="first last">
<li><pclass="first">error handling!!!</p>
</li>
<li><pclass="first">document all methods</p>
</li>
<li><dlclass="first docutils">
<dt>LiveImagePayload</dt>
<dd><ulclass="first last simple">
<li>register the live image, either via self.data.method or in setup
<emclass="property">class </em><codeclass="descclassname">pyanaconda.packaging.livepayload.</code><codeclass="descname">DownloadProgress</code><aclass="headerlink"href="#pyanaconda.packaging.livepayload.DownloadProgress"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">end</code><spanclass="sig-paren">(</span><em>bytes_read</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.livepayload.DownloadProgress.end"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">start</code><spanclass="sig-paren">(</span><em>url</em>, <em>size</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.livepayload.DownloadProgress.start"title="Permalink to this definition">¶</a></dt>
<li><strong>url</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.5)"><em>str</em></a>) – url of the download</li>
<li><strong>size</strong> (<aclass="reference external"href="https://docs.python.org/3/library/functions.html#int"title="(in Python v3.5)"><em>int</em></a>) – length of the file</li>
<codeclass="descname">update</code><spanclass="sig-paren">(</span><em>bytes_read</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.livepayload.DownloadProgress.update"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="descclassname">pyanaconda.packaging.livepayload.</code><codeclass="descname">LiveImageKSPayload</code><spanclass="sig-paren">(</span><em>*args</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.livepayload.LiveImageKSPayload"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">install</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.livepayload.LiveImageKSPayload.install"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">is_tarfile</code><aclass="headerlink"href="#pyanaconda.packaging.livepayload.LiveImageKSPayload.is_tarfile"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">kernelVersionList</code><aclass="headerlink"href="#pyanaconda.packaging.livepayload.LiveImageKSPayload.kernelVersionList"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">postInstall</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.livepayload.LiveImageKSPayload.postInstall"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">preInstall</code><spanclass="sig-paren">(</span><em>*args</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.livepayload.LiveImageKSPayload.preInstall"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">setup</code><spanclass="sig-paren">(</span><em>storage</em>, <em>instClass</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.livepayload.LiveImageKSPayload.setup"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">spaceRequired</code><aclass="headerlink"href="#pyanaconda.packaging.livepayload.LiveImageKSPayload.spaceRequired"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">unsetup</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.livepayload.LiveImageKSPayload.unsetup"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="descclassname">pyanaconda.packaging.livepayload.</code><codeclass="descname">LiveImagePayload</code><spanclass="sig-paren">(</span><em>*args</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.livepayload.LiveImagePayload"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">install</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.livepayload.LiveImagePayload.install"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">kernelVersionList</code><aclass="headerlink"href="#pyanaconda.packaging.livepayload.LiveImagePayload.kernelVersionList"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">postInstall</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.livepayload.LiveImagePayload.postInstall"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">preInstall</code><spanclass="sig-paren">(</span><em>packages=None</em>, <em>groups=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.livepayload.LiveImagePayload.preInstall"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">progress</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.livepayload.LiveImagePayload.progress"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">setup</code><spanclass="sig-paren">(</span><em>storage</em>, <em>instClass</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.livepayload.LiveImagePayload.setup"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">spaceRequired</code><aclass="headerlink"href="#pyanaconda.packaging.livepayload.LiveImagePayload.spaceRequired"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">unsetup</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.livepayload.LiveImagePayload.unsetup"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">writeStorageEarly</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.livepayload.LiveImagePayload.writeStorageEarly"title="Permalink to this definition">¶</a></dt>
<spanid="pyanaconda-packaging-rpmostreepayload-module"></span><h2>pyanaconda.packaging.rpmostreepayload module<aclass="headerlink"href="#module-pyanaconda.packaging.rpmostreepayload"title="Permalink to this headline">¶</a></h2>
<emclass="property">class </em><codeclass="descclassname">pyanaconda.packaging.rpmostreepayload.</code><codeclass="descname">RPMOSTreePayload</code><spanclass="sig-paren">(</span><em>data</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.rpmostreepayload.RPMOSTreePayload"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">handlesBootloaderConfiguration</code><aclass="headerlink"href="#pyanaconda.packaging.rpmostreepayload.RPMOSTreePayload.handlesBootloaderConfiguration"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">install</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.rpmostreepayload.RPMOSTreePayload.install"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">kernelVersionList</code><aclass="headerlink"href="#pyanaconda.packaging.rpmostreepayload.RPMOSTreePayload.kernelVersionList"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">postInstall</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.rpmostreepayload.RPMOSTreePayload.postInstall"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">prepareMountTargets</code><spanclass="sig-paren">(</span><em>storage</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.rpmostreepayload.RPMOSTreePayload.prepareMountTargets"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">recreateInitrds</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.rpmostreepayload.RPMOSTreePayload.recreateInitrds"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">spaceRequired</code><aclass="headerlink"href="#pyanaconda.packaging.rpmostreepayload.RPMOSTreePayload.spaceRequired"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">unsetup</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.rpmostreepayload.RPMOSTreePayload.unsetup"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">writeStorageEarly</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.rpmostreepayload.RPMOSTreePayload.writeStorageEarly"title="Permalink to this definition">¶</a></dt>
<spanid="pyanaconda-packaging-tarpayload-module"></span><h2>pyanaconda.packaging.tarpayload module<aclass="headerlink"href="#module-pyanaconda.packaging.tarpayload"title="Permalink to this headline">¶</a></h2>
<emclass="property">class </em><codeclass="descclassname">pyanaconda.packaging.tarpayload.</code><codeclass="descname">TarPayload</code><spanclass="sig-paren">(</span><em>data</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.tarpayload.TarPayload"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">install</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.tarpayload.TarPayload.install"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">kernelVersionList</code><aclass="headerlink"href="#pyanaconda.packaging.tarpayload.TarPayload.kernelVersionList"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">requiredSpace</code><aclass="headerlink"href="#pyanaconda.packaging.tarpayload.TarPayload.requiredSpace"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">setup</code><spanclass="sig-paren">(</span><em>storage</em>, <em>instClass</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.tarpayload.TarPayload.setup"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">unsetup</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.tarpayload.TarPayload.unsetup"title="Permalink to this definition">¶</a></dt>
<spanid="module-contents"></span><h2>Module contents<aclass="headerlink"href="#module-pyanaconda.packaging"title="Permalink to this headline">¶</a></h2>
<emclass="property">class </em><codeclass="descclassname">pyanaconda.packaging.</code><codeclass="descname">ArchivePayload</code><spanclass="sig-paren">(</span><em>data</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.ArchivePayload"title="Permalink to this definition">¶</a></dt>
<emclass="property">exception </em><codeclass="descclassname">pyanaconda.packaging.</code><codeclass="descname">DependencyError</code><aclass="headerlink"href="#pyanaconda.packaging.DependencyError"title="Permalink to this definition">¶</a></dt>
<emclass="property">exception </em><codeclass="descclassname">pyanaconda.packaging.</code><codeclass="descname">ImageDirectoryMountError</code><aclass="headerlink"href="#pyanaconda.packaging.ImageDirectoryMountError"title="Permalink to this definition">¶</a></dt>
<emclass="property">exception </em><codeclass="descclassname">pyanaconda.packaging.</code><codeclass="descname">ImageMissingError</code><aclass="headerlink"href="#pyanaconda.packaging.ImageMissingError"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="descclassname">pyanaconda.packaging.</code><codeclass="descname">ImagePayload</code><spanclass="sig-paren">(</span><em>data</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.ImagePayload"title="Permalink to this definition">¶</a></dt>
<emclass="property">exception </em><codeclass="descclassname">pyanaconda.packaging.</code><codeclass="descname">MetadataError</code><aclass="headerlink"href="#pyanaconda.packaging.MetadataError"title="Permalink to this definition">¶</a></dt>
<emclass="property">exception </em><codeclass="descclassname">pyanaconda.packaging.</code><codeclass="descname">NoNetworkError</code><aclass="headerlink"href="#pyanaconda.packaging.NoNetworkError"title="Permalink to this definition">¶</a></dt>
<emclass="property">exception </em><codeclass="descclassname">pyanaconda.packaging.</code><codeclass="descname">NoSuchGroup</code><spanclass="sig-paren">(</span><em>group</em>, <em>adding=True</em>, <em>required=False</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.NoSuchGroup"title="Permalink to this definition">¶</a></dt>
<emclass="property">exception </em><codeclass="descclassname">pyanaconda.packaging.</code><codeclass="descname">NoSuchPackage</code><spanclass="sig-paren">(</span><em>package</em>, <em>required=False</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.NoSuchPackage"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="descclassname">pyanaconda.packaging.</code><codeclass="descname">PackagePayload</code><spanclass="sig-paren">(</span><em>data</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.PackagePayload"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">DEFAULT_REPOS</code><emclass="property"> = ['anaconda', 'rawhide']</em><aclass="headerlink"href="#pyanaconda.packaging.PackagePayload.DEFAULT_REPOS"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">ISOImage</code><aclass="headerlink"href="#pyanaconda.packaging.PackagePayload.ISOImage"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">addDriverRepos</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.PackagePayload.addDriverRepos"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">environmentAddons</code><aclass="headerlink"href="#pyanaconda.packaging.PackagePayload.environmentAddons"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">environmentDescription</code><spanclass="sig-paren">(</span><em>environmentid</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.PackagePayload.environmentDescription"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">environmentGroups</code><spanclass="sig-paren">(</span><em>environmentid</em>, <em>optional=True</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.PackagePayload.environmentGroups"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">environmentHasOption</code><spanclass="sig-paren">(</span><em>environmentid</em>, <em>grpid</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.PackagePayload.environmentHasOption"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">environmentOptionIsDefault</code><spanclass="sig-paren">(</span><em>environmentid</em>, <em>grpid</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.PackagePayload.environmentOptionIsDefault"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">environments</code><aclass="headerlink"href="#pyanaconda.packaging.PackagePayload.environments"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">groupDescription</code><spanclass="sig-paren">(</span><em>groupid</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.PackagePayload.groupDescription"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">groups</code><aclass="headerlink"href="#pyanaconda.packaging.PackagePayload.groups"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">kernelPackages</code><aclass="headerlink"href="#pyanaconda.packaging.PackagePayload.kernelPackages"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">kernelVersionList</code><aclass="headerlink"href="#pyanaconda.packaging.PackagePayload.kernelVersionList"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">preInstall</code><spanclass="sig-paren">(</span><em>packages=None</em>, <em>groups=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.PackagePayload.preInstall"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">reset</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.PackagePayload.reset"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">reset_install_device</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.PackagePayload.reset_install_device"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">rpmMacros</code><aclass="headerlink"href="#pyanaconda.packaging.PackagePayload.rpmMacros"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">selectEnvironment</code><spanclass="sig-paren">(</span><em>environmentid</em>, <em>excluded=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.PackagePayload.selectEnvironment"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="descclassname">pyanaconda.packaging.</code><codeclass="descname">Payload</code><spanclass="sig-paren">(</span><em>data</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.Payload"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">addRepo</code><spanclass="sig-paren">(</span><em>newrepo</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.Payload.addRepo"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">deselectGroup</code><spanclass="sig-paren">(</span><em>groupid</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.Payload.deselectGroup"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">disableRepo</code><spanclass="sig-paren">(</span><em>repo_id</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.Payload.disableRepo"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">dracutSetupArgs</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.Payload.dracutSetupArgs"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">enableRepo</code><spanclass="sig-paren">(</span><em>repo_id</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.Payload.enableRepo"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">gatherRepoMetadata</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.Payload.gatherRepoMetadata"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">getAddOnRepo</code><spanclass="sig-paren">(</span><em>repo_id</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.Payload.getAddOnRepo"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">groupSelected</code><spanclass="sig-paren">(</span><em>groupid</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.Payload.groupSelected"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">install</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.Payload.install"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">isRepoEnabled</code><spanclass="sig-paren">(</span><em>repo_id</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.Payload.isRepoEnabled"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">kernelVersionList</code><aclass="headerlink"href="#pyanaconda.packaging.Payload.kernelVersionList"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">languageGroups</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.Payload.languageGroups"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">mirrorEnabled</code><aclass="headerlink"href="#pyanaconda.packaging.Payload.mirrorEnabled"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">needsNetwork</code><aclass="headerlink"href="#pyanaconda.packaging.Payload.needsNetwork"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">postInstall</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.Payload.postInstall"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">preInstall</code><spanclass="sig-paren">(</span><em>packages=None</em>, <em>groups=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.Payload.preInstall"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">preStorage</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.Payload.preStorage"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">prepareMountTargets</code><spanclass="sig-paren">(</span><em>storage</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.Payload.prepareMountTargets"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">recreateInitrds</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.Payload.recreateInitrds"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">release</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.Payload.release"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">removeRepo</code><spanclass="sig-paren">(</span><em>repo_id</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.Payload.removeRepo"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">requiredDeviceSize</code><spanclass="sig-paren">(</span><em>format_class</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.Payload.requiredDeviceSize"title="Permalink to this definition">¶</a></dt>
<dd><p>We need to provide information how big device is required to have successful
installation. <codeclass="docutils literal"><spanclass="pre">format_class</span></code> should be filesystem format
class for the <strong>root</strong> filesystem this class carry information about
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>format_class</strong> (Class which inherits <codeclass="xref py py-class docutils literal"><spanclass="pre">blivet.formats.fs.FS</span></code>) – Class of the filesystem format.</td>
</tr>
<trclass="field-even field"><thclass="field-name">Returns:</th><tdclass="field-body">Size of the device with given filesystem format.</td>
<codeclass="descname">reset</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.Payload.reset"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">selectGroup</code><spanclass="sig-paren">(</span><em>groupid</em>, <em>default=True</em>, <em>optional=False</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.Payload.selectGroup"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">setup</code><spanclass="sig-paren">(</span><em>storage</em>, <em>instClass</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.Payload.setup"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">spaceRequired</code><aclass="headerlink"href="#pyanaconda.packaging.Payload.spaceRequired"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">unsetup</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.Payload.unsetup"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">updateBaseRepo</code><spanclass="sig-paren">(</span><em>fallback=True</em>, <em>checkmount=True</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.Payload.updateBaseRepo"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">writeStorageEarly</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.Payload.writeStorageEarly"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">writeStorageLate</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.Payload.writeStorageLate"title="Permalink to this definition">¶</a></dt>
<emclass="property">exception </em><codeclass="descclassname">pyanaconda.packaging.</code><codeclass="descname">PayloadError</code><aclass="headerlink"href="#pyanaconda.packaging.PayloadError"title="Permalink to this definition">¶</a></dt>
<emclass="property">exception </em><codeclass="descclassname">pyanaconda.packaging.</code><codeclass="descname">PayloadInstallError</code><aclass="headerlink"href="#pyanaconda.packaging.PayloadInstallError"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="descclassname">pyanaconda.packaging.</code><codeclass="descname">PayloadManager</code><aclass="headerlink"href="#pyanaconda.packaging.PayloadManager"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">ERROR_MD</code><emclass="property"> = 'Error downloading package metadata'</em><aclass="headerlink"href="#pyanaconda.packaging.PayloadManager.ERROR_MD"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">ERROR_SETUP</code><emclass="property"> = 'Failed to set up installation source'</em><aclass="headerlink"href="#pyanaconda.packaging.PayloadManager.ERROR_SETUP"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">ERROR_SOURCE</code><emclass="property"> = 'No installation source available'</em><aclass="headerlink"href="#pyanaconda.packaging.PayloadManager.ERROR_SOURCE"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">STATE_ERROR</code><emclass="property"> = -1</em><aclass="headerlink"href="#pyanaconda.packaging.PayloadManager.STATE_ERROR"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">STATE_FINISHED</code><emclass="property"> = 5</em><aclass="headerlink"href="#pyanaconda.packaging.PayloadManager.STATE_FINISHED"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">STATE_GROUP_MD</code><emclass="property"> = 4</em><aclass="headerlink"href="#pyanaconda.packaging.PayloadManager.STATE_GROUP_MD"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">STATE_NETWORK</code><emclass="property"> = 2</em><aclass="headerlink"href="#pyanaconda.packaging.PayloadManager.STATE_NETWORK"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">STATE_PACKAGE_MD</code><emclass="property"> = 3</em><aclass="headerlink"href="#pyanaconda.packaging.PayloadManager.STATE_PACKAGE_MD"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">STATE_START</code><emclass="property"> = 0</em><aclass="headerlink"href="#pyanaconda.packaging.PayloadManager.STATE_START"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">STATE_STORAGE</code><emclass="property"> = 1</em><aclass="headerlink"href="#pyanaconda.packaging.PayloadManager.STATE_STORAGE"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">addListener</code><spanclass="sig-paren">(</span><em>event_id</em>, <em>func</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.PayloadManager.addListener"title="Permalink to this definition">¶</a></dt>
<li><strong>event_id</strong> (<aclass="reference external"href="https://docs.python.org/3/library/functions.html#int"title="(in Python v3.5)"><em>int</em></a>) – The event to listen for, one of the EVENT_* constants</li>
<codeclass="descname">restartThread</code><spanclass="sig-paren">(</span><em>storage</em>, <em>ksdata</em>, <em>payload</em>, <em>instClass</em>, <em>fallback=False</em>, <em>checkmount=True</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.PayloadManager.restartThread"title="Permalink to this definition">¶</a></dt>
<li><strong>ksdata</strong> (<aclass="reference internal"href="pyanaconda.html#pyanaconda.kickstart.AnacondaKSHandler"title="pyanaconda.kickstart.AnacondaKSHandler"><em>kickstart.AnacondaKSHandler</em></a>) – The kickstart data instance</li>
<li><strong>payload</strong> (<aclass="reference internal"href="#pyanaconda.packaging.Payload"title="pyanaconda.packaging.Payload"><em>packaging.Payload</em></a>) – The payload instance</li>
<li><strong>instClass</strong> (<aclass="reference internal"href="pyanaconda.html#pyanaconda.installclass.BaseInstallClass"title="pyanaconda.installclass.BaseInstallClass"><em>installclass.BaseInstallClass</em></a>) – The install class instance</li>
<li><strong>fallback</strong> (<aclass="reference external"href="https://docs.python.org/3/library/functions.html#bool"title="(in Python v3.5)"><em>bool</em></a>) – Whether to fall back to the default repo in case of error</li>
<li><strong>checkmount</strong> (<aclass="reference external"href="https://docs.python.org/3/library/functions.html#bool"title="(in Python v3.5)"><em>bool</em></a>) – Whether to check for valid mounted media</li>
<emclass="property">exception </em><codeclass="descclassname">pyanaconda.packaging.</code><codeclass="descname">PayloadSetupError</code><aclass="headerlink"href="#pyanaconda.packaging.PayloadSetupError"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyanaconda.packaging.</code><codeclass="descname">versionCmp</code><spanclass="sig-paren">(</span><em>v1</em>, <em>v2</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyanaconda.packaging.versionCmp"title="Permalink to this definition">¶</a></dt>
Built with <ahref="http://sphinx-doc.org/">Sphinx</a> using a <ahref="https://github.com/snide/sphinx_rtd_theme">theme</a> provided by <ahref="https://readthedocs.org">Read the Docs</a>.