Skip to content

Commit

Permalink
Merge pull request #296 from DrDaveD/pick295
Browse files Browse the repository at this point in the history
Fix fakeroot doc (1.3)
  • Loading branch information
DrDaveD authored Aug 23, 2024
2 parents dd28aa4 + e37ca4d commit 10cde4a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions fakeroot.rst
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ the host:
<{admindocs}/installation.html#install-from-pre-built-packages>`__
to install {Project} because it downloads a fakeroot command
built with as old a libc as possible.
Otherwise you can also try using the ``--ignore-fakeroot-command`
Otherwise you can also try using the ``--ignore-fakeroot-command``
which may work if the commands in the ``%post`` section of the build
definition file are simple enough.
As a last resort advanced option see the
Expand Down Expand Up @@ -249,7 +249,7 @@ In order to work correctly with user namespaces there also needs to be
an environment variable setting of ``FAKEROOTDONTTRYCHOWN=1``.

For example, with a definition file called ``my.def``
containing this for a RHEL-derived system:
containing this for a RHEL-derived container:

.. code:: {command}

Expand All @@ -263,7 +263,7 @@ containing this for a RHEL-derived system:
dnf install -y openssh
'

or this for an alpine system:
or this for an alpine container:

.. code::
Expand All @@ -283,7 +283,7 @@ then build with

{command} build --ignore-fakeroot-command my.sif my.def

A Debian-derived system is more challenging because even the
A Debian-derived container is more challenging because even the
installation of the fakeroot package itself requires more than is
available in fakeroot mode 2 (root-mapped user namespace). So to
demonstrate this you need to first build an image with another method
Expand Down

0 comments on commit 10cde4a

Please sign in to comment.