[OE-core] [PATCH 1/1] image.bbclass: add ROOTFS_POSTPROCESS_COMMAND to rootfs[vardeps]

Richard Purdie richard.purdie at linuxfoundation.org
Wed Jul 9 20:42:58 UTC 2014


On Wed, 2014-07-09 at 12:08 +0300, Roxana Ciobanu wrote:
>     Changes to ROOTFS_POSTPROCESS_COMMAND require the rootfs
>     for the image to be rebuilt.
> 
>     [YOCTO #6502]
> 
> Signed-off-by: Roxana Ciobanu <roxana.ciobanu at intel.com>
> ---
>  meta/classes/image.bbclass | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
> index a03b880..e088bdb 100644
> --- a/meta/classes/image.bbclass
> +++ b/meta/classes/image.bbclass
> @@ -75,7 +75,7 @@ LDCONFIGDEPEND_libc-musl = ""
>  do_rootfs[depends] += "makedevs-native:do_populate_sysroot virtual/fakeroot-native:do_populate_sysroot ${LDCONFIGDEPEND}"
>  do_rootfs[depends] += "virtual/update-alternatives-native:do_populate_sysroot update-rc.d-native:do_populate_sysroot"
>  do_rootfs[recrdeptask] += "do_packagedata"
> -do_rootfs[vardeps] += "BAD_RECOMMENDATIONS NO_RECOMMENDATIONS"
> +do_rootfs[vardeps] += "BAD_RECOMMENDATIONS NO_RECOMMENDATIONS ROOTFS_POSTPROCESS_COMMAND"
>  
>  do_build[depends] += "virtual/kernel:do_deploy"

Are there other variables we look at in the rootfs process we also need
to list here?

As background, the move to lib/oe has moved the variables outside the
scope of bitbake's function parsing code so we need to handle that
manually now...

Cheers,

Richard




More information about the Openembedded-core mailing list