Skip to content

Preserve hard links

Mark Hatle poky 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2package.bbclass: Preserve hard links!meta/classes/package.bbclass+17 -10 replies
2/2Misc hard link fixesmeta/classes/libc-package.bbclass meta/classes/populate_sdk_deb.bbclass meta/classes/sourcepkg.bbclass +1 more+9 -90 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/2] Preserve hard links

While working on another part of the system, I noticed that Poky didn't appear to be preserving any hard links in the system. This change not only preserves hardlinks during packaging, but also shrinks the overall disk space required for a build. In my poky-image-minimal my required footprint shank by 200+ MB.

The second part of this patch I took a guess as to the right components to modify. It has passed the testing I've performed so far, but I'm not 100% sure that it's correct. I believe a bit of additional review may be necessary.

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

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

Mark Hatle (2):
package.bbclass: Preserve hard links!
Misc hard link fixes

 meta/classes/libc-package.bbclass     |   12 ++++++------
 meta/classes/package.bbclass          |   18 +++++++++++++++++-
 meta/classes/populate_sdk_deb.bbclass |    2 +-
 meta/classes/sourcepkg.bbclass        |    2 +-
 meta/classes/staging.bbclass          |    2 +-
 5 files changed, 26 insertions(+), 10 deletions(-)
Signature · 1 line
1.7.3.4