Bug 195240

Summary: splitttree.py size calc fails for symlink'd files
Product: [Fedora] Fedora Reporter: Bob Arendt <rda>
Component: anacondaAssignee: Paul Nasrat <nobody+pnasrat>
Status: CLOSED RAWHIDE QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: 5CC: eric.moret
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-06-26 19:13:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch to fix symlink file size issue none

Description Bob Arendt 2006-06-14 15:48:39 UTC
Description of problem:

I'm using anaconda-runtime-11.0.5-1 to respin fedora w/ updates.
It's much faster and disk-efficient to create the new Fedora/RPMS/
directory using symlinks to the original and update cache areas.

The existing version of splittree.py uses the link size instead of
the actual filesize.

Using "du -sL" instead of "du -s" corrects this.  I've attached a patch
that implements this.  du is from coreutils-5.96-1.2.

BTW: bugzilla doesn't have a "anaconda-runtime" category, so I'm
posting this against anaconda.

Comment 1 Bob Arendt 2006-06-14 15:48:40 UTC
Created attachment 130865 [details]
Patch to fix symlink file size issue

Comment 2 Jeremy Katz 2006-06-20 00:33:03 UTC
... splittree also needs to be integrated with createrepo/pkgorder changes.

Comment 3 Paul Nasrat 2006-06-26 19:13:54 UTC
Applied in rawhide so I don't loose in integration work

Comment 4 Jeremy Katz 2006-07-11 00:38:38 UTC
*** Bug 197973 has been marked as a duplicate of this bug. ***