]> code.ossystems Code Review - openembedded-core.git/commit
package_manager.py: support ipk incremental image generation
authorHongxu Jia <hongxu.jia@windriver.com>
Fri, 21 Feb 2014 06:12:52 +0000 (14:12 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 21 Feb 2014 16:13:54 +0000 (16:13 +0000)
commit5df18065e267a7e55a990ac3728414bb6e28a723
tree32869b3bed31e8ea83371b2f7fa5262bbdc9ebfc
parent494adecd878496c2edc663ba09a456a9735d8252
package_manager.py: support ipk incremental image generation

Add the following three functions to OpkgPM class:
- The 'dummy_install' is used to dummy install pkgs, and returns the log
  of output;
- The 'backup_packaging_data' is used to back up the current opkg
  database;
- The 'recover_packaging_data' is used to recover the opkg database
  which backed up by the previous image creation;

Tweak 'remove' function in OpkgPM class, which the options for remove
with dependencies was incorrect.

Tweak 'handle_bad_recommendations' function in OpkgPM class:
- Fix none value check;
- Add the existance check of opkg status file;

[YOCTO #1894]
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
meta/lib/oe/package_manager.py