From f9663fa341d82c054cce1c47d03dc2172d22f4a0 Mon Sep 17 00:00:00 2001 From: Dave Dykstra <2129743+DrDaveD@users.noreply.github.com> Date: Fri, 23 Aug 2024 09:23:15 -0500 Subject: [PATCH 1/2] add missing quote in fakeroot mode 3 description Signed-off-by: Dave Dykstra <2129743+DrDaveD@users.noreply.github.com> --- fakeroot.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fakeroot.rst b/fakeroot.rst index dc8b5c8..7870cf1 100644 --- a/fakeroot.rst +++ b/fakeroot.rst @@ -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 From e37ca4da433babfbbce48130328ead7b3ef0c669 Mon Sep 17 00:00:00 2001 From: Dave Dykstra <2129743+DrDaveD@users.noreply.github.com> Date: Fri, 23 Aug 2024 09:36:26 -0500 Subject: [PATCH 2/2] use the word container instead of system Signed-off-by: Dave Dykstra <2129743+DrDaveD@users.noreply.github.com> --- fakeroot.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fakeroot.rst b/fakeroot.rst index 7870cf1..35d7b0d 100644 --- a/fakeroot.rst +++ b/fakeroot.rst @@ -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} @@ -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:: @@ -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