[oe] [PATCH 2/3] mtools: don't install-info; fixes build on non-Debian hosts
Holger Hans Peter Freyther
holger+oe at freyther.de
Mon Aug 17 14:11:08 UTC 2009
On Monday 17 August 2009 15:29:02 Michael Smith wrote:
> The install-info installed into staging by dpkg-native looks for
> /var/backups/infodir.bak and /usr/share/base-files/info.dir on
> the build system. On Debian/Ubuntu this is benign, but on other
> distros these files don't exist and the install fails.
>
> The info file is still installed, we just don't try to rebuild the
> nonexistent directory.
>
> There are cleaner ways to solve this in the long run:
>
> http://dev.openbossa.org/trac/mamona/ticket/139
>
> Signed-off-by: Michael Smith <msmith at cbnco.com>
Signed-off-by: Holger Freyther <zecke at selfish.org>
again, no need to bump the PR.
> ---
> recipes/mtools/mtools_4.0.10.bb | 5 ++++-
> 1 files changed, 4 insertions(+), 1 deletions(-)
>
> diff --git a/recipes/mtools/mtools_4.0.10.bb
> b/recipes/mtools/mtools_4.0.10.bb index b53306a..18fbb7d 100644
> --- a/recipes/mtools/mtools_4.0.10.bb
> +++ b/recipes/mtools/mtools_4.0.10.bb
> @@ -13,12 +13,15 @@
> SRC_URI="http://ftp.gnu.org/gnu/mtools/mtools-${PV}.tar.bz2 \
> file://plainio.patch;patch=1 \
> file://use-sg_io.patch;patch=1"
>
> -S = "${WORKDIR}/mtools-${PV}"
> +PR = "r1"
>
> inherit autotools
>
> EXTRA_OECONF = "--without-x"
>
> +# Don't try to run install-info -- it'll fail on non-Debian build systems.
> +EXTRA_OEMAKE = "INSTALL_INFO="
> +
> do_fix_perms() {
> chmod 644 ${S}/*.c ${S}/*.h
> }
More information about the Openembedded-devel
mailing list