[4/4] classes: fix comment in container-img class

Message ID 20210728152210.7089-5-henning.schild@siemens.com
State Superseded, archived
Headers show
Series Allow better control over container tags | expand

Commit Message

Henning Schild July 28, 2021, 7:22 a.m. UTC
The task name is in fact a different one, the function sits in another
class.

Signed-off-by: Henning Schild <henning.schild@siemens.com>
---
 meta/classes/container-img.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Silvano Cirujano Cuesta July 29, 2021, 4:52 a.m. UTC | #1
On 28/07/2021 17:22, Henning Schild wrote:
> The task name is in fact a different one, the function sits in another
> class.

The error has historical reasons. But it's obvious (see the "do_container_image") that you're fully right.

> 
> Signed-off-by: Henning Schild <henning.schild@siemens.com>
> ---
>  meta/classes/container-img.bbclass | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/classes/container-img.bbclass b/meta/classes/container-img.bbclass
> index 9928a58ef53d..edd0e7f8f932 100644
> --- a/meta/classes/container-img.bbclass
> +++ b/meta/classes/container-img.bbclass
> @@ -3,7 +3,7 @@
>  #
>  # SPDX-License-Identifier: MIT
>  #
> -# This class provides the task 'containerize_rootfs'
> +# This class provides the task 'container_image'
>  # to create container images containing the target rootfs.
>  
>  do_container_image[stamp-extra-info] = "${DISTRO}-${MACHINE}"
>

Patch

diff --git a/meta/classes/container-img.bbclass b/meta/classes/container-img.bbclass
index 9928a58ef53d..edd0e7f8f932 100644
--- a/meta/classes/container-img.bbclass
+++ b/meta/classes/container-img.bbclass
@@ -3,7 +3,7 @@ 
 #
 # SPDX-License-Identifier: MIT
 #
-# This class provides the task 'containerize_rootfs'
+# This class provides the task 'container_image'
 # to create container images containing the target rootfs.
 
 do_container_image[stamp-extra-info] = "${DISTRO}-${MACHINE}"