From: Roland Hieber <rhi@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Roland Hieber <rhi@pengutronix.de>
Subject: [ptxdist] [PATCH] doc: ref_make_macros: unify and fix label names
Date: Wed, 19 Aug 2020 12:51:44 +0200 [thread overview]
Message-ID: <20200819105144.17850-1-rhi@pengutronix.de> (raw)
The install_copy label was in the wrong place, remove it. We already
had install_copy,reference too. Remove the ',reference' part from the
already existing to be in line with the other labels in the same file.
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
doc/daily_work.inc | 2 +-
doc/ref_make_macros.rst | 8 +++-----
2 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/doc/daily_work.inc b/doc/daily_work.inc
index ca3ea6903db6..8fe7739aa0c8 100644
--- a/doc/daily_work.inc
+++ b/doc/daily_work.inc
@@ -1366,7 +1366,7 @@ permissions related to file permission masks.
PTXdist requires a ``umask`` of ``0022`` to be able to create files accessible
by regular users. This is important at build-time, since it propagates to the
generated target filesystem images as well. For example the ``install_tree``
-macro (refer :ref:`install_tree,reference`) uses the file permissions it finds
+macro (refer :ref:`install_tree`) uses the file permissions it finds
in the build machine's filesystem also for the target filesystem image. With
a different ``umask`` than ``0022`` at build-time this may fail badly at
run-time with strange erroneous behaviour (for example some daemons with
diff --git a/doc/ref_make_macros.rst b/doc/ref_make_macros.rst
index b4e181a76c43..6f056adf3e7d 100644
--- a/doc/ref_make_macros.rst
+++ b/doc/ref_make_macros.rst
@@ -80,8 +80,6 @@ Usage:
Removes the given directory ``<directory path>``
-.. _install_copy:
-
world/get, world/extract, world/prepare, world/compile, world/install
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -150,7 +148,7 @@ For ``install`` the package directory is deleted.
When ``--verbose`` is used then the full command is logged. With
``--quiet`` both stdout and stderr are redirected to the logfile.
-.. _install_copy,reference:
+.. _install_copy:
install_copy
~~~~~~~~~~~~~
@@ -252,7 +250,7 @@ Copy a file from the package install directory to the root filesystem:
$(call install_copy, foo, 0, 0, 0755, -, /usr/bin/foo)
-.. _install_tree,reference:
+.. _install_tree:
install_tree
~~~~~~~~~~~~
@@ -284,7 +282,7 @@ Some of the parameters have fixed meanings:
**<destination dir>**
The basename of the to-be-installed tree in the root filesystem
**<strip>**
- same as for :ref:`install_copy,reference`.
+ same as for :ref:`install_copy`.
Note: This installation macro
--
2.28.0
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
next reply other threads:[~2020-08-19 10:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-19 10:51 Roland Hieber [this message]
2020-09-04 17:01 ` [ptxdist] [APPLIED] " Michael Olbrich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200819105144.17850-1-rhi@pengutronix.de \
--to=rhi@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox