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

Frans Meulenbroeks fransmeulenbroeks at gmail.com
Wed Jan 5 22:16:03 UTC 2011


2011/1/5 Martin Jansa <martin.jansa at gmail.com>:
> Signed-off-by: Martin Jansa <Martin.Jansa 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}/
>  }
> --

Acked-by: Frans Meulenbroeks <fransmeulenbroeks at gmail.com>

who wished people removing do-stage would actually verify their work
(like they expect others to do).




More information about the Openembedded-devel mailing list