Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] point prelink.conf to ${IMAGE_ROOTFS}
@ 2012-07-17 22:16 Nathan West
  2012-07-18  0:48 ` Saul Wold
  0 siblings, 1 reply; 3+ messages in thread
From: Nathan West @ 2012-07-17 22:16 UTC (permalink / raw)
  To: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 1073 bytes --]

Hopefully I do this right. First time patching (ever! this is exciting :-) )

The --root option doesn't work and isn't documented anywhere I could find,
and without the ${IMAGE_ROOTFS} before the config file it was point to my
native /etc/prelink.conf (which doesn't exist and probably would be useful
if it did)

Be gentle if I screwed up!
-Nathan



---
 meta/classes/image-prelink.bbclass |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/image-prelink.bbclass
b/meta/classes/image-prelink.bbclass
index 53ef47e..2d62f03 100644
--- a/meta/classes/image-prelink.bbclass
+++ b/meta/classes/image-prelink.bbclass
@@ -21,7 +21,7 @@ prelink_image () {
  fi

  # prelink!
- ${STAGING_DIR_NATIVE}${sbindir_native}/prelink --root ${IMAGE_ROOTFS}
-amR -N -c ${sysconfdir}/prelink.conf
+ ${STAGING_DIR_NATIVE}${sbindir_native}/prelink ${IMAGE_ROOTFS} -amR -N -c
${IMAGE_ROOTFS}${sysconfdir}/prelink.conf

  # Remove the prelink.conf if we had to add it.
  if [ "$dummy_prelink_conf" = "true" ]; then
-- 
1.7.9.5

[-- Attachment #2: Type: text/html, Size: 4108 bytes --]

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-07-18 13:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-17 22:16 [PATCH] point prelink.conf to ${IMAGE_ROOTFS} Nathan West
2012-07-18  0:48 ` Saul Wold
     [not found]   ` <CACFtY+KW+VfCKmaWTkO5vjw3k7fmR2Awfb31YUZc2cAhXCEi0A@mail.gmail.com>
2012-07-18 13:26     ` Nathan West

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox