[OE-core] [PATCH 1/3] pciutils: fix configure script for dash

Khem Raj raj.khem at gmail.com
Wed Feb 1 16:08:22 UTC 2012


On Tue, Jan 31, 2012 at 4:58 PM, Joshua Lock <josh at linux.intel.com> wrote:
> configure.patch was missing a closing quote in a sed expression which
> causes script execution to error on less forgiving shells such as dash.
>
> Signed-off-by: Joshua Lock <josh at linux.intel.com>

coincidently I have same patch locally and it works :)

> ---
>  .../pciutils/pciutils-3.1.9/configure.patch        |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/meta/recipes-bsp/pciutils/pciutils-3.1.9/configure.patch b/meta/recipes-bsp/pciutils/pciutils-3.1.9/configure.patch
> index 658e597..66c9f91 100644
> --- a/meta/recipes-bsp/pciutils/pciutils-3.1.9/configure.patch
> +++ b/meta/recipes-bsp/pciutils/pciutils-3.1.9/configure.patch
> @@ -67,7 +67,7 @@ diff -r af2b10cc3c14 lib/configure
>                cpu=`/usr/sbin/lsattr -F value -l $proc -a type | sed 's/_.*//'`
>        else
>  -              cpu=`uname -m | sed 's/^i.86$/i386/;s/^sun4u$/sparc64/;s/^i86pc$/i386/;s/^BePC$/i386/;s/^BeMac$/powerpc/;s/^BeBox$/powerpc/'`
> -+              cpu=${4:-`uname -m | sed 's/^i.86$/i386/;s/^sun4u$/sparc64/;s/^i86pc$/i386/;s/^BePC$/i386/;s/^BeMac$/powerpc/;s/^BeBox$/powerpc/`}
> ++              cpu=${4:-`uname -m | sed 's/^i.86$/i386/;s/^sun4u$/sparc64/;s/^i86pc$/i386/;s/^BePC$/i386/;s/^BeMac$/powerpc/;s/^BeBox$/powerpc/'`}
>        fi
>        if [ "$sys" = "GNU/kFreeBSD" -o "$sys" = "DragonFly" ]
>        then
> --
> 1.7.7.6
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core




More information about the Openembedded-core mailing list