Skip to contentSkip to conversation

local.conf.sample: disable prelink

PATCH New Alexander Kanavin 1 participant 1 message Jun 19, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 local.conf.sample: disable prelink

Recent tests have not shown any improvement over not prelinking, and without a regression test it is very hard to say when and how this happened.[0]

There's also a concern that no one is maintaining the code, and there are open bugs (including serious ones such as [1]). Given that prelink does intricate address arithmetic and rewriting of binaries the best option is to disable the feature.

[0] https://lists.yoctoproject.org/g/poky/message/12467
[1] https://bugzilla.yoctoproject.org/show_bug.cgi?id=14429

---
 meta-poky/conf/local.conf.sample | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
meta-poky/conf/local.conf.sample +1 -2
index fb14379d28..1794126672 100644
@@ -148,8 +148,7 @@ EXTRA_IMAGE_FEATURES ?= "debug-tweaks"
 # enable extra features. Some available options which can be included in this variable
 # are:
 #   - 'buildstats' collect build statistics
-#   - 'image-prelink' in order to prelink the filesystem image
-USER_CLASSES ?= "buildstats image-prelink"
+USER_CLASSES ?= "buildstats"
 
 #
 # Runtime testing of images
Signature · 1 line
2.31.1