[OE-core] [PATCH 2/2] Incremental image generation(Add config sample)

Saul Wold sgw at linux.intel.com
Thu Dec 29 17:33:29 UTC 2011


On 12/28/2011 11:00 PM, Robert Yang wrote:
> Add the config sample for incremental image generation to
> meta-yocto/conf/local.conf.sample
>
> [YOCTO #1651]
>
> Signed-off-by: Robert Yang<liezhi.yang at windriver.com>
> ---
>   meta-yocto/conf/local.conf.sample |    7 +++++++
>   1 files changed, 7 insertions(+), 0 deletions(-)
>
> diff --git a/meta-yocto/conf/local.conf.sample b/meta-yocto/conf/local.conf.sample
> index ca8636c..e33ffd9 100644
> --- a/meta-yocto/conf/local.conf.sample
> +++ b/meta-yocto/conf/local.conf.sample
> @@ -222,3 +222,10 @@ PATCHRESOLVE = "noop"
>   # track the version of this file when it was generated. This can safely be ignored if
>   # this doesn't mean anything to you.
>   CONF_VERSION = "1"
> +
> +# Incremental image generation(only for rpm based rootfs currently), the rootfs
> +# would be totally removed and re-created in the second generation by default,
> +# but with INC_IMAGE_GEN = "1", the rootfs would be kept, and will do
> +# update(remove/add some pkgs) on it.
> +# NOTE: This is not suggested when you want to create a productive rootfs
> +#INC_IMAGE_GEN = "1"

This should probably belong in the local.conf.sample.extended file.

Sau!




More information about the Openembedded-core mailing list