瀏覽代碼

Incremental rpm image generation(Add config sample)

Add the config sample for incremental image generation to
meta-yocto/conf/local.conf.sample.extended

[YOCTO #1651]

(From OE-Core rev: 0df0399677a6677fc810e32e9275ee9e79021e9a)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Robert Yang 13 年之前
父節點
當前提交
6bde156c5c
共有 1 個文件被更改,包括 7 次插入0 次删除
  1. 7 0
      meta-yocto/conf/local.conf.sample.extended

+ 7 - 0
meta-yocto/conf/local.conf.sample.extended

@@ -123,3 +123,10 @@
 # The following is a list of classes to import to use in the generation of images
 # currently an example class is image_types_uboot
 # IMAGE_CLASSES = " image_types_uboot"
+
+# Incremental rpm image generation, the rootfs would be totally removed
+# and re-created in the second generation by default, but with
+# INC_RPM_IMAGE_GEN = "1", the rpm based 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_RPM_IMAGE_GEN = "1"