]> code.ossystems Code Review - openembedded-core.git/commit
creating the rpmrepo metadata
authorQing He <qing.he@intel.com>
Tue, 18 Jan 2011 10:00:29 +0000 (18:00 +0800)
committerSaul Wold <sgw@linux.intel.com>
Sun, 30 Jan 2011 20:09:52 +0000 (12:09 -0800)
commite67698743eb6fea77f03d712be5d838fbc887f16
treee53c9dfcc1b0703ec651e0bb6aa4986a594ef999
parentf6fc1f3475e389551af440608159baeea786ba6d
creating the rpmrepo metadata

This includes two method for build rpm repo:
  1. create the metadata in rootfs_rpm
  2. standalone binary for building the metadata

Not both of them are needed, generally #2 fits more for the purpose,
but #1 may have its use on rootfs creation using zypper.

Both share some problems and are subjected for future improvement:
  1. the createrepo now builds metadata for the whole directory,
     if there are more than one arch, it builds for all, which means
     rootfs_rpm may run longer if more builds have been run.
  2. createrepo builds metadata for stale rpms

Signed-off-by: Qing He <qing.he@intel.com>
meta/classes/rootfs_rpm.bbclass
scripts/poky-setup-rpmrepo [new file with mode: 0755]