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 12:43:05 +0100 |
commit | 7d702c637b84c028c9763246b3ac355d10083ea3 (patch) | |
tree | ee3d9beaf177cbe77547b3bcccbd16924b3d21e1 /LICENSE | |
parent | f7caea892cf66236bae854dcbaffec9d4a2d09a2 (diff) | |
download | openembedded-core-7d702c637b84c028c9763246b3ac355d10083ea3.tar.gz openembedded-core-7d702c637b84c028c9763246b3ac355d10083ea3.tar.bz2 openembedded-core-7d702c637b84c028c9763246b3ac355d10083ea3.zip |
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]
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions