Skip to content

Commit 4601c50

Browse files
author
github-actions
committed
Update docs preview for PR #738
1 parent f214cbe commit 4601c50

File tree

4 files changed

+375
-653
lines changed

4 files changed

+375
-653
lines changed

738/Developer-Guide_User-Configurations/index.html

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2134,15 +2134,13 @@ <h2 id="user-provided-patches">User provided patches<a class="headerlink" href="
21342134
<span class="normal">2</span></pre></div></td><td class="code"><div><pre><span></span><code>[ o.k. ] Started patching process for [ kernel sunxi-edge 4.4.0-rc6 ]
21352135
[ o.k. ] Looking for user patches in [ userpatches/kernel/sunxi-edge ]
21362136
</code></pre></div></td></tr></table></div>
2137-
<p>Patches with the same file name and path in the <code>userpatches</code> directory tree override those one in the <code>patch</code> directory. To <em>replace</em> a patch provided by Armbian maintainers, copy it from <code>patch</code> to the corresponding directory in <code>userpatches</code> and edit it to your needs. To <em>disable</em> a patch, create an empty file in the corresponding directory in <code>userpatches</code>.</p>
2137+
<p>Patches with the same file name and path in the <code>userpatches</code> directory tree override those in the <code>patch</code> directory. To <em>replace</em> a patch provided by Armbian maintainers, copy it from <code>patch</code> to the corresponding directory in <code>userpatches</code> and edit it to your needs. To <em>disable</em> a patch, create an empty file in the corresponding directory in <code>userpatches</code>.</p>
21382138
<h2 id="user-provided-configuration">User provided configuration<a class="headerlink" href="#user-provided-configuration" title="Permanent link">&para;</a></h2>
21392139
<p>A configuration file named <code>userpatches/config-&lt;something&gt;.conf.sh</code> (<code>.conf</code> also allowed) is a bash script that is sourced during the build if <code>./compile.sh something</code> is issued. All parameters which normally are passed via command line can be used (<code>PARAM1=value1</code> <code>PARAM2=value</code>) by using the same syntax, one separate line per <code>PARAM</code>. Command-line parameters still can override what is the config file. More advanced use cases can use conditionals, define functions to implement hooks, source other/common config files, etc. A few, quite complex, examples can be found <a href="https://github.com/lanefu/armbian-userpatches-example-indiedroid-nova">here</a>.</p>
21402140
<h2 id="legacy-user-provided-configuration-deprecated-support-for-this-will-be-removed-at-some-point">Legacy user provided configuration (deprecated, support for this will be removed at some point)<a class="headerlink" href="#legacy-user-provided-configuration-deprecated-support-for-this-will-be-removed-at-some-point" title="Permanent link">&para;</a></h2>
2141-
<p>If the file <code>userpatches/lib.config</code> exists, it will be called and can override the particular kernel and u-boot versions. It can also add additional packages to be installed, by adding to <code>PACKAGE_LIST_ADDITIONAL</code>. For a comprehensive list of available variables, look through <code>lib/functions/configuration/main-config.sh</code>. Some examples of what you can change:</p>
2141+
<p>If the file <code>userpatches/lib.config</code> exists, it will be called and can override the particular kernel and u-boot versions. For a comprehensive list of available variables, look through <code>lib/functions/configuration/main-config.sh</code>. Some examples of what you can change:</p>
21422142
<div class="language-text highlight"><table class="highlighttable"><tr><th colspan="2" class="filename"><span class="filename">Text Only</span></th></tr><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal">1</span>
2143-
<span class="normal">2</span>
2144-
<span class="normal">3</span></pre></div></td><td class="code"><div><pre><span></span><code>PACKAGE_LIST_ADDITIONAL=&quot;$PACKAGE_LIST_ADDITIONAL python-serial python&quot; # additional packages
2145-
[[ $LINUXFAMILY == sunxi64 &amp;&amp; $BRANCH == edge ]] &amp;&amp; BOOTBRANCH=&#39;tag:v2017.09&#39; # conditionally change u-boot git branch/tag
2143+
<span class="normal">2</span></pre></div></td><td class="code"><div><pre><span></span><code>[[ $LINUXFAMILY == sunxi64 &amp;&amp; $BRANCH == edge ]] &amp;&amp; BOOTBRANCH=&#39;tag:v2017.09&#39; # conditionally change u-boot git branch/tag
21462144
KERNELBRANCH=&quot;tag:v5.4.28&quot; #always change to this kernel tag
21472145
</code></pre></div></td></tr></table></div>
21482146
<h2 id="user-provided-kernel-config">User provided kernel config<a class="headerlink" href="#user-provided-kernel-config" title="Permanent link">&para;</a></h2>

738/Process_CI/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2571,7 +2571,7 @@ <h2 id="smoke-tests-on-hardware-devices-release-manager">Smoke tests on hardware
25712571
<ul>
25722572
<li>powering test equipment, consistent from several network switches, power supplies and dozens of hardware platforms</li>
25732573
<li>running upgrade, reboot, repository switch, reboot, &hellip; tests in parallel</li>
2574-
<li>uploading a test report as build artifact following by powering the devices off.</li>
2574+
<li>uploading a test report as build artifact followed by powering the devices off.</li>
25752575
</ul>
25762576
<h2 id="automatic-pull-requests-labeler-pr">Automatic Pull Requests Labeler (PR)<a class="headerlink" href="#automatic-pull-requests-labeler-pr" title="Permanent link">&para;</a></h2>
25772577
<p><a href="https://github.com/armbian/build/actions/workflows/labeler.yml"><img alt="Automatic Labeler" src="https://github.com/armbian/build/actions/workflows/labeler.yml/badge.svg" /></a></p>

0 commit comments

Comments
 (0)