* [PATCH] uninative: remove unneeded call to sparse copy
@ 2017-03-10 15:15 Stephano Cetola
0 siblings, 0 replies; only message in thread
From: Stephano Cetola @ 2017-03-10 15:15 UTC (permalink / raw)
To: openembedded-core
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@linux.intel.com>
---
meta/classes/uninative.bbclass | 3 ---
1 file changed, 3 deletions(-)
diff --git a/meta/classes/uninative.bbclass b/meta/classes/uninative.bbclass
index 0d1063a13c..ee4ab20c17 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)
}
--
2.12.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2017-03-10 15:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-10 15:15 [PATCH] uninative: remove unneeded call to sparse copy Stephano Cetola
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.