Red Hat Bugzilla – Bug 195240
splitttree.py size calc fails for symlink'd files
Last modified: 2007-11-30 17:11:35 EST
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.
Created attachment 130865 [details]
Patch to fix symlink file size issue
... splittree also needs to be integrated with createrepo/pkgorder changes.
Applied in rawhide so I don't loose in integration work
*** Bug 197973 has been marked as a duplicate of this bug. ***