summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe/utils.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-02-03 16:48:56 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-02-05 12:26:36 +0000
commita242274d98e6f0f8d2aa21f778df690de7b42144 (patch)
treeff784d0fb2d5ca91387da92db7379cf18ab54707 /meta/lib/oe/utils.py
parentc98fc3933142783db2ed735d971a8c5b8408344c (diff)
downloadpoky-a242274d98e6f0f8d2aa21f778df690de7b42144.tar.gz
prelink: Drop support for it
Prelink is being dropped by glibc in 2.36. It already causes issues with binary corruption, has a number of open bugs and is of questionable benefit without disabling load address randomization and PIE executables. We disabled it by default a while back but left people able to use it. We would be unable to maintain it alone without glibc support so remove the remaining pieces. (From OE-Core rev: 23c0be78106f1d1e2bb9c724174a1bb8c56c2469) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oe/utils.py')
-rw-r--r--meta/lib/oe/utils.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/meta/lib/oe/utils.py b/meta/lib/oe/utils.py
index 136650e6f7..84790b7dff 100644
--- a/meta/lib/oe/utils.py
+++ b/meta/lib/oe/utils.py
@@ -537,17 +537,6 @@ class ThreadedPool:
537 for worker in self.workers: 537 for worker in self.workers:
538 worker.join() 538 worker.join()
539 539
540def write_ld_so_conf(d):
541 # Some utils like prelink may not have the correct target library paths
542 # so write an ld.so.conf to help them
543 ldsoconf = d.expand("${STAGING_DIR_TARGET}${sysconfdir}/ld.so.conf")
544 if os.path.exists(ldsoconf):
545 bb.utils.remove(ldsoconf)
546 bb.utils.mkdirhier(os.path.dirname(ldsoconf))
547 with open(ldsoconf, "w") as f:
548 f.write(d.getVar("base_libdir") + '\n')
549 f.write(d.getVar("libdir") + '\n')
550
551class ImageQAFailed(Exception): 540class ImageQAFailed(Exception):
552 def __init__(self, description, name=None, logfile=None): 541 def __init__(self, description, name=None, logfile=None):
553 self.description = description 542 self.description = description