[oe-commits] [openembedded-core] 17/24: uninative: remove unneeded call to sparse copy

git at git.openembedded.org git at git.openembedded.org
Sat Mar 11 10:57:25 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit a56f1923f5d5b7deefea28f0bf5008382e1017da
Author: Stephano Cetola <stephano.cetola at linux.intel.com>
AuthorDate: Fri Mar 10 07:15:52 2017 -0800

    uninative: remove unneeded call to sparse copy
    
    As of this commit:
    
    39f5a05152aa0c3503735e18dd3b4c066b284107
    
    patchelf no longer inflates file sizes. Since the files are no longer
    inflated by patchelf, we can skip using cp with the --sparse option.
    More details as to how patchelf has changed are available in that
    commit log.
    
    Signed-off-by: Stephano Cetola <stephano.cetola at linux.intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/classes/uninative.bbclass | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/meta/classes/uninative.bbclass b/meta/classes/uninative.bbclass
index 0d1063a..ee4ab20 100644
--- a/meta/classes/uninative.bbclass
+++ b/meta/classes/uninative.bbclass
@@ -122,7 +122,4 @@ python uninative_changeinterp () {
                 continue
 
             subprocess.check_output(("patchelf-uninative", "--set-interpreter", d.getVar("UNINATIVE_LOADER"), f), stderr=subprocess.STDOUT)
-            subprocess.check_output(("cp", "--sparse=always", f, f + ".sparse"), stderr=subprocess.STDOUT)
-            os.unlink(f)
-            os.rename(f + ".sparse", f)
 }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list