[OE-core] [PATCH] image-prelink: remove hardcoded reference to /usr/sbin
Richard Purdie
richard.purdie at linuxfoundation.org
Tue May 17 12:02:50 UTC 2011
On Tue, 2011-05-17 at 12:51 +0100, Phil Blundell wrote:
> ---
> meta/classes/image-prelink.bbclass | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/meta/classes/image-prelink.bbclass b/meta/classes/image-prelink.bbclass
> index ee0951c..cefd983 100644
> --- a/meta/classes/image-prelink.bbclass
> +++ b/meta/classes/image-prelink.bbclass
> @@ -21,7 +21,7 @@ prelink_image () {
> fi
>
> # prelink!
> - ${STAGING_DIR_NATIVE}/usr/sbin/prelink --root ${IMAGE_ROOTFS} -amR
> + ${STAGING_DIR_NATIVE}${sbindir}/prelink --root ${IMAGE_ROOTFS} -amR
>
> # Remove the prelink.conf if we had to add it.
> if [ "$dummy_prelink_conf" == "true" ]; then
I suspect this should be ${sbindir_native} there?
Cheers,
Richard
More information about the Openembedded-core
mailing list