mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-12-03 21:30:11 -05:00
Deployed 9d12bcf23 to latest with MkDocs 1.6.1 and mike 2.2.0
This commit is contained in:
parent
22ff5c06ca
commit
2828418a1c
12 changed files with 256 additions and 97 deletions
|
|
@ -517,6 +517,17 @@
|
|||
</span>
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#container-packages" class="md-nav__link">
|
||||
<span class="md-ellipsis">
|
||||
|
||||
Container packages
|
||||
|
||||
</span>
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
|
|
@ -2300,6 +2311,17 @@
|
|||
</span>
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#container-packages" class="md-nav__link">
|
||||
<span class="md-ellipsis">
|
||||
|
||||
Container packages
|
||||
|
||||
</span>
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
|
|
@ -2432,32 +2454,50 @@ branches should be considered works in progress.</p>
|
|||
</span><span id="__span-1-3"><a id="__codelineno-1-3" name="__codelineno-1-3" href="#__codelineno-1-3"></a>$ make deb
|
||||
</span><span id="__span-1-4"><a id="__codelineno-1-4" name="__codelineno-1-4" href="#__codelineno-1-4"></a>$ sudo dpkg -i ../mergerfs_<version>_<arch>.deb
|
||||
</span></code></pre></div>
|
||||
<h2 id="rhel-centos-rocky-fedora">RHEL / CentOS / Rocky / Fedora</h2>
|
||||
<div class="language-text highlight"><pre><span></span><code><span id="__span-2-1"><a id="__codelineno-2-1" name="__codelineno-2-1" href="#__codelineno-2-1"></a>$ su -
|
||||
</span><span id="__span-2-2"><a id="__codelineno-2-2" name="__codelineno-2-2" href="#__codelineno-2-2"></a># cd mergerfs
|
||||
</span><span id="__span-2-3"><a id="__codelineno-2-3" name="__codelineno-2-3" href="#__codelineno-2-3"></a># buildtools/install-build-pkgs
|
||||
</span><span id="__span-2-4"><a id="__codelineno-2-4" name="__codelineno-2-4" href="#__codelineno-2-4"></a># make rpm
|
||||
</span><span id="__span-2-5"><a id="__codelineno-2-5" name="__codelineno-2-5" href="#__codelineno-2-5"></a># rpm -i rpmbuild/RPMS/<arch>/mergerfs-<version>.<arch>.rpm
|
||||
<p>Debian package compilation uses the available CPUs by default. To limit
|
||||
parallelism, set <code>DEB_BUILD_OPTIONS</code>:</p>
|
||||
<div class="language-text highlight"><pre><span></span><code><span id="__span-2-1"><a id="__codelineno-2-1" name="__codelineno-2-1" href="#__codelineno-2-1"></a>$ DEB_BUILD_OPTIONS=parallel=4 make deb
|
||||
</span></code></pre></div>
|
||||
<h2 id="rhel-centos-rocky-fedora">RHEL / CentOS / Rocky / Fedora</h2>
|
||||
<div class="language-text highlight"><pre><span></span><code><span id="__span-3-1"><a id="__codelineno-3-1" name="__codelineno-3-1" href="#__codelineno-3-1"></a>$ su -
|
||||
</span><span id="__span-3-2"><a id="__codelineno-3-2" name="__codelineno-3-2" href="#__codelineno-3-2"></a># cd mergerfs
|
||||
</span><span id="__span-3-3"><a id="__codelineno-3-3" name="__codelineno-3-3" href="#__codelineno-3-3"></a># buildtools/install-build-pkgs
|
||||
</span><span id="__span-3-4"><a id="__codelineno-3-4" name="__codelineno-3-4" href="#__codelineno-3-4"></a># make rpm
|
||||
</span><span id="__span-3-5"><a id="__codelineno-3-5" name="__codelineno-3-5" href="#__codelineno-3-5"></a># rpm -i rpmbuild/RPMS/<arch>/mergerfs-<version>.<arch>.rpm
|
||||
</span></code></pre></div>
|
||||
<p>Fedora 45 rejects unsigned RPMs by default. When installing a locally
|
||||
built RPM that you trust, pass <code>--nosignature</code> to <code>rpm</code> to allow that
|
||||
unsigned package.</p>
|
||||
<p>Rocky Linux container builds activate newer GCC Toolsets when available.
|
||||
Both the Rocky 10 <code>/usr/lib/gcc-toolset/<version>-env.source</code> activation
|
||||
script and the older <code>/opt/rh/gcc-toolset-<version>/enable</code> layout are
|
||||
supported.</p>
|
||||
<h2 id="container-packages">Container packages</h2>
|
||||
<p>Package build targets are defined in <code>buildtools/containerfiles/</code>, with
|
||||
the standard distro targets listed in <code>buildtools/target-containers.txt</code>.
|
||||
Debian release builds target Debian 12 and 13. Other targets include
|
||||
Fedora 45 on <code>amd64</code> and <code>arm64</code>, and Ubuntu 26.10 on <code>amd64</code>, <code>arm64</code>,
|
||||
<code>armhf</code>, and <code>riscv64</code>. Foreign-architecture builds require QEMU/binfmt
|
||||
support.</p>
|
||||
<h2 id="generic-linux">Generic Linux</h2>
|
||||
<p>Have git, g++ or clang, make, python installed.</p>
|
||||
<div class="language-text highlight"><pre><span></span><code><span id="__span-3-1"><a id="__codelineno-3-1" name="__codelineno-3-1" href="#__codelineno-3-1"></a>$ cd mergerfs
|
||||
</span><span id="__span-3-2"><a id="__codelineno-3-2" name="__codelineno-3-2" href="#__codelineno-3-2"></a>$ make
|
||||
</span><span id="__span-3-3"><a id="__codelineno-3-3" name="__codelineno-3-3" href="#__codelineno-3-3"></a>$ sudo make install
|
||||
<div class="language-text highlight"><pre><span></span><code><span id="__span-4-1"><a id="__codelineno-4-1" name="__codelineno-4-1" href="#__codelineno-4-1"></a>$ cd mergerfs
|
||||
</span><span id="__span-4-2"><a id="__codelineno-4-2" name="__codelineno-4-2" href="#__codelineno-4-2"></a>$ make
|
||||
</span><span id="__span-4-3"><a id="__codelineno-4-3" name="__codelineno-4-3" href="#__codelineno-4-3"></a>$ sudo make install
|
||||
</span></code></pre></div>
|
||||
<h2 id="freebsd">FreeBSD</h2>
|
||||
<p>Have git, g++ or clang, gmake, python installed.</p>
|
||||
<div class="language-text highlight"><pre><span></span><code><span id="__span-4-1"><a id="__codelineno-4-1" name="__codelineno-4-1" href="#__codelineno-4-1"></a>$ cd mergerfs
|
||||
</span><span id="__span-4-2"><a id="__codelineno-4-2" name="__codelineno-4-2" href="#__codelineno-4-2"></a>$ gmake
|
||||
</span><span id="__span-4-3"><a id="__codelineno-4-3" name="__codelineno-4-3" href="#__codelineno-4-3"></a>$ gmake install # as root
|
||||
<div class="language-text highlight"><pre><span></span><code><span id="__span-5-1"><a id="__codelineno-5-1" name="__codelineno-5-1" href="#__codelineno-5-1"></a>$ cd mergerfs
|
||||
</span><span id="__span-5-2"><a id="__codelineno-5-2" name="__codelineno-5-2" href="#__codelineno-5-2"></a>$ gmake
|
||||
</span><span id="__span-5-3"><a id="__codelineno-5-3" name="__codelineno-5-3" href="#__codelineno-5-3"></a>$ gmake install # as root
|
||||
</span></code></pre></div>
|
||||
<h2 id="build-options">Build options</h2>
|
||||
<div class="language-text highlight"><pre><span></span><code><span id="__span-5-1"><a id="__codelineno-5-1" name="__codelineno-5-1" href="#__codelineno-5-1"></a>$ make help
|
||||
</span><span id="__span-5-2"><a id="__codelineno-5-2" name="__codelineno-5-2" href="#__codelineno-5-2"></a>usage: make
|
||||
</span><span id="__span-5-3"><a id="__codelineno-5-3" name="__codelineno-5-3" href="#__codelineno-5-3"></a>
|
||||
</span><span id="__span-5-4"><a id="__codelineno-5-4" name="__codelineno-5-4" href="#__codelineno-5-4"></a>make USE_XATTR=0 - build program without xattrs functionality
|
||||
</span><span id="__span-5-5"><a id="__codelineno-5-5" name="__codelineno-5-5" href="#__codelineno-5-5"></a>make STATIC=1 - build static binary
|
||||
</span><span id="__span-5-6"><a id="__codelineno-5-6" name="__codelineno-5-6" href="#__codelineno-5-6"></a>make LTO=1 - build with link time optimization
|
||||
<div class="language-text highlight"><pre><span></span><code><span id="__span-6-1"><a id="__codelineno-6-1" name="__codelineno-6-1" href="#__codelineno-6-1"></a>$ make help
|
||||
</span><span id="__span-6-2"><a id="__codelineno-6-2" name="__codelineno-6-2" href="#__codelineno-6-2"></a>usage: make
|
||||
</span><span id="__span-6-3"><a id="__codelineno-6-3" name="__codelineno-6-3" href="#__codelineno-6-3"></a>
|
||||
</span><span id="__span-6-4"><a id="__codelineno-6-4" name="__codelineno-6-4" href="#__codelineno-6-4"></a>make USE_XATTR=0 - build program without xattrs functionality
|
||||
</span><span id="__span-6-5"><a id="__codelineno-6-5" name="__codelineno-6-5" href="#__codelineno-6-5"></a>make STATIC=1 - build static binary
|
||||
</span><span id="__span-6-6"><a id="__codelineno-6-6" name="__codelineno-6-6" href="#__codelineno-6-6"></a>make LTO=1 - build with link time optimization
|
||||
</span></code></pre></div>
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -2724,11 +2724,11 @@ the <a href="https://github.com/trapexit/mergerfs/releases">releases page</a>.</
|
|||
</span><span id="__span-1-2"><a id="__codelineno-1-2" name="__codelineno-1-2" href="#__codelineno-1-2"></a>sudo dpkg -i mergerfs_<ver>.debian-<rel>_<arch>.deb
|
||||
</span></code></pre></div>
|
||||
<h4 id="ubuntu">Ubuntu</h4>
|
||||
<p>Given non-LTS releases are rarely used for servers and only have <a href="https://ubuntu.com/about/release-cycle">9
|
||||
months of support</a> we do not
|
||||
build packages for them by default. It is recommended that you first
|
||||
try the <code>deb</code> file for the LTS release most closely related to your
|
||||
non-LTS release. If that does not work you can use the <a href="#static-linux-binaries">static
|
||||
<p>Package build targets include selected Ubuntu LTS and interim releases.
|
||||
Check the <a href="https://github.com/trapexit/mergerfs/releases">release assets</a>
|
||||
for your Ubuntu version and architecture. If no matching package is
|
||||
available, try the <code>deb</code> file for the LTS release most closely related
|
||||
to your non-LTS release. If that does not work you can use the <a href="#static-linux-binaries">static
|
||||
build</a> or <a href="https://github.com/trapexit/mergerfs/issues">file a
|
||||
ticket</a> requesting a
|
||||
package built.</p>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue