ACC SHELL
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
<head>
<title>
Bootloader installation and configuration
</title>
<style type="text/css">body { background-color: #c8c8c8 }
h1 { color: #e00000 }
table { width: 100%/ border: none }
img { border: 0px }
.sigbox { background-color: #ffc080; border: solid thin #f96500 }
.sig { font: larger monospace }
.padtbl { background-color: #ffc080; padding: 10px; margin: 10px }
/* arrow */
.a { color: #606060 }
/* type, parameter */
.t, .p { color: #c05000 }
.pbox { width: 20% }
.descbox { }
.right { align: right }
.header {}
.footer { clear: both}
.menu { width: 10%; float: left }
.main { width: 90%; float: left }
</style>
</head>
<body>
<div class="header">
<i>YaST2 Developers Documentation:</i>
<a href="index.html">
<b>
Bootloader installation and configuration
</b>
</a>
<img class="right" alt="" src="/usr/share/doc/packages/yast2-devtools/images/yast2-mini.png" />
<hr />
</div>
<div class="menu">
<img alt="YaST" src="/usr/share/doc/packages/yast2-devtools/images/yast2-half.png" />
<br />
<br />
<a href="index.html">functions</a>
<br />
<a href="files.html">files</a>
<br />
<a href="intro.html">intro</a>
</div>
<div class="main">
<div class="sigbox">
<table class="padtbl">
<tr>
<td>
<h1>
Bootloader installation and configuration
</h1>
</td>
<td class="filecell">
modules/BootSupportCheck.ycp
</td>
</tr>
<tr>
<td>
Check whether the current system setup is a supported configuration
</td>
</tr>
<tr>
<td>
<ul>
<li> Jiri Srain <jsrain@suse.cz></li>
</ul>
</td>
</tr>
<tr>
<td>
<p>This module has an unstable interface.</p>
</td>
</tr>
</table>
<table class="padtbl">
<tr>
<td>
<h1>Imports</h1>
<ul>
<li>Arch</li>
<li>BootCommon</li>
<li>BootStorage</li>
<li>Bootloader</li>
<li>FileUtils</li>
<li>Region</li>
<li>Storage</li>
</ul>
<h1>Global Functions</h1>
<ul>
<li>
<a href="#DetectedProblems">DetectedProblems ()</a>
</li>
<li>
<a href="#GRUB">GRUB ()</a>
</li>
<li>
<a href="#StringProblems">StringProblems ()</a>
</li>
<li>
<a href="#SystemSupported">SystemSupported ()</a>
</li>
<li>
<a href="#check_BootDevice">check_BootDevice ()</a>
</li>
</ul>
<h1>Local Variables</h1>
<ul>
<li>
<a href="#detected_problems">detected_problems</a>
</li>
</ul>
<h1>Local Functions</h1>
<ul>
<li>
<a href="#AddNewProblem">AddNewProblem (string description)</a>
</li>
<li>
<a href="#CheckBios_ID">CheckBios_ID ()</a>
</li>
<li>
<a href="#CorrectLoaderType">CorrectLoaderType ()</a>
</li>
<li>
<a href="#ELILO">ELILO ()</a>
</li>
<li>
<a href="#GptPartitionTable">GptPartitionTable ()</a>
</li>
<li>
<a href="#KnownLoader">KnownLoader ()</a>
</li>
<li>
<a href="#PPC">PPC ()</a>
</li>
<li>
<a href="#RootPartition">RootPartition ()</a>
</li>
<li>
<a href="#ZIPL">ZIPL ()</a>
</li>
<li>
<a href="#checkElilo">checkElilo ()</a>
</li>
</ul>
</td>
</tr>
</table>
</div>
<p />
<div class="sigbox">
<span class="sig" id="detected_problems">local
<b>detected_problems
<span class="a"> -> </span>
<span class="t">list<string></span>
</b>
</span>
</div>
<p>
List of problems found during last check</p>
<div class="sigbox">
<span class="sig" id="AddNewProblem">local
<b>AddNewProblem (string description)
<span class="a"> -> </span>
<span class="t">void</span>
</b>
</span>
</div>
<p>
Add a new problem description to the list of found problems</p>
<dl>
<dt>
<b>Parameters:</b>
</dt>
<dd>
<table>
<tr>
<td class="pbox">
<span class="p">description</span>
</td>
<td class="descbox"></td>
</tr>
</table>
</dd>
</dl>
<div class="sigbox">
<span class="sig" id="DetectedProblems">global
<b>DetectedProblems ()
<span class="a"> -> </span>
<span class="t">list<string></span>
</b>
</span>
</div>
<p>
List detected problems
Always run SystemSupported before calling this function</p>
<dl>
<dt>
<b>Return value:</b>
</dt>
<dd>
<table>
<tr>
<td class="pbox">
<span class="t" />
</td>
<td class="descbox">a list of problems, empty if no was found</td>
</tr>
</table>
</dd>
</dl>
<div class="sigbox">
<span class="sig" id="StringProblems">global
<b>StringProblems ()
<span class="a"> -> </span>
<span class="t">string</span>
</b>
</span>
</div>
<p>
Formated string of detected problems
Always run SystemSupported before calling this function</p>
<dl>
<dt>
<b>Return value:</b>
</dt>
<dd>
<table>
<tr>
<td class="pbox">
<span class="t" />
</td>
<td class="descbox">a list of problems, empty if no was found</td>
</tr>
</table>
</dd>
</dl>
<div class="sigbox">
<span class="sig" id="KnownLoader">local
<b>KnownLoader ()
<span class="a"> -> </span>
<span class="t">boolean</span>
</b>
</span>
</div>
<p>
Check that bootloader is known and supported</p>
<div class="sigbox">
<span class="sig" id="checkElilo">local
<b>checkElilo ()
<span class="a"> -> </span>
<span class="t">boolean</span>
</b>
</span>
</div>
<p>
Check if elilo is supported</p>
<div class="sigbox">
<span class="sig" id="CorrectLoaderType">local
<b>CorrectLoaderType ()
<span class="a"> -> </span>
<span class="t">boolean</span>
</b>
</span>
</div>
<p>
Check that bootloader matches current hardware</p>
<div class="sigbox">
<span class="sig" id="GptPartitionTable">local
<b>GptPartitionTable ()
<span class="a"> -> </span>
<span class="t">boolean</span>
</b>
</span>
</div>
<p>
Checks for GPT partition table
// FIXME adapt for ELILO if needed</p>
<div class="sigbox">
<span class="sig" id="check_BootDevice">global
<b>check_BootDevice ()
<span class="a"> -> </span>
<span class="t">boolean</span>
</b>
</span>
</div>
<p>
Check if boot partition exist
check if not on raid0</p>
<dl>
<dt>
<b>Return value:</b>
</dt>
<dd>
<table>
<tr>
<td class="pbox">
<span class="t" />
</td>
<td class="descbox">true on success</td>
</tr>
</table>
</dd>
</dl>
<div class="sigbox">
<span class="sig" id="CheckBios_ID">local
<b>CheckBios_ID ()
<span class="a"> -> </span>
<span class="t">boolean</span>
</b>
</span>
</div>
<p>
Check if there is bios_id
if not show warning</p>
<dl>
<dt>
<b>Return value:</b>
</dt>
<dd>
<table>
<tr>
<td class="pbox">
<span class="t" />
</td>
<td class="descbox">true on success</td>
</tr>
</table>
</dd>
</dl>
<div class="sigbox">
<span class="sig" id="RootPartition">local
<b>RootPartition ()
<span class="a"> -> </span>
<span class="t">boolean</span>
</b>
</span>
</div>
<p>
Check that the root partition is reachable</p>
<div class="sigbox">
<span class="sig" id="GRUB">global
<b>GRUB ()
<span class="a"> -> </span>
<span class="t">boolean</span>
</b>
</span>
</div>
<p>
GRUB-related check</p>
<div class="sigbox">
<span class="sig" id="ELILO">local
<b>ELILO ()
<span class="a"> -> </span>
<span class="t">boolean</span>
</b>
</span>
</div>
<p>
ELILO related check</p>
<div class="sigbox">
<span class="sig" id="ZIPL">local
<b>ZIPL ()
<span class="a"> -> </span>
<span class="t">boolean</span>
</b>
</span>
</div>
<p>
ZIPL related check</p>
<div class="sigbox">
<span class="sig" id="PPC">local
<b>PPC ()
<span class="a"> -> </span>
<span class="t">boolean</span>
</b>
</span>
</div>
<p>
PPC related check</p>
<div class="sigbox">
<span class="sig" id="SystemSupported">global
<b>SystemSupported ()
<span class="a"> -> </span>
<span class="t">boolean</span>
</b>
</span>
</div>
<p>
Check if the system configuraiton is supported
Also sets the founds problems into internal variable
Always run this function before calling DetectedProblems()</p>
<dl>
<dt>
<b>Return value:</b>
</dt>
<dd>
<table>
<tr>
<td class="pbox">
<span class="t" />
</td>
<td class="descbox">true if supported</td>
</tr>
</table>
</dd>
</dl>
</div>
<div class="footer">
<hr />
<i>YaST2 Developers Documentation</i>
<img class="right" alt="" src="/usr/share/doc/packages/yast2-devtools/images/yast2-mini.png" />
</div>
</body>
</html>
ACC SHELL 2018