[poky] [PATCH 0/2] Preserve hard links

Mark Hatle mark.hatle at windriver.com
Tue Feb 8 21:51:44 PST 2011


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 <mark.hatle at windriver.com>
---


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(-)

-- 
1.7.3.4




More information about the poky mailing list