diff options
author | Paul Eggleton <bluelightning@bluelightning.org> | 2023-11-06 23:29:33 +1300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-11-06 22:52:27 +0000 |
commit | 7a026c41aad23a58daeebb6b3e3b725f7349dd8d (patch) | |
tree | 68a88cc172bd247bf12b1058c7363d26269d031b /documentation | |
parent | 27949b33b71921a16403a266e673a8bbff7ba484 (diff) | |
download | poky-7a026c41aad23a58daeebb6b3e3b725f7349dd8d.tar.gz |
ref-manual: remove semicolons from *PROCESS_COMMAND variables
In nanbield these are no longer needed - spaces are sufficient.
The code still handles any semicolons (replacing them with spaces before
interpreting the value), but let's avoid people adding them from now on
in case we decide to change that in future.
(From yocto-docs rev: 2947f6309f86cdf5322a39d4420e77431a8e3572)
Signed-off-by: Paul Eggleton <bluelightning@bluelightning.org>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/ref-manual/variables.rst | 36 |
1 files changed, 19 insertions, 17 deletions
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 82cef4511c..12889a5085 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst | |||
@@ -3802,9 +3802,9 @@ system and gives an overview of their function and contents. | |||
3802 | :term:`IMAGE_POSTPROCESS_COMMAND` | 3802 | :term:`IMAGE_POSTPROCESS_COMMAND` |
3803 | Specifies a list of functions to call once the OpenEmbedded build | 3803 | Specifies a list of functions to call once the OpenEmbedded build |
3804 | system creates the final image output files. You can specify | 3804 | system creates the final image output files. You can specify |
3805 | functions separated by semicolons:: | 3805 | functions separated by spaces:: |
3806 | 3806 | ||
3807 | IMAGE_POSTPROCESS_COMMAND += "function; ... " | 3807 | IMAGE_POSTPROCESS_COMMAND += "function" |
3808 | 3808 | ||
3809 | If you need to pass the root filesystem path to a command within the | 3809 | If you need to pass the root filesystem path to a command within the |
3810 | function, you can use ``${IMAGE_ROOTFS}``, which points to the | 3810 | function, you can use ``${IMAGE_ROOTFS}``, which points to the |
@@ -3815,9 +3815,9 @@ system and gives an overview of their function and contents. | |||
3815 | :term:`IMAGE_PREPROCESS_COMMAND` | 3815 | :term:`IMAGE_PREPROCESS_COMMAND` |
3816 | Specifies a list of functions to call before the OpenEmbedded build | 3816 | Specifies a list of functions to call before the OpenEmbedded build |
3817 | system creates the final image output files. You can specify | 3817 | system creates the final image output files. You can specify |
3818 | functions separated by semicolons:: | 3818 | functions separated by spaces:: |
3819 | 3819 | ||
3820 | IMAGE_PREPROCESS_COMMAND += "function; ... " | 3820 | IMAGE_PREPROCESS_COMMAND += "function" |
3821 | 3821 | ||
3822 | If you need to pass the root filesystem path to a command within the | 3822 | If you need to pass the root filesystem path to a command within the |
3823 | function, you can use ``${IMAGE_ROOTFS}``, which points to the | 3823 | function, you can use ``${IMAGE_ROOTFS}``, which points to the |
@@ -6488,9 +6488,9 @@ system and gives an overview of their function and contents. | |||
6488 | :term:`POPULATE_SDK_POST_HOST_COMMAND` | 6488 | :term:`POPULATE_SDK_POST_HOST_COMMAND` |
6489 | Specifies a list of functions to call once the OpenEmbedded build | 6489 | Specifies a list of functions to call once the OpenEmbedded build |
6490 | system has created the host part of the SDK. You can specify | 6490 | system has created the host part of the SDK. You can specify |
6491 | functions separated by semicolons:: | 6491 | functions separated by spaces:: |
6492 | 6492 | ||
6493 | POPULATE_SDK_POST_HOST_COMMAND += "function; ... " | 6493 | POPULATE_SDK_POST_HOST_COMMAND += "function" |
6494 | 6494 | ||
6495 | If you need to pass the SDK path to a command within a function, you | 6495 | If you need to pass the SDK path to a command within a function, you |
6496 | can use ``${SDK_DIR}``, which points to the parent directory used by | 6496 | can use ``${SDK_DIR}``, which points to the parent directory used by |
@@ -6500,9 +6500,9 @@ system and gives an overview of their function and contents. | |||
6500 | :term:`POPULATE_SDK_POST_TARGET_COMMAND` | 6500 | :term:`POPULATE_SDK_POST_TARGET_COMMAND` |
6501 | Specifies a list of functions to call once the OpenEmbedded build | 6501 | Specifies a list of functions to call once the OpenEmbedded build |
6502 | system has created the target part of the SDK. You can specify | 6502 | system has created the target part of the SDK. You can specify |
6503 | functions separated by semicolons:: | 6503 | functions separated by spaces:: |
6504 | 6504 | ||
6505 | POPULATE_SDK_POST_TARGET_COMMAND += "function; ... " | 6505 | POPULATE_SDK_POST_TARGET_COMMAND += "function" |
6506 | 6506 | ||
6507 | If you need to pass the SDK path to a command within a function, you | 6507 | If you need to pass the SDK path to a command within a function, you |
6508 | can use ``${SDK_DIR}``, which points to the parent directory used by | 6508 | can use ``${SDK_DIR}``, which points to the parent directory used by |
@@ -7104,9 +7104,9 @@ system and gives an overview of their function and contents. | |||
7104 | :term:`ROOTFS_POSTINSTALL_COMMAND` | 7104 | :term:`ROOTFS_POSTINSTALL_COMMAND` |
7105 | Specifies a list of functions to call after the OpenEmbedded build | 7105 | Specifies a list of functions to call after the OpenEmbedded build |
7106 | system has installed packages. You can specify functions separated by | 7106 | system has installed packages. You can specify functions separated by |
7107 | semicolons:: | 7107 | spaces:: |
7108 | 7108 | ||
7109 | ROOTFS_POSTINSTALL_COMMAND += "function; ... " | 7109 | ROOTFS_POSTINSTALL_COMMAND += "function" |
7110 | 7110 | ||
7111 | If you need to pass the root filesystem path to a command within a | 7111 | If you need to pass the root filesystem path to a command within a |
7112 | function, you can use ``${IMAGE_ROOTFS}``, which points to the | 7112 | function, you can use ``${IMAGE_ROOTFS}``, which points to the |
@@ -7117,9 +7117,9 @@ system and gives an overview of their function and contents. | |||
7117 | :term:`ROOTFS_POSTPROCESS_COMMAND` | 7117 | :term:`ROOTFS_POSTPROCESS_COMMAND` |
7118 | Specifies a list of functions to call once the OpenEmbedded build | 7118 | Specifies a list of functions to call once the OpenEmbedded build |
7119 | system has created the root filesystem. You can specify functions | 7119 | system has created the root filesystem. You can specify functions |
7120 | separated by semicolons:: | 7120 | separated by spaces:: |
7121 | 7121 | ||
7122 | ROOTFS_POSTPROCESS_COMMAND += "function; ... " | 7122 | ROOTFS_POSTPROCESS_COMMAND += "function" |
7123 | 7123 | ||
7124 | If you need to pass the root filesystem path to a command within a | 7124 | If you need to pass the root filesystem path to a command within a |
7125 | function, you can use ``${IMAGE_ROOTFS}``, which points to the | 7125 | function, you can use ``${IMAGE_ROOTFS}``, which points to the |
@@ -7132,9 +7132,9 @@ system and gives an overview of their function and contents. | |||
7132 | system has removed unnecessary packages. When runtime package | 7132 | system has removed unnecessary packages. When runtime package |
7133 | management is disabled in the image, several packages are removed | 7133 | management is disabled in the image, several packages are removed |
7134 | including ``base-passwd``, ``shadow``, and ``update-alternatives``. | 7134 | including ``base-passwd``, ``shadow``, and ``update-alternatives``. |
7135 | You can specify functions separated by semicolons:: | 7135 | You can specify functions separated by spaces:: |
7136 | 7136 | ||
7137 | ROOTFS_POSTUNINSTALL_COMMAND += "function; ... " | 7137 | ROOTFS_POSTUNINSTALL_COMMAND += "function" |
7138 | 7138 | ||
7139 | If you need to pass the root filesystem path to a command within a | 7139 | If you need to pass the root filesystem path to a command within a |
7140 | function, you can use ``${IMAGE_ROOTFS}``, which points to the | 7140 | function, you can use ``${IMAGE_ROOTFS}``, which points to the |
@@ -7145,9 +7145,9 @@ system and gives an overview of their function and contents. | |||
7145 | :term:`ROOTFS_PREPROCESS_COMMAND` | 7145 | :term:`ROOTFS_PREPROCESS_COMMAND` |
7146 | Specifies a list of functions to call before the OpenEmbedded build | 7146 | Specifies a list of functions to call before the OpenEmbedded build |
7147 | system has created the root filesystem. You can specify functions | 7147 | system has created the root filesystem. You can specify functions |
7148 | separated by semicolons:: | 7148 | separated by spaces:: |
7149 | 7149 | ||
7150 | ROOTFS_PREPROCESS_COMMAND += "function; ... " | 7150 | ROOTFS_PREPROCESS_COMMAND += "function" |
7151 | 7151 | ||
7152 | If you need to pass the root filesystem path to a command within a | 7152 | If you need to pass the root filesystem path to a command within a |
7153 | function, you can use ``${IMAGE_ROOTFS}``, which points to the | 7153 | function, you can use ``${IMAGE_ROOTFS}``, which points to the |
@@ -7462,7 +7462,9 @@ system and gives an overview of their function and contents. | |||
7462 | :term:`SDK_POSTPROCESS_COMMAND` | 7462 | :term:`SDK_POSTPROCESS_COMMAND` |
7463 | Specifies a list of functions to call once the OpenEmbedded build | 7463 | Specifies a list of functions to call once the OpenEmbedded build |
7464 | system creates the SDK. You can specify functions separated by | 7464 | system creates the SDK. You can specify functions separated by |
7465 | semicolons: SDK_POSTPROCESS_COMMAND += "function; ... " | 7465 | spaces: |
7466 | |||
7467 | SDK_POSTPROCESS_COMMAND += "function" | ||
7466 | 7468 | ||
7467 | If you need to pass an SDK path to a command within a function, you | 7469 | If you need to pass an SDK path to a command within a function, you |
7468 | can use ``${SDK_DIR}``, which points to the parent directory used by | 7470 | can use ``${SDK_DIR}``, which points to the parent directory used by |