Skip to content

Integrate Smart for RPM image generation

Mark Hatle openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6rootfs_rpm.bbclass: Revert to default shell logging behaviormeta/classes/rootfs_rpm.bbclass+0 -20 replies
2/6classes/*_rpm: integrate Smart into RPM filesystem constructionmeta/classes/package_rpm.bbclass meta/classes/populate_sdk_rpm.bbclass meta/classes/rootfs_rpm.bbclass+117 -4953 replies
3/6classes/rootfs_rpm: install smart instead of zypper in rpm-based imagesmeta/classes/rootfs_rpm.bbclass+3 -30 replies
4/6package_rpm: Update the way the multilib package names are translatedmeta/classes/package_rpm.bbclass meta/classes/populate_sdk_rpm.bbclass meta/classes/rootfs_rpm.bbclass+195 -450 replies
5/6package_rpm.bbclass: Add additional loggingmeta/classes/package_rpm.bbclass+9 -00 replies
6/6package_rpm.bbclass: Add support for incremental installsmeta/classes/package_rpm.bbclass+47 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] Integrate Smart for RPM image generation

The following patch set relies on the previous "Misc fixes" sent out earlier today.

The set replaces the existing rootfs generation with one based on Smart. The work was tested using buildhistory over a wide range of image types:
core-image-minimal
core-image-base
core-image-basic
core-image-lsb
core-image-sato
build-appliance

Each of which contained minor changes from the former version, but the changes can all be explained by a different package resolver.

Multilib configurations of each of the above images were also verified on qemux86_64 configuration with a few lib32 items added to the mix. This was shown, by buildhistory, to result in a more compact install solution.

"populate_sdk" was also verified after this patch. Buildhistory does not verify SDKs, so these were verified by hand. The target items all appeared to match the expected image components.

The incremental RPM installation code was verified as well.. This code was verified in both multilib and non-multilib configurations.

Finally, each of these were verified on: qemux86_64, qemumips, qemuppc, qemuarm, and qemuarm configured w/ hardware float API. This verifies that both the ARM specific "gnueabi" issues and the _ to - in the arch names both work properly.

The following changes since commit 0c69e555dda2fa412ba12fa90886b0b92dc60e44:

license.bbclass: Avoid grep error message (2012-12-04 11:10:18 -0600)

are available in the git repository at:
git://git.yoctoproject.org/poky-contrib mhatle/smart
http://git.yoctoproject.org/cgit.cgi//log/?h=mhatle/smart

Mark Hatle (4):
rootfs_rpm.bbclass: Revert to default shell logging behavior
package_rpm: Update the way the multilib package names are translated package_rpm.bbclass: Add additional logging package_rpm.bbclass: Add support for incremental installs

Paul Eggleton (2):
classes/*_rpm: integrate Smart into RPM filesystem construction classes/rootfs_rpm: install smart instead of zypper in rpm-based
images

 meta/classes/package_rpm.bbclass      |  691 +++++++++++++--------------------
 meta/classes/populate_sdk_rpm.bbclass |   74 ++---
 meta/classes/rootfs_rpm.bbclass       |   86 ++---
 3 files changed, 338 insertions(+), 513 deletions(-)
Signature · 1 line
1.7.3.4