[oe] [PATCH 2/2] mysql5-native: put make install to do_install after autotools_stage_all was removed with do_stage in eaf0fc03acfb262bcd614a14086a1b28ec850f46

Khem Raj raj.khem at gmail.com
Sat Jan 8 23:15:10 UTC 2011


On 1/5/2011 7:33 AM, Martin Jansa wrote:
> Signed-off-by: Martin Jansa<Martin.Jansa at gmail.com>

Acked-by: Khem Raj <raj.khem at gmail.com>

> ---
>   recipes/mysql/mysql5-native_5.1.40.bb |    4 ++++
>   1 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/recipes/mysql/mysql5-native_5.1.40.bb b/recipes/mysql/mysql5-native_5.1.40.bb
> index 40d07ec..8001783 100644
> --- a/recipes/mysql/mysql5-native_5.1.40.bb
> +++ b/recipes/mysql/mysql5-native_5.1.40.bb
> @@ -12,6 +12,10 @@ EXTRA_OEMAKE = ""
>   EXTRA_OECONF = " --with-embedded-server "
>
>   do_install() {
> +        oe_runmake 'DESTDIR=${D}' install
> +        mv -f ${D}${libdir}/mysql/* ${D}${libdir}
> +        rmdir ${D}${libdir}/mysql
> +
>           install -d ${D}${bindir}
>           install -m 0755 sql/gen_lex_hash ${D}${bindir}/
>   }





More information about the Openembedded-devel mailing list