Skip to content

Fix the emenlow build failures and add optimizations

Mark Hatle poky 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4rpm: Add the ability to use the platform file during installmeta/classes/package_rpm.bbclass meta/recipes-devtools/rpm/rpm/rpm-platform.patch meta/recipes-devtools/rpm/rpm/rpm-showrc.patch +1 more+170 -80 replies
2/4rpm: Avoid fsync when writing filesmeta/recipes-devtools/rpm/rpm/rpm-nofsync.patch meta/recipes-devtools/rpm/rpm_5.4.0.bb+35 -00 replies
3/4image.bbclass: Disable shell debug messagesmeta/classes/image.bbclass+1 -10 replies
4/4package_rpm: Fix solverdb generationmeta/classes/package_rpm.bbclass meta/classes/populate_sdk_rpm.bbclass meta/classes/rootfs_rpm.bbclass+28 -200 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/4] Fix the emenlow build failures and add optimizations

We patch 1/4 fixes the emenlow build failure without adding any system optimizations.

This rootfs generation takes approx 11m42 on my machine.

Patch 2/4 adds a backport of head of tree RPM "nofsync" change. This drops the overall rootfs generation time to approx 6m38.

Patch 3/4 disables default shell debug logging during image creation.

Patch 4/4 fixes a problem where the solverdb's could be generated multiple times. We now only generate the solvedb ONCE. This drops the overall rootfs generation time to 6m16.

Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: mhatle/emenlow-fix
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=mhatle/emenlow-fix

Thanks,
Mark Hatle <[email protected]>
---

Mark Hatle (4):
rpm: Add the ability to use the platform file during install
rpm: Avoid fsync when writing files
image.bbclass: Disable shell debug messages
package_rpm: Fix solverdb generation

 meta/classes/image.bbclass                       |    2 +-
 meta/classes/package_rpm.bbclass                 |   47 +++++---
 meta/classes/populate_sdk_rpm.bbclass            |    7 +-
 meta/classes/rootfs_rpm.bbclass                  |    9 +-
 meta/recipes-devtools/rpm/rpm/rpm-nofsync.patch  |   34 ++++++
 meta/recipes-devtools/rpm/rpm/rpm-platform.patch |  132 ++++++++++++++++++++++
 meta/recipes-devtools/rpm/rpm/rpm-showrc.patch   |   23 ++++
 meta/recipes-devtools/rpm/rpm_5.4.0.bb           |    9 +-
 8 files changed, 234 insertions(+), 29 deletions(-)
 create mode 100644 meta/recipes-devtools/rpm/rpm/rpm-nofsync.patch
 create mode 100644 meta/recipes-devtools/rpm/rpm/rpm-platform.patch
 create mode 100644 meta/recipes-devtools/rpm/rpm/rpm-showrc.patch
Signature · 1 line
1.7.3.4