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

Robert Yang liezhi.yang at windriver.com
Thu Dec 29 07:00:13 UTC 2011


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"
-- 
1.7.4.1





More information about the Openembedded-core mailing list