diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2012-06-21 10:30:00 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-06-21 13:03:03 +0100 |
commit | 9b8daa906f860846fb6e87cdb5a7a9aa009bd4d6 (patch) | |
tree | 400368d8d00e408c55c599131793397b868faf01 /meta/recipes-kernel/perf | |
parent | 97dd7e14c6cf42d61a4e592d2b2316418a53a3c8 (diff) | |
download | poky-9b8daa906f860846fb6e87cdb5a7a9aa009bd4d6.tar.gz |
package_rpm.bbclass: fix incremental rpm generation
Fixes:
* Remove the "echo '# Remove manifest padding....' > remove.manifest,
The remove.manifest would be used via "rpm -e `remove.manifest`",
there would be error since there is no pkg called: Remove, manifest or
padding
* The incremental.manifest can't be null when used by rpm, so check it
before use.
* The rpm needs:
--root "${target_rootfs}/install"
when use:
-D "_dbpath ${target_rootfs}/install"
Otherwise it would use the ${target_rootfs} as the root, and use the
${target_rootfs}/var/lib/rpm as the dbpath, this is OK in a fresh
installation, but there would be errors when increment rpm generation.
[YOCTO #2617]
(From OE-Core rev: 7d702c637b84c028c9763246b3ac355d10083ea3)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/perf')
0 files changed, 0 insertions, 0 deletions