]> code.ossystems Code Review - openembedded-core.git/commit
lib/oe/manifest.py: add library for image manifest creation
authorLaurentiu Palcu <laurentiu.palcu@intel.com>
Wed, 18 Dec 2013 15:32:18 +0000 (17:32 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 11 Feb 2014 11:50:25 +0000 (11:50 +0000)
commita9d8e5e5878d14b4804317a7f7ea6394fca5e010
tree7fa74555447f22afa2a688898950f90de09524f7
parentb75b78ce534fbf0d4de2f7f66af5b721d68b7471
lib/oe/manifest.py: add library for image manifest creation

This new library allows for the creation of 2 types of manifests:
 * initial manifest - used by the new rootfs creation routines to
   generate the rootfs;
 * final_manifest - this will contain all the packages in the image,
   after all installations finished;

Usage:
  Manifest(d, manifest_dir).create_initial()
  Manifest(d, manifest_dir).create_final()
or using the provided wrapper function:
  create_manifest(d, False, manifest_dir) -> creates initial manifest
  create_manifest(d, True, manifest_dir) -> creates final manifest

If manifest_dir argument is ommited, it defaults to ${WORKDIR}.

NOTE: this commit creates fixed manifests for minimal/sato/sato-sdk
images, for Rpm & Opkg backends, in order to help speed up
development of rootfs refactoring. Dpkg initial manifest creation is
implemented.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
meta/lib/oe/manifest.py [new file with mode: 0644]