~paul-eggleton/smart/yocto-smart-fixes

Viewing all changes in revision 1087.

  • Committer: Paul Eggleton
  • Date: 2013-02-12 11:28:11 UTC
  • Revision ID: paul.eggleton@linux.intel.com-20130212112811-vxmo0qt25n0b9bbu
Fix smart RPM backend to handle rpm-dbpath/rpm-root properly

Don't assume that if the dbpath starts with / that it is an absolute
path. This matches the behaviour of rpm itself. (If the root path is
specified and does not start with /, rpm will prepend the root path
twice and fail).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: