generic-poky/meta
Robert Yang 9d1823b2a0 Incremental rpm image generation
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

For example:
  1) Add the follow config option to a conf file:
     INC_RPM_IMAGE_GEN = "1"

  2) bitbake core-image-sato
     modify a package
     bitbake core-image-sato

The rootfs would not be totally removed and re-created in the second
generation, it would be simply updated based on the "package".

Implatation:
1) Figure out the pkg which need to be removed or re-installed, then use
'rpm -e to remove the old one. Use the rpm's BUILDTIME to determine
which pkg has been rebuilt.

2) Figure out the pkg which is newly added, and use 'rpm -U' to install
it.

This only for the rpm based rootfs, the deb and ipk based rootfs would
be done later.

[YOCTO #1651]

(From OE-Core rev: 575ba3c9e153a1d8ac228a99a03ca2df5fbca151)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-11 10:36:22 +00:00
..
classes Incremental rpm image generation 2012-01-11 10:36:22 +00:00
conf distro_tracking: update manual check info 2012-01-10 17:40:44 +00:00
files license: manifest and license path 2011-12-08 15:24:30 +00:00
lib/oe buildhistory: add script to check for significant changes 2012-01-06 12:11:30 +00:00
recipes-bsp misc patches: fix patch headers 2012-01-03 12:14:33 +00:00
recipes-connectivity avahi-ui: fix build with automake-1.11.2 2012-01-03 12:14:34 +00:00
recipes-core task-core-tools: adapt to kexec-tools package split 2012-01-10 17:28:47 +00:00
recipes-devtools valgrind: add powerpc to the compatible host and add ${TCLIBC}-dbg in RRECOMMENDS-powerpc 2012-01-06 12:13:09 +00:00
recipes-extended findutils: Use CACHED_CONFIGUREVARS to specify cached configure vars 2012-01-10 17:28:46 +00:00
recipes-gnome native.bbclass: Fix variable remapping coverage 2012-01-05 12:36:28 +00:00
recipes-graphics libxxf86dga: fix compilation with x32 toolchain 2012-01-10 17:28:41 +00:00
recipes-kernel kexec-tools: split packaging of kexec and kdump 2012-01-10 17:28:47 +00:00
recipes-multimedia libomxil: upgrade to 0.9.3 2012-01-03 12:14:35 +00:00
recipes-qt qt4-x11-free.inc: use QT_BASE_NAME from qt4x11.bbclass 2012-01-06 12:11:33 +00:00
recipes-rt rt-tests: update to 0.83 2011-11-04 15:43:29 +00:00
recipes-sato puzzles: fixed SRC_URI Checksums 2012-01-03 12:14:39 +00:00
recipes-support libusb-compat: keep *.la in base_libdir 2012-01-10 17:28:43 +00:00
site Revert "site/common-uclibc: Cache gl_cv_func_wcwidth_works" 2012-01-10 18:33:25 +00:00
COPYING.MIT Add missing licence files (COPYING.MIT) 2006-07-23 13:52:32 +00:00
recipes.txt meta/recipes.txt: correct Qt capitalisation 2011-09-07 22:54:17 +01:00