rsb: Fix the path to the tar for the untar with strip option.

The change is different to the ticket because the example is about coping
and deploying the build on a different machine.

Closes #2324.
This commit is contained in:
Chris Johns 2017-03-21 14:21:15 +11:00
parent 81276042d2
commit e9b193a5fa

View File

@ -378,14 +378,15 @@ the tar file somewhere and copy the file tree from the level you have write
access from. Embedding the full prefix path in the tar files lets you know what access from. Embedding the full prefix path in the tar files lets you know what
the prefix is and is recommended. For example if the prefix is and is recommended. For example if
``/home/chris/development/rtems/4.11`` is the prefix used you cannot change ``/home/chris/development/rtems/4.11`` is the prefix used you cannot change
directory to the root (``/``) and install because the ``/home`` is root access directory to the root (``/``) and untar the file because the ``/home`` is root
only. To install you would: access only. To install a tar file you have downloaded into your new machine's
``Downloads`` directory in your home directoty you would enter:
.. code-block:: shell .. code-block:: shell
$ cd $ cd /somewhere
$ tar --strip-components=3 -xjf rtems-4.11-sparc-rtems4.11-1.tar.bz2 $ tar --strip-components=3 -xjf \
$HOME/Downloads/rtems-4.11-sparc-rtems4.11-1.tar.bz2
A build set tar file is created by adding ``--bset-tar-file`` option to the A build set tar file is created by adding ``--bset-tar-file`` option to the
``sb-set-builder`` command:: ``sb-set-builder`` command::