diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index a5d5ea2ab9..34083ac1ba 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml @@ -1987,8 +1987,12 @@ Core layer for images cannot be removed You can specify shell commands and, if necessary, the path to the root filesystem image: - ROOTFS_POSTPROCESS_COMMAND += "${IMAGE_ROOTFS}<shell_command>; ... " + IMAGE_POSTPROCESS_COMMAND += "<shell_command>; ... " + If you need to pass the path to the root filesystem within + the command, you can use + ${IMAGE_ROOTFS}, which points to + the root filesystem image.